2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='package-unused'
558 PACKAGE_TARNAME
='libgo'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="Makefile.am"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
605 STRUCT_EPOLL_EVENT_FD_OFFSET
606 SIZEOF_STRUCT_EPOLL_EVENT
611 HAVE_STRERROR_R_FALSE
613 HAVE_SYS_MMAN_H_FALSE
619 USING_SPLIT_STACK_FALSE
620 USING_SPLIT_STACK_TRUE
623 GO_SYSCALL_OS_ARCH_FILE
625 GO_LIBCALL_OS_ARCH_FILE
628 LIBGO_IS_X86_64_FALSE
630 LIBGO_IS_SPARC64_FALSE
631 LIBGO_IS_SPARC64_TRUE
638 LIBGO_IS_MIPSO64_FALSE
639 LIBGO_IS_MIPSO64_TRUE
640 LIBGO_IS_MIPSN64_FALSE
641 LIBGO_IS_MIPSN64_TRUE
642 LIBGO_IS_MIPSN32_FALSE
643 LIBGO_IS_MIPSN32_TRUE
644 LIBGO_IS_MIPSO32_FALSE
645 LIBGO_IS_MIPSO32_TRUE
658 LIBGO_IS_SOLARIS_FALSE
659 LIBGO_IS_SOLARIS_TRUE
662 LIBGO_IS_OPENBSD_FALSE
663 LIBGO_IS_OPENBSD_TRUE
664 LIBGO_IS_NETBSD_FALSE
670 LIBGO_IS_FREEBSD_FALSE
671 LIBGO_IS_FREEBSD_TRUE
672 LIBGO_IS_DARWIN_FALSE
677 nover_glibgo_toolexeclibdir
678 glibgo_toolexeclibdir
706 MAINTAINER_MODE_FALSE
734 INSTALL_STRIP_PROGRAM
790 program_transform_name
803 enable_option_checking
805 enable_dependency_tracking
806 enable_maintainer_mode
814 enable_version_specific_runtime_libs
816 with_system_libunwind
817 enable_sjlj_exceptions
819 ac_precious_vars
='build_alias
826 # Initialize some variables set by options.
828 ac_init_version
=false
829 ac_unrecognized_opts
=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
840 program_transform_name
=s
,x
,x
,
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir
='${exec_prefix}/bin'
855 sbindir
='${exec_prefix}/sbin'
856 libexecdir
='${exec_prefix}/libexec'
857 datarootdir
='${prefix}/share'
858 datadir
='${datarootdir}'
859 sysconfdir
='${prefix}/etc'
860 sharedstatedir
='${prefix}/com'
861 localstatedir
='${prefix}/var'
862 includedir
='${prefix}/include'
863 oldincludedir
='/usr/include'
864 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
865 infodir
='${datarootdir}/info'
870 libdir
='${exec_prefix}/lib'
871 localedir
='${datarootdir}/locale'
872 mandir
='${datarootdir}/man'
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\
$ac_option
886 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 # Accept the important Cygnus configure options, so we can diagnose typos.
892 case $ac_dashdash$ac_option in
896 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
898 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
901 -build |
--build |
--buil |
--bui |
--bu)
902 ac_prev
=build_alias
;;
903 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
904 build_alias
=$ac_optarg ;;
906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
908 ac_prev
=cache_file
;;
909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
911 cache_file
=$ac_optarg ;;
914 cache_file
=config.cache
;;
916 -datadir |
--datadir |
--datadi |
--datad)
918 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
919 datadir
=$ac_optarg ;;
921 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
922 |
--dataroo |
--dataro |
--datar)
923 ac_prev
=datarootdir
;;
924 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
925 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
926 datarootdir
=$ac_optarg ;;
928 -disable-* |
--disable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=no
;;
944 -docdir |
--docdir |
--docdi |
--doc |
--do)
946 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
949 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
951 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
954 -enable-* |
--enable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=\
$ac_optarg ;;
970 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
971 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
972 |
--exec |
--exe |
--ex)
973 ac_prev
=exec_prefix
;;
974 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
975 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
976 |
--exec=* |
--exe=* |
--ex=*)
977 exec_prefix
=$ac_optarg ;;
979 -gas |
--gas |
--ga |
--g)
980 # Obsolete; use --with-gas.
983 -help |
--help |
--hel |
--he |
-h)
985 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
986 ac_init_help
=recursive
;;
987 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
988 ac_init_help
=short
;;
990 -host |
--host |
--hos |
--ho)
991 ac_prev
=host_alias
;;
992 -host=* |
--host=* |
--hos=* |
--ho=*)
993 host_alias
=$ac_optarg ;;
995 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
997 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
999 htmldir
=$ac_optarg ;;
1001 -includedir |
--includedir |
--includedi |
--included |
--include \
1002 |
--includ |
--inclu |
--incl |
--inc)
1003 ac_prev
=includedir
;;
1004 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1005 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1006 includedir
=$ac_optarg ;;
1008 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1010 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1011 infodir
=$ac_optarg ;;
1013 -libdir |
--libdir |
--libdi |
--libd)
1015 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1016 libdir
=$ac_optarg ;;
1018 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1019 |
--libexe |
--libex |
--libe)
1020 ac_prev
=libexecdir
;;
1021 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1022 |
--libexe=* |
--libex=* |
--libe=*)
1023 libexecdir
=$ac_optarg ;;
1025 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1026 ac_prev
=localedir
;;
1027 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1028 localedir
=$ac_optarg ;;
1030 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1031 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1032 ac_prev
=localstatedir
;;
1033 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1034 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1035 localstatedir
=$ac_optarg ;;
1037 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1039 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1040 mandir
=$ac_optarg ;;
1042 -nfp |
--nfp |
--nf)
1043 # Obsolete; use --without-fp.
1046 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1047 |
--no-cr |
--no-c |
-n)
1050 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1051 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1054 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1055 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1056 |
--oldin |
--oldi |
--old |
--ol |
--o)
1057 ac_prev
=oldincludedir
;;
1058 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1059 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1060 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1061 oldincludedir
=$ac_optarg ;;
1063 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1065 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1066 prefix
=$ac_optarg ;;
1068 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1069 |
--program-pre |
--program-pr |
--program-p)
1070 ac_prev
=program_prefix
;;
1071 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1072 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1073 program_prefix
=$ac_optarg ;;
1075 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1076 |
--program-suf |
--program-su |
--program-s)
1077 ac_prev
=program_suffix
;;
1078 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1079 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1080 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1090 -program-transform-name=* |
--program-transform-name=* \
1091 |
--program-transform-nam=* |
--program-transform-na=* \
1092 |
--program-transform-n=* |
--program-transform-=* \
1093 |
--program-transform=* |
--program-transfor=* \
1094 |
--program-transfo=* |
--program-transf=* \
1095 |
--program-trans=* |
--program-tran=* \
1096 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1097 program_transform_name
=$ac_optarg ;;
1099 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1101 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1102 pdfdir
=$ac_optarg ;;
1104 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1106 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1110 |
-silent |
--silent |
--silen |
--sile |
--sil)
1113 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1115 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1117 sbindir
=$ac_optarg ;;
1119 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1120 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1121 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1123 ac_prev
=sharedstatedir
;;
1124 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1125 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1126 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1128 sharedstatedir
=$ac_optarg ;;
1130 -site |
--site |
--sit)
1132 -site=* |
--site=* |
--sit=*)
1135 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1137 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1138 srcdir
=$ac_optarg ;;
1140 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1141 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1142 ac_prev
=sysconfdir
;;
1143 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1144 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1145 sysconfdir
=$ac_optarg ;;
1147 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1148 ac_prev
=target_alias
;;
1149 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1150 target_alias
=$ac_optarg ;;
1152 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1155 -version |
--version |
--versio |
--versi |
--vers |
-V)
1156 ac_init_version
=: ;;
1159 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) as_fn_error
"unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information."
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 case $ac_envvar in #(
1216 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1217 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 as_fn_error
"missing argument to $ac_option"
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246 # Check all directory arguments for consistency.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1253 # Remove trailing slashes.
1256 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257 eval $ac_var=\
$ac_val;;
1259 # Be sure to have absolute directory names.
1261 [\\/$
]* | ?
:[\\/]* ) continue;;
1262 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1264 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1279 If a cross compiler is detected then cross compile mode will be used." >&2
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 as_fn_error
"working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 as_fn_error
"pwd does not report name of working directory"
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301 ac_srcdir_defaulted
=yes
1302 # Try the directory containing this script, then the parent directory.
1303 ac_confdir
=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305 X"$as_myself" : 'X\(//\)[^/]' \| \
1306 X"$as_myself" : 'X\(//\)$' \| \
1307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1331 ac_srcdir_defaulted
=no
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1335 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1337 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1349 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351 for ac_var
in $ac_precious_vars; do
1352 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1353 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1354 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1355 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1359 # Report the --help message.
1361 if test "$ac_init_help" = "long"; then
1362 # Omit some internal or obsolete options to make the list less imposing.
1363 # This message is too long to be a string in the A/UX 3.1 sh.
1365 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1367 Usage: $0 [OPTION]... [VAR=VALUE]...
1369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1370 VAR=VALUE. See below for descriptions of some of the useful variables.
1372 Defaults for the options are specified in brackets.
1375 -h, --help display this help and exit
1376 --help=short display options specific to this package
1377 --help=recursive display the short help of all the included packages
1378 -V, --version display version information and exit
1379 -q, --quiet, --silent do not print \`checking...' messages
1380 --cache-file=FILE cache test results in FILE [disabled]
1381 -C, --config-cache alias for \`--cache-file=config.cache'
1382 -n, --no-create do not create output files
1383 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1385 Installation directories:
1386 --prefix=PREFIX install architecture-independent files in PREFIX
1387 [$ac_default_prefix]
1388 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1391 By default, \`make install' will install all the files in
1392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1394 for instance \`--prefix=\$HOME'.
1396 For better control, use the options below.
1398 Fine tuning of the installation directories:
1399 --bindir=DIR user executables [EPREFIX/bin]
1400 --sbindir=DIR system admin executables [EPREFIX/sbin]
1401 --libexecdir=DIR program executables [EPREFIX/libexec]
1402 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1403 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1404 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1405 --libdir=DIR object code libraries [EPREFIX/lib]
1406 --includedir=DIR C header files [PREFIX/include]
1407 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1408 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1409 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1410 --infodir=DIR info documentation [DATAROOTDIR/info]
1411 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1412 --mandir=DIR man documentation [DATAROOTDIR/man]
1413 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1414 --htmldir=DIR html documentation [DOCDIR]
1415 --dvidir=DIR dvi documentation [DOCDIR]
1416 --pdfdir=DIR pdf documentation [DOCDIR]
1417 --psdir=DIR ps documentation [DOCDIR]
1423 --program-prefix=PREFIX prepend PREFIX to installed program names
1424 --program-suffix=SUFFIX append SUFFIX to installed program names
1425 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1428 --build=BUILD configure
for building on BUILD
[guessed
]
1429 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1430 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1434 if test -n "$ac_init_help"; then
1435 case $ac_init_help in
1436 short | recursive
) echo "Configuration of package-unused version-unused:";;
1441 --disable-option-checking ignore unrecognized
--enable/--with options
1442 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1443 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1444 --enable-multilib build many library versions
(default
)
1445 --disable-dependency-tracking speeds up one-time build
1446 --enable-dependency-tracking do not reject slow dependency extractors
1447 --enable-maintainer-mode enable make rules and dependencies not useful
1448 (and sometimes confusing
) to the casual installer
1449 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1450 --enable-static[=PKGS
] build static libraries
[default
=yes]
1451 --enable-fast-install[=PKGS
]
1452 optimize
for fast installation
[default
=yes]
1453 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1454 --enable-werror turns on
-Werror [default
=yes]
1455 --enable-version-specific-runtime-libs
1456 Specify that runtime libraries should be installed
1457 in a compiler-specific directory
1458 --enable-sjlj-exceptions
1459 force use of builtin_setjmp
for exceptions
1462 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1463 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1464 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1465 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1467 --without-libffi don
't use libffi
1468 --with-system-libunwind use installed libunwind
1470 Some influential environment variables:
1471 CC C compiler command
1472 CFLAGS C compiler flags
1473 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1474 nonstandard directory <lib dir>
1475 LIBS libraries to pass to the linker, e.g. -l<library>
1476 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1477 you have headers in a nonstandard directory <include dir>
1478 GOC Go compiler command
1479 GOCFLAGS Go compiler flags
1482 Use these variables to override the choices made by `configure' or to
help
1483 it to
find libraries and programs with nonstandard names
/locations.
1485 Report bugs to the package provider.
1490 if test "$ac_init_help" = "recursive"; then
1491 # If there are subdirs, report their specific --help.
1492 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1493 test -d "$ac_dir" ||
1494 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1499 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1501 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1502 # A ".." for each directory in $ac_dir_suffix.
1503 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1504 case $ac_top_builddir_sub in
1505 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1506 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1509 ac_abs_top_builddir
=$ac_pwd
1510 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1511 # for backward compatibility:
1512 ac_top_builddir
=$ac_top_build_prefix
1515 .
) # We are building in place.
1517 ac_top_srcdir
=$ac_top_builddir_sub
1518 ac_abs_top_srcdir
=$ac_pwd ;;
1519 [\\/]* | ?
:[\\/]* ) # Absolute name.
1520 ac_srcdir
=$srcdir$ac_dir_suffix;
1521 ac_top_srcdir
=$srcdir
1522 ac_abs_top_srcdir
=$srcdir ;;
1524 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1525 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1526 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1528 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1530 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1531 # Check for guested configure.
1532 if test -f "$ac_srcdir/configure.gnu"; then
1534 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1535 elif test -f "$ac_srcdir/configure"; then
1537 $SHELL "$ac_srcdir/configure" --help=recursive
1539 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1541 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1545 test -n "$ac_init_help" && exit $ac_status
1546 if $ac_init_version; then
1548 package-unused configure version-unused
1549 generated by GNU Autoconf
2.64
1551 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1552 This configure
script is free software
; the Free Software Foundation
1553 gives unlimited permission to copy
, distribute and modify it.
1558 ## ------------------------ ##
1559 ## Autoconf initialization. ##
1560 ## ------------------------ ##
1562 # ac_fn_c_try_compile LINENO
1563 # --------------------------
1564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1565 ac_fn_c_try_compile
()
1567 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1568 rm -f conftest.
$ac_objext
1569 if { { ac_try
="$ac_compile"
1571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1572 *) ac_try_echo=$ac_try;;
1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_compile") 2>conftest.err
1578 if test -s conftest.err; then
1579 grep -v '^ *+' conftest.err >conftest.er1
1580 cat conftest.er1 >&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && {
1585 test -z "$ac_c_werror_flag" ||
1586 test ! -s conftest.err
1587 } && test -s conftest.$ac_objext; then :
1590 $as_echo "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.$ac_ext >&5
1595 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598 } # ac_fn_c_try_compile
1600 # ac_fn_c_try_link LINENO
1601 # -----------------------
1602 # Try to link conftest.$ac_ext, and return whether this succeeded.
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 rm -f conftest.$ac_objext conftest$ac_exeext
1607 if { { ac_try="$ac_link"
1609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1610 *) ac_try_echo
=$ac_try;;
1612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_link") 2>conftest.err
1616 if test -s conftest.err
; then
1617 grep -v '^ *+' conftest.err
>conftest.er1
1618 cat conftest.er1
>&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && {
1623 test -z "$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1625 } && test -s conftest
$ac_exeext && {
1626 test "$cross_compiling" = yes ||
1627 $as_test_x conftest
$ac_exeext
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.
$ac_ext >&5
1636 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1637 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1638 # interfere with the next link command; also delete a directory that is
1639 # left behind by Apple's compiler. We do this before executing the actions.
1640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1644 } # ac_fn_c_try_link
1646 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1647 # -------------------------------------------------------
1648 # Tests whether HEADER exists and can be compiled using the include files in
1649 # INCLUDES, setting the cache variable VAR accordingly.
1650 ac_fn_c_check_header_compile
()
1652 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1654 $as_echo_n "checking for $2... " >&6; }
1655 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1656 $as_echo_n "(cached) " >&6
1658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1659 /* end confdefs.h. */
1663 if ac_fn_c_try_compile
"$LINENO"; then :
1668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1675 } # ac_fn_c_check_header_compile
1677 # ac_fn_c_try_cpp LINENO
1678 # ----------------------
1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1683 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1692 if test -s conftest.err; then
1693 grep -v '^ *+' conftest.err >conftest.er1
1694 cat conftest.er1 >&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } >/dev/null && {
1699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1714 # ac_fn_c_try_run LINENO
1715 # ----------------------
1716 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1717 # that executables *can* be run.
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 if { { ac_try="$ac_link"
1723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1724 *) ac_try_echo
=$ac_try;;
1726 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_link") 2>&5
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1732 { { case "(($ac_try" in
1733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_try") 2>&5
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; }; }; then :
1744 $as_echo "$as_me: program exited with status $ac_status" >&5
1745 $as_echo "$as_me: failed program was:" >&5
1746 sed 's/^/| /' conftest.$ac_ext >&5
1748 ac_retval=$ac_status
1750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 # ac_fn_c_check_func LINENO FUNC VAR
1757 # ----------------------------------
1758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1759 ac_fn_c_check_func ()
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; }
1764 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1765 $as_echo_n "(cached) " >&6
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1769 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1771 #define $2 innocuous_$2
1773 /* System header to define __stub macros and hopefully few prototypes,
1774 which can conflict with char $2 (); below.
1775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1776 <limits.h> exists even on freestanding compilers. */
1779 # include <limits.h>
1781 # include <assert.h>
1786 /* Override any GCC internal prototype to avoid an error.
1787 Use char because int might match the return type of a GCC
1788 builtin and then its argument prototype would still apply. */
1793 /* The GNU C library defines this for functions which it implements
1794 to always fail with ENOSYS. Some functions are actually named
1795 something starting with __ and the normal name is an alias. */
1796 #if defined __stub_$2 || defined __stub___$2
1808 if ac_fn_c_try_link "$LINENO"; then :
1813 rm -f core conftest.err conftest.$ac_objext \
1814 conftest$ac_exeext conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 } # ac_fn_c_check_func
1823 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1824 # -------------------------------------------------------
1825 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1826 # the include files in INCLUDES and setting the cache variable VAR
1828 ac_fn_c_check_header_mongrel ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1835 $as_echo_n "(cached) " >&6
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1841 # Is the header compilable?
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1843 $as_echo_n "checking $2 usability... " >&6; }
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 ac_header_compiler=yes
1852 ac_header_compiler=no
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1856 $as_echo "$ac_header_compiler" >&6; }
1858 # Is the header present?
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1860 $as_echo_n "checking $2 presence... " >&6; }
1861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1862 /* end confdefs.h. */
1865 if ac_fn_c_try_cpp "$LINENO"; then :
1866 ac_header_preproc=yes
1868 ac_header_preproc=no
1870 rm -f conftest.err conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1872 $as_echo "$ac_header_preproc" >&6; }
1874 # So? What about this header?
1875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1878 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1880 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1884 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1886 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1888 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1890 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1892 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898 $as_echo_n "(cached) " >&6
1900 eval "$3=\$ac_header_compiler"
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1908 } # ac_fn_c_check_header_mongrel
1910 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1911 # -------------------------------------------
1912 # Tests whether TYPE exists after having included INCLUDES, setting cache
1913 # variable VAR accordingly.
1914 ac_fn_c_check_type ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1920 $as_echo_n "(cached) " >&6
1923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924 /* end confdefs.h. */
1935 if ac_fn_c_try_compile "$LINENO"; then :
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1948 if ac_fn_c_try_compile "$LINENO"; then :
1953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1962 } # ac_fn_c_check_type
1964 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1965 # --------------------------------------------
1966 # Tries to find the compile-time value of EXPR in a program that includes
1967 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1969 ac_fn_c_compute_int ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 if test "$cross_compiling" = yes; then
1973 # Depending upon the size, compute the lo and hi bounds.
1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h. */
1980 static int test_array [1 - 2 * !(($2) >= 0)];
1987 if ac_fn_c_try_compile "$LINENO"; then :
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1996 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2003 if ac_fn_c_try_compile "$LINENO"; then :
2004 ac_hi=$ac_mid; break
2006 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2007 if test $ac_lo -le $ac_mid; then
2011 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2022 static int test_array [1 - 2 * !(($2) < 0)];
2029 if ac_fn_c_try_compile "$LINENO"; then :
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2038 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2045 if ac_fn_c_try_compile "$LINENO"; then :
2046 ac_lo=$ac_mid; break
2048 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2049 if test $ac_mid -le $ac_hi; then
2053 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063 # Binary search between lo and hi bounds.
2064 while test "x$ac_lo" != "x$ac_hi"; do
2065 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2072 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2079 if ac_fn_c_try_compile "$LINENO"; then :
2082 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2087 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h. */
2094 static long int longval () { return $2; }
2095 static unsigned long int ulongval () { return $2; }
2102 FILE *f = fopen ("conftest.val", "w");
2107 long int i = longval ();
2110 fprintf (f, "%ld", i);
2114 unsigned long int i = ulongval ();
2117 fprintf (f, "%lu", i);
2119 /* Do not output a trailing newline, as this causes \r\n confusion
2120 on some platforms. */
2121 return ferror (f) || fclose (f) != 0;
2127 if ac_fn_c_try_run "$LINENO"; then :
2128 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2133 conftest.$ac_objext conftest.beam conftest.$ac_ext
2137 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2140 } # ac_fn_c_compute_int
2141 cat >config.log <<_ACEOF
2142 This file contains any messages produced by compilers while
2143 running configure, to aid debugging if configure makes a mistake.
2145 It was created by package-unused $as_me version-unused, which was
2146 generated by GNU Autoconf 2.64. Invocation command line was
2158 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2159 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2160 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2161 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2162 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2164 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2165 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2167 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2168 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2169 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2170 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2171 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2172 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2173 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 $as_echo "PATH: $as_dir"
2198 # Keep a trace of the command line.
2199 # Strip out --no-create and --no-recursion so they do not pile up.
2200 # Strip out --silent because we don't want to record it for future runs.
2201 # Also quote any args containing shell meta-characters.
2202 # Make two passes to allow for proper duplicate-argument suppression.
2206 ac_must_keep_next=false
2212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2214 | -silent | --silent | --silen | --sile | --sil)
2217 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2222 as_fn_append ac_configure_args1 " '$ac_arg'"
2223 if test $ac_must_keep_next = true; then
2224 ac_must_keep_next=false # Got value, back to normal.
2227 *=* | --config-cache | -C | -disable-* | --disable-* \
2228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2230 | -with-* | --with-* | -without-* | --without-* | --x)
2231 case "$ac_configure_args0 " in
2232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2235 -* ) ac_must_keep_next=true ;;
2238 as_fn_append ac_configure_args " '$ac_arg'"
2243 { ac_configure_args0=; unset ac_configure_args0;}
2244 { ac_configure_args1=; unset ac_configure_args1;}
2246 # When interrupted or exit'd, cleanup temporary files, and complete
2247 # config.log. We remove comments because anyway the quotes in there
2248 # would cause problems or look ugly.
2249 # WARNING: Use '\'' to represent an apostrophe within the trap.
2250 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2251 trap 'exit_status=$?
2252 # Save into config.log some information that might help in debugging.
2257 ## ---------------- ##
2258 ## Cache variables. ##
2259 ## ---------------- ##
2262 # The following way of writing the cache mishandles newlines in values,
2264 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2265 eval ac_val=\$$ac_var
2269 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2270 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2273 _ | IFS | as_nl) ;; #(
2274 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2275 *) { eval $ac_var=; unset $ac_var;} ;;
2280 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2281 *${as_nl}ac_space=\ *)
2283 "s/'\''/'\''\\\\'\'''\''/g;
2284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2287 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2295 ## ----------------- ##
2296 ## Output variables. ##
2297 ## ----------------- ##
2300 for ac_var in $ac_subst_vars
2302 eval ac_val=\$$ac_var
2304 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2306 $as_echo "$ac_var='\''$ac_val'\''"
2310 if test -n "$ac_subst_files"; then
2312 ## ------------------- ##
2313 ## File substitutions. ##
2314 ## ------------------- ##
2317 for ac_var in $ac_subst_files
2319 eval ac_val=\$$ac_var
2321 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 $as_echo "$ac_var='\''$ac_val'\''"
2328 if test -s confdefs.h; then
2338 test "$ac_signal" != 0 &&
2339 $as_echo "$as_me: caught signal $ac_signal"
2340 $as_echo "$as_me: exit $exit_status"
2342 rm -f core *.core core.conftest.* &&
2343 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2346 for ac_signal in 1 2 13 15; do
2347 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2351 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2352 rm -f -r conftest* confdefs.h
2354 $as_echo "/* confdefs.h */" > confdefs.h
2356 # Predefined preprocessor variables.
2358 cat >>confdefs.h <<_ACEOF
2359 #define PACKAGE_NAME "$PACKAGE_NAME"
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2366 cat >>confdefs.h <<_ACEOF
2367 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_STRING "$PACKAGE_STRING"
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_URL "$PACKAGE_URL"
2383 # Let the site file select an alternate cache file if it wants to.
2384 # Prefer an explicitly selected file to automatically selected ones.
2387 if test -n "$CONFIG_SITE"; then
2388 ac_site_file1=$CONFIG_SITE
2389 elif test "x$prefix" != xNONE; then
2390 ac_site_file1=$prefix/share/config.site
2391 ac_site_file2=$prefix/etc/config.site
2393 ac_site_file1=$ac_default_prefix/share/config.site
2394 ac_site_file2=$ac_default_prefix/etc/config.site
2396 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2398 test "x$ac_site_file" = xNONE && continue
2399 if test -r "$ac_site_file"; then
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2401 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2402 sed 's/^/| /' "$ac_site_file" >&5
2407 if test -r "$cache_file"; then
2408 # Some versions of bash will fail to source /dev/null (special
2409 # files actually), so we avoid doing that.
2410 if test -f "$cache_file"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2412 $as_echo "$as_me: loading cache $cache_file" >&6;}
2414 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2415 *) . "./$cache_file";;
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2420 $as_echo "$as_me: creating cache $cache_file" >&6;}
2424 # Check that the precious variables saved in the cache have kept the same
2426 ac_cache_corrupted=false
2427 for ac_var in $ac_precious_vars; do
2428 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2429 eval ac_new_set=\$ac_env_${ac_var}_set
2430 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2431 eval ac_new_val=\$ac_env_${ac_var}_value
2432 case $ac_old_set,$ac_new_set in
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2435 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2436 ac_cache_corrupted=: ;;
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2439 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2440 ac_cache_corrupted=: ;;
2443 if test "x$ac_old_val" != "x$ac_new_val"; then
2444 # differences in whitespace do not lead to failure.
2445 ac_old_val_w=`echo x
$ac_old_val`
2446 ac_new_val_w=`echo x
$ac_new_val`
2447 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2449 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2450 ac_cache_corrupted=:
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2453 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2454 eval $ac_var=\$ac_old_val
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2457 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2459 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2462 # Pass precious variables to config.status.
2463 if test "$ac_new_set" = set; then
2465 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2466 *) ac_arg=$ac_var=$ac_new_val ;;
2468 case " $ac_configure_args " in
2469 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2470 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2474 if $ac_cache_corrupted; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2478 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2479 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2481 ## -------------------- ##
2482 ## Main body of script. ##
2483 ## -------------------- ##
2486 ac_cpp='$CPP $CPPFLAGS'
2487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2496 ac_config_headers="$ac_config_headers config.h"
2499 libtool_VERSION=5:0:0
2502 # Default to --enable-multilib
2503 # Check whether --enable-multilib was given.
2504 if test "${enable_multilib+set}" = set; then :
2505 enableval=$enable_multilib; case "$enableval" in
2506 yes) multilib=yes ;;
2508 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2515 # We may get other options which we leave undocumented:
2516 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2517 # See config-ml.in if you want the gory details.
2519 if test "$srcdir" = "."; then
2520 if test "$with_target_subdir" != "."; then
2521 multi_basedir="$srcdir/$with_multisrctop../.."
2523 multi_basedir="$srcdir/$with_multisrctop.."
2526 multi_basedir="$srcdir/.."
2530 # Even if the default multilib is not a cross compilation,
2531 # it may be that some of the other multilibs are.
2532 if test $cross_compiling = no && test $multilib = yes \
2533 && test "x${with_multisubdir}" != x ; then
2534 cross_compiling=maybe
2537 ac_config_commands="$ac_config_commands default-1"
2541 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2542 for ac_t in install-sh install.sh shtool; do
2543 if test -f "$ac_dir/$ac_t"; then
2545 ac_install_sh="$ac_aux_dir/$ac_t -c"
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2563 # Make sure we can run config.sub.
2564 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2565 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2568 $as_echo_n "checking build system type... " >&6; }
2569 if test "${ac_cv_build+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 ac_build_alias=$build_alias
2573 test "x$ac_build_alias" = x &&
2574 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2575 test "x$ac_build_alias" = x &&
2576 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2577 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2578 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2582 $as_echo "$ac_cv_build" >&6; }
2583 case $ac_cv_build in
2585 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2588 ac_save_IFS=$IFS; IFS='-'
2594 # Remember, the first character of IFS is used to create $*,
2595 # except with old shells:
2598 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2602 $as_echo_n "checking host system type... " >&6; }
2603 if test "${ac_cv_host+set}" = set; then :
2604 $as_echo_n "(cached) " >&6
2606 if test "x$host_alias" = x; then
2607 ac_cv_host=$ac_cv_build
2609 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2610 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2615 $as_echo "$ac_cv_host" >&6; }
2618 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2621 ac_save_IFS=$IFS; IFS='-'
2627 # Remember, the first character of IFS is used to create $*,
2628 # except with old shells:
2631 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2635 $as_echo_n "checking target system type... " >&6; }
2636 if test "${ac_cv_target+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 if test "x$target_alias" = x; then
2640 ac_cv_target=$ac_cv_host
2642 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2643 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2648 $as_echo "$ac_cv_target" >&6; }
2649 case $ac_cv_target in
2651 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2653 target=$ac_cv_target
2654 ac_save_IFS=$IFS; IFS='-'
2660 # Remember, the first character of IFS is used to create $*,
2661 # except with old shells:
2664 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2667 # The aliases save the names the user supplied, while $host etc.
2668 # will get canonicalized.
2669 test -n "$target_alias" &&
2670 test "$program_prefix$program_suffix$program_transform_name" = \
2672 program_prefix=${target_alias}-
2674 target_alias=${target_alias-$host_alias}
2676 am__api_version='1.11'
2678 # Find a good install program. We prefer a C program (faster),
2679 # so one script is as good as another. But avoid the broken or
2680 # incompatible versions:
2681 # SysV /etc/install, /usr/sbin/install
2682 # SunOS /usr/etc/install
2683 # IRIX /sbin/install
2685 # AmigaOS /C/install, which installs bootblocks on floppy discs
2686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2689 # OS/2's system install, which has a completely different semantic
2690 # ./install, which can be erroneously created by make from ./install.sh.
2691 # Reject install programs that cannot install multiple files.
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2693 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2694 if test -z "$INSTALL"; then
2695 if test "${ac_cv_path_install+set}" = set; then :
2696 $as_echo_n "(cached) " >&6
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir=.
2703 # Account for people who put trailing slashes in PATH elements.
2704 case $as_dir/ in #((
2705 ./ | .// | /[cC]/* | \
2706 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2707 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2710 # OSF1 and SCO ODT 3.0 have their own names for install.
2711 # Don't use installbsd from OSF since it installs stuff as root
2713 for ac_prog in ginstall scoinst install; do
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2716 if test $ac_prog = install &&
2717 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2718 # AIX install. It has an incompatible calling convention.
2720 elif test $ac_prog = install &&
2721 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2722 # program-specific install script used by HP pwplus--don't use.
2725 rm -rf conftest.one conftest.two conftest.dir
2726 echo one > conftest.one
2727 echo two > conftest.two
2729 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2730 test -s conftest.one && test -s conftest.two &&
2731 test -s conftest.dir/conftest.one &&
2732 test -s conftest.dir/conftest.two
2734 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2747 rm -rf conftest.one conftest.two conftest.dir
2750 if test "${ac_cv_path_install+set}" = set; then
2751 INSTALL=$ac_cv_path_install
2753 # As a last resort, use the slow shell script. Don't cache a
2754 # value for INSTALL within a source directory, because that will
2755 # break other packages using the cache if that directory is
2756 # removed, or if the value is a relative name.
2757 INSTALL=$ac_install_sh
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2761 $as_echo "$INSTALL" >&6; }
2763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2764 # It thinks the first close brace ends the variable substitution.
2765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2769 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2772 $as_echo_n "checking whether build environment is sane... " >&6; }
2775 echo timestamp > conftest.file
2776 # Reject unsafe characters in $srcdir or the absolute working directory
2777 # name. Accept space and tab only in the latter.
2781 *[\\\"\#\$\&\'\`$am_lf]*)
2782 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2785 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2786 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2789 # Do `set' in a subshell so we don't clobber the current shell's
2790 # arguments. Must try -L first in case configure is actually a
2791 # symlink; some systems play weird games with the mod time of symlinks
2792 # (eg FreeBSD returns the mod time of the symlink's containing
2795 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2796 if test "$*" = "X"; then
2798 set X
`ls -t "$srcdir/configure" conftest.file`
2801 if test "$*" != "X $srcdir/configure conftest.file" \
2802 && test "$*" != "X conftest.file $srcdir/configure"; then
2804 # If neither matched, then we have a broken ls. This can happen
2805 # if, for instance, CONFIG_SHELL is bash and it inherits a
2806 # broken ls alias from the environment. This has actually
2807 # happened. Such a system could not be considered "sane".
2808 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2809 alias in your environment" "$LINENO" 5
2812 test "$2" = conftest.
file
2818 as_fn_error
"newly created file is older than distributed files!
2819 Check your system clock" "$LINENO" 5
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2822 $as_echo "yes" >&6; }
2823 test "$program_prefix" != NONE
&&
2824 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2825 # Use a double $ so make ignores it.
2826 test "$program_suffix" != NONE
&&
2827 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2828 # Double any \ or $.
2829 # By default was `s,x,x', remove it if useless.
2830 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2831 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2833 # expand $ac_aux_dir to an absolute path
2834 am_aux_dir
=`cd $ac_aux_dir && pwd`
2836 if test x
"${MISSING+set}" != xset
; then
2839 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2841 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2844 # Use eval to expand $SHELL
2845 if eval "$MISSING --run true"; then
2846 am_missing_run
="$MISSING --run "
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2850 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2853 if test x
"${install_sh}" != xset
; then
2856 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2858 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2862 # Installed binaries are usually stripped using `strip' when the user
2863 # run `make install-strip'. However `strip' might not be the right
2864 # tool to use in cross-compilation environments, therefore Automake
2865 # will honor the `STRIP' environment variable to overrule this program.
2866 if test "$cross_compiling" != no
; then
2867 if test -n "$ac_tool_prefix"; then
2868 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2869 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if test "${ac_cv_prog_STRIP+set}" = set; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$STRIP"; then
2876 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 STRIP
=$ac_cv_prog_STRIP
2896 if test -n "$STRIP"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2898 $as_echo "$STRIP" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2906 if test -z "$ac_cv_prog_STRIP"; then
2908 # Extract the first word of "strip", so it can be a program name with args.
2909 set dummy strip
; ac_word
=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$ac_ct_STRIP"; then
2916 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 ac_cv_prog_ac_ct_STRIP
="strip"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2936 if test -n "$ac_ct_STRIP"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2938 $as_echo "$ac_ct_STRIP" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2944 if test "x$ac_ct_STRIP" = x
; then
2947 case $cross_compiling:$ac_tool_warned in
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2951 ac_tool_warned
=yes ;;
2956 STRIP
="$ac_cv_prog_STRIP"
2960 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2963 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2964 if test -z "$MKDIR_P"; then
2965 if test "${ac_cv_path_mkdir+set}" = set; then :
2966 $as_echo_n "(cached) " >&6
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2969 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_prog
in mkdir gmkdir
; do
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2976 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2977 'mkdir (GNU coreutils) '* | \
2978 'mkdir (coreutils) '* | \
2979 'mkdir (fileutils) '4.1*)
2980 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2990 if test "${ac_cv_path_mkdir+set}" = set; then
2991 MKDIR_P
="$ac_cv_path_mkdir -p"
2993 # As a last resort, use the slow shell script. Don't cache a
2994 # value for MKDIR_P within a source directory, because that will
2995 # break other packages using the cache if that directory is
2996 # removed, or if the value is a relative name.
2997 test -d .
/--version && rmdir .
/--version
2998 MKDIR_P
="$ac_install_sh -d"
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3002 $as_echo "$MKDIR_P" >&6; }
3006 [\\/$
]* | ?
:[\\/]*) ;;
3007 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3010 for ac_prog
in gawk mawk nawk
awk
3012 # Extract the first word of "$ac_prog", so it can be a program name with args.
3013 set dummy
$ac_prog; ac_word
=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if test "${ac_cv_prog_AWK+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3019 if test -n "$AWK"; then
3020 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir
=.
3027 for ac_exec_ext
in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 ac_cv_prog_AWK
="$ac_prog"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 if test -n "$AWK"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3042 $as_echo "$AWK" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3049 test -n "$AWK" && break
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3053 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3055 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3056 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3057 $as_echo_n "(cached) " >&6
3059 cat >conftest.
make <<\_ACEOF
3062 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3064 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3065 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3067 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3069 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3073 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3075 $as_echo "yes" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3080 SET_MAKE
="MAKE=${MAKE-make}"
3083 rm -rf .tst
2>/dev
/null
3084 mkdir .tst
2>/dev
/null
3085 if test -d .tst
; then
3090 rmdir .tst
2>/dev
/null
3092 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3093 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3094 # is not polluted with repeated "-I."
3095 am__isrc
=' -I$(srcdir)'
3096 # test to see if srcdir already configured
3097 if test -f $srcdir/config.status
; then
3098 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3102 # test whether we have cygpath
3103 if test -z "$CYGPATH_W"; then
3104 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3105 CYGPATH_W
='cygpath -w'
3112 # Define the identity of the package.
3114 VERSION
='version-unused'
3117 # Some tools Automake needs.
3119 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3122 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3125 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3128 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3131 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3133 # We need awk for the "check" target. The system "awk" is bad on
3135 # Always define AMTAR for backward compatibility.
3137 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3139 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3151 ac_cpp
='$CPP $CPPFLAGS'
3152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3155 if test -n "$ac_tool_prefix"; then
3156 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3157 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if test "${ac_cv_prog_CC+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$CC"; then
3164 ac_cv_prog_CC
="$CC" # Let the user override the test.
3166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir
=.
3171 for ac_exec_ext
in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 if test -n "$CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186 $as_echo "$CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3194 if test -z "$ac_cv_prog_CC"; then
3196 # Extract the first word of "gcc", so it can be a program name with args.
3197 set dummy gcc
; ac_word
=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$ac_ct_CC"; then
3204 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_ac_ct_CC
="gcc"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3224 if test -n "$ac_ct_CC"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3226 $as_echo "$ac_ct_CC" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3232 if test "x$ac_ct_CC" = x
; then
3235 case $cross_compiling:$ac_tool_warned in
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3239 ac_tool_warned
=yes ;;
3247 if test -z "$CC"; then
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3250 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_CC+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC
="$CC" # Let the user override the test.
3259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir
=.
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3288 if test -z "$CC"; then
3289 # Extract the first word of "cc", so it can be a program name with args.
3290 set dummy cc
; ac_word
=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if test "${ac_cv_prog_CC+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3296 if test -n "$CC"; then
3297 ac_cv_prog_CC
="$CC" # Let the user override the test.
3300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir
=.
3305 for ac_exec_ext
in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3308 ac_prog_rejected
=yes
3312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 if test $ac_prog_rejected = yes; then
3320 # We found a bogon in the path, so make sure we never use it.
3321 set dummy
$ac_cv_prog_CC
3323 if test $# != 0; then
3324 # We chose a different compiler from the bogus one.
3325 # However, it has the same basename, so the bogon will be chosen
3326 # first if we set CC to just the basename; use the full file name.
3328 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3334 if test -n "$CC"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3336 $as_echo "$CC" >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3344 if test -z "$CC"; then
3345 if test -n "$ac_tool_prefix"; then
3346 for ac_prog
in cl.exe
3348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3349 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351 $as_echo_n "checking for $ac_word... " >&6; }
3352 if test "${ac_cv_prog_CC+set}" = set; then :
3353 $as_echo_n "(cached) " >&6
3355 if test -n "$CC"; then
3356 ac_cv_prog_CC
="$CC" # Let the user override the test.
3358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3362 test -z "$as_dir" && as_dir
=.
3363 for ac_exec_ext
in '' $ac_executable_extensions; do
3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 if test -n "$CC"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3378 $as_echo "$CC" >&6; }
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3385 test -n "$CC" && break
3388 if test -z "$CC"; then
3390 for ac_prog
in cl.exe
3392 # Extract the first word of "$ac_prog", so it can be a program name with args.
3393 set dummy
$ac_prog; ac_word
=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$ac_ct_CC"; then
3400 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir
=.
3407 for ac_exec_ext
in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 ac_cv_prog_ac_ct_CC
="$ac_prog"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3420 if test -n "$ac_ct_CC"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3422 $as_echo "$ac_ct_CC" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3429 test -n "$ac_ct_CC" && break
3432 if test "x$ac_ct_CC" = x
; then
3435 case $cross_compiling:$ac_tool_warned in
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3439 ac_tool_warned
=yes ;;
3448 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error
"no acceptable C compiler found in \$PATH
3451 See \`config.log' for more details." "$LINENO" 5; }
3453 # Provide some information about the compiler.
3454 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3457 for ac_option
in --version -v -V -qversion; do
3458 { { ac_try
="$ac_compiler $ac_option >&5"
3460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3467 if test -s conftest.err; then
3469 ... rest of stderr output deleted ...
3470 10q' conftest.err >conftest.er1
3471 cat conftest.er1 >&5
3472 rm -f conftest.er1 conftest.err
3474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3475 test $ac_status = 0; }
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3489 ac_clean_files_save=$ac_clean_files
3490 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3491 # Try to create an executable without -o first, disregard a.out.
3492 # It will help us diagnose broken compilers, and finding out an intuition
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3495 $as_echo_n "checking for C compiler default output file name... " >&6; }
3496 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3498 # The possible output files:
3499 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3502 for ac_file in $ac_files
3505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3506 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3511 if { { ac_try="$ac_link_default"
3513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3514 *) ac_try_echo
=$ac_try;;
3516 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518 (eval "$ac_link_default") 2>&5
3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521 test $ac_status = 0; }; then :
3522 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3523 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3524 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3525 # so that the user can short-circuit this test for compilers unknown to
3527 for ac_file
in $ac_files ''
3529 test -f "$ac_file" ||
continue
3531 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3534 # We found the default executable, but exeext='' is most
3538 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3540 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3542 # We set ac_cv_exeext here because the later test for it is not
3543 # safe: cross compilers may not add the suffix if given an `-o'
3544 # argument, so we may need to know it at that point already.
3545 # Even if this section looks crufty: it has the advantage of
3552 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3558 $as_echo "$ac_file" >&6; }
3559 if test -z "$ac_file"; then :
3560 $as_echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 { as_fn_set_status
77
3566 as_fn_error
"C compiler cannot create executables
3567 See \`config.log' for more details." "$LINENO" 5; }; }
3569 ac_exeext
=$ac_cv_exeext
3571 # Check that the compiler produces executables we can run. If not, either
3572 # the compiler is broken, or we cross compile.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3574 $as_echo_n "checking whether the C compiler works... " >&6; }
3575 # If not cross compiling, check that we can run a simple program.
3576 if test "$cross_compiling" != yes; then
3577 if { ac_try
='./$ac_file'
3578 { { case "(($ac_try" in
3579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584 (eval "$ac_try") 2>&5
3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587 test $ac_status = 0; }; }; then
3590 if test "$cross_compiling" = maybe; then
3593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3595 as_fn_error "cannot run C compiled programs.
3596 If you meant to cross compile
, use \
`--host'.
3597 See \`config.log
' for more details." "$LINENO" 5; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3602 $as_echo "yes" >&6; }
3604 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3605 ac_clean_files=$ac_clean_files_save
3606 # Check that the compiler produces executables we can run. If not, either
3607 # the compiler is broken, or we cross compile.
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3609 $as_echo_n "checking whether we are cross compiling... " >&6; }
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3611 $as_echo "$cross_compiling" >&6; }
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3614 $as_echo_n "checking for suffix of executables... " >&6; }
3615 if { { ac_try="$ac_link"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3621 $as_echo "$ac_try_echo"; } >&5
3622 (eval "$ac_link") 2>&5
3624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3625 test $ac_status = 0; }; then :
3626 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3627 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3628 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3630 for ac_file
in conftest.exe conftest conftest.
*; do
3631 test -f "$ac_file" ||
continue
3633 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3634 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3642 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3643 See \`config.log' for more details." "$LINENO" 5; }
3645 rm -f conftest
$ac_cv_exeext
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3647 $as_echo "$ac_cv_exeext" >&6; }
3649 rm -f conftest.
$ac_ext
3650 EXEEXT
=$ac_cv_exeext
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3653 $as_echo_n "checking for suffix of object files... " >&6; }
3654 if test "${ac_cv_objext+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 rm -f conftest.o conftest.obj
3669 if { { ac_try
="$ac_compile"
3671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3675 $as_echo "$ac_try_echo"; } >&5
3676 (eval "$ac_compile") 2>&5
3678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679 test $ac_status = 0; }; then :
3680 for ac_file in conftest.o conftest.obj conftest.*; do
3681 test -f "$ac_file" || continue;
3683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3684 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error "cannot compute suffix of object files
: cannot compile
3695 See \
`config.log' for more details." "$LINENO" 5; }
3697 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3700 $as_echo "$ac_cv_objext" >&6; }
3701 OBJEXT=$ac_cv_objext
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3704 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3705 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3722 if ac_fn_c_try_compile "$LINENO"; then :
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3732 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3733 if test $ac_compiler_gnu = yes; then
3738 ac_test_CFLAGS=${CFLAGS+set}
3739 ac_save_CFLAGS=$CFLAGS
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3741 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3742 if test "${ac_cv_prog_cc_g+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 ac_save_c_werror_flag=$ac_c_werror_flag
3746 ac_c_werror_flag=yes
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3778 ac_c_werror_flag=$ac_save_c_werror_flag
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3791 if ac_fn_c_try_compile "$LINENO"; then :
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 ac_c_werror_flag=$ac_save_c_werror_flag
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3802 $as_echo "$ac_cv_prog_cc_g" >&6; }
3803 if test "$ac_test_CFLAGS" = set; then
3804 CFLAGS=$ac_save_CFLAGS
3805 elif test $ac_cv_prog_cc_g = yes; then
3806 if test "$GCC" = yes; then
3812 if test "$GCC" = yes; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3819 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3820 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3821 $as_echo_n "(cached) " >&6
3823 ac_cv_prog_cc_c89=no
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3829 #include <sys/types.h>
3830 #include <sys/stat.h>
3831 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3832 struct buf { int x; };
3833 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3834 static char *e (p, i)
3840 static char *f (char * (*g) (char **, int), char **p, ...)
3845 s = g (p, va_arg (v,int));
3850 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3851 function prototypes and stuff, but not '\xHH' hex character constants.
3852 These don't provoke an error unfortunately, instead are silently treated
3853 as 'x'. The following induces an error, until -std is added to get
3854 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3855 array size at least. It's necessary to write '\x00'==0 to get something
3856 that's true only with -std. */
3857 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3859 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3860 inside strings and character constants. */
3862 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3864 int test (int i, double x);
3865 struct s1 {int (*f) (int a);};
3866 struct s2 {int (*f) (double a);};
3867 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3873 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3878 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3879 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3881 CC="$ac_save_CC $ac_arg"
3882 if ac_fn_c_try_compile "$LINENO"; then :
3883 ac_cv_prog_cc_c89=$ac_arg
3885 rm -f core conftest.err conftest.$ac_objext
3886 test "x$ac_cv_prog_cc_c89" != "xno" && break
3888 rm -f conftest.$ac_ext
3893 case "x$ac_cv_prog_cc_c89" in
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3896 $as_echo "none needed" >&6; } ;;
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3899 $as_echo "unsupported" >&6; } ;;
3901 CC="$CC $ac_cv_prog_cc_c89"
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3903 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3905 if test "x$ac_cv_prog_cc_c89" != xno; then :
3910 ac_cpp='$CPP $CPPFLAGS'
3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3914 DEPDIR="${am__leading_dot}deps"
3916 ac_config_commands="$ac_config_commands depfiles"
3919 am_make=${MAKE-make}
3920 cat > confinc << 'END'
3922 @echo this is the am__doit target
3925 # If we don't find an include directive, just comment out the code.
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3927 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3931 # First try GNU make style include.
3932 echo "include confinc" > confmf
3933 # Ignore all kinds of additional output from `make'.
3934 case `$am_make -s -f confmf 2> /dev/null` in #(
3935 *the\ am__doit\ target*)
3941 # Now try BSD make style include.
3942 if test "$am__include" = "#"; then
3943 echo '.include
"confinc"' > confmf
3944 case `$am_make -s -f confmf 2> /dev/null` in #(
3945 *the\ am__doit\ target*)
3946 am__include=.include
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3955 $as_echo "$_am_result" >&6; }
3956 rm -f confinc confmf
3958 # Check whether --enable-dependency-tracking was given.
3959 if test "${enable_dependency_tracking+set}" = set; then :
3960 enableval=$enable_dependency_tracking;
3963 if test "x$enable_dependency_tracking" != xno; then
3964 am_depcomp="$ac_aux_dir/depcomp"
3967 if test "x$enable_dependency_tracking" != xno
; then
3977 depcc
="$CC" am_compiler_list
=
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3980 $as_echo_n "checking dependency style of $depcc... " >&6; }
3981 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3985 # We make a subdir and do the tests there. Otherwise we can end up
3986 # making bogus files that we don't know about and never remove. For
3987 # instance it was reported that on HP-UX the gcc test will end up
3988 # making a dummy file named `D' -- because `-MD' means `put the output
3991 # Copy depcomp to subdir because otherwise we won't find it if we're
3992 # using a relative directory.
3993 cp "$am_depcomp" conftest.dir
3995 # We will build objects and dependencies in a subdirectory because
3996 # it helps to detect inapplicable dependency modes. For instance
3997 # both Tru64's cc and ICC support -MD to output dependencies as a
3998 # side effect of compilation, but ICC will put the dependencies in
3999 # the current directory while Tru64 will put them in the object
4003 am_cv_CC_dependencies_compiler_type
=none
4004 if test "$am_compiler_list" = ""; then
4005 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4008 case " $depcc " in #(
4009 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4012 for depmode
in $am_compiler_list; do
4013 # Setup a source with many dependencies, because some compilers
4014 # like to wrap large dependency lists on column 80 (with \), and
4015 # we should not choose a depcomp mode which is confused by this.
4017 # We need to recreate these files for each test, as the compiler may
4018 # overwrite some of them when testing with obscure command lines.
4019 # This happens at least with the AIX C compiler.
4021 for i
in 1 2 3 4 5 6; do
4022 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4023 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4024 # Solaris 8's {/usr,}/bin/sh.
4025 touch sub
/conftst
$i.h
4027 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4029 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4030 # mode. It turns out that the SunPro C++ compiler does not properly
4031 # handle `-M -o', and we need to detect this. Also, some Intel
4032 # versions had trouble with output in subdirs
4033 am__obj
=sub
/conftest.
${OBJEXT-o}
4034 am__minus_obj
="-o $am__obj"
4037 # This depmode causes a compiler race in universal mode.
4038 test "$am__universal" = false ||
continue
4041 # after this tag, mechanisms are not by side-effect, so they'll
4042 # only be used when explicitly requested
4043 if test "x$enable_dependency_tracking" = xyes
; then
4049 msvisualcpp | msvcmsys
)
4050 # This compiler won't grok `-c -o', but also, the minuso test has
4051 # not run yet. These depmodes are late enough in the game, and
4052 # so weak that their functioning should not be impacted.
4053 am__obj
=conftest.
${OBJEXT-o}
4058 if depmode
=$depmode \
4059 source=sub
/conftest.c object
=$am__obj \
4060 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4061 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4062 >/dev
/null
2>conftest.err
&&
4063 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4064 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4065 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4066 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4067 # icc doesn't choke on unknown options, it will just issue warnings
4068 # or remarks (even with -Werror). So we grep stderr for any message
4069 # that says an option was ignored or not supported.
4070 # When given -MP, icc 7.0 and 7.1 complain thusly:
4071 # icc: Command line warning: ignoring option '-M'; no argument required
4072 # The diagnosis changed in icc 8.0:
4073 # icc: Command line remark: option '-MP' not supported
4074 if (grep 'ignoring option' conftest.err ||
4075 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4076 am_cv_CC_dependencies_compiler_type
=$depmode
4085 am_cv_CC_dependencies_compiler_type
=none
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4090 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4091 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4094 test "x$enable_dependency_tracking" != xno \
4095 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4097 am__fastdepCC_FALSE
='#'
4099 am__fastdepCC_TRUE
='#'
4100 am__fastdepCC_FALSE
=
4105 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
4106 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4110 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if test "${ac_cv_prog_GOC+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$GOC"; then
4117 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 if test -n "$GOC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4139 $as_echo "$GOC" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4147 if test -z "$ac_cv_prog_GOC"; then
4149 # Extract the first word of "gccgo", so it can be a program name with args.
4150 set dummy gccgo
; ac_word
=$2
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4152 $as_echo_n "checking for $ac_word... " >&6; }
4153 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4156 if test -n "$ac_ct_GOC"; then
4157 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
4159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4163 test -z "$as_dir" && as_dir
=.
4164 for ac_exec_ext
in '' $ac_executable_extensions; do
4165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4166 ac_cv_prog_ac_ct_GOC
="gccgo"
4167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
4177 if test -n "$ac_ct_GOC"; then
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
4179 $as_echo "$ac_ct_GOC" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4185 if test "x$ac_ct_GOC" = x
; then
4188 case $cross_compiling:$ac_tool_warned in
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4192 ac_tool_warned
=yes ;;
4197 GOC
="$ac_cv_prog_GOC"
4200 if test -z "$GOC"; then
4201 if test -n "$ac_tool_prefix"; then
4202 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
4203 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if test "${ac_cv_prog_GOC+set}" = set; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$GOC"; then
4210 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4219 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 if test -n "$GOC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4232 $as_echo "$GOC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4241 if test -z "$GOC"; then
4242 # Extract the first word of "gccgo", so it can be a program name with args.
4243 set dummy gccgo
; ac_word
=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if test "${ac_cv_prog_GOC+set}" = set; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$GOC"; then
4250 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4260 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4261 ac_prog_rejected
=yes
4264 ac_cv_prog_GOC
="gccgo"
4265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test $ac_prog_rejected = yes; then
4273 # We found a bogon in the path, so make sure we never use it.
4274 set dummy
$ac_cv_prog_GOC
4276 if test $# != 0; then
4277 # We chose a different compiler from the bogus one.
4278 # However, it has the same basename, so the bogon will be chosen
4279 # first if we set GOC to just the basename; use the full file name.
4281 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4287 if test -n "$GOC"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4289 $as_echo "$GOC" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4299 # Provide some information about the compiler.
4300 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4303 { { ac_try
="$ac_compiler --version >&5"
4305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_compiler --version >&5") 2>conftest.err
4312 if test -s conftest.err; then
4314 ... rest of stderr output deleted ...
4315 10q' conftest.err >conftest.er1
4316 cat conftest.er1 >&5
4317 rm -f conftest.er1 conftest.err
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4334 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4335 # Check whether --enable-maintainer-mode was given.
4336 if test "${enable_maintainer_mode+set}" = set; then :
4337 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4339 USE_MAINTAINER_MODE=no
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4343 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4344 if test $USE_MAINTAINER_MODE = yes; then
4345 MAINTAINER_MODE_TRUE=
4346 MAINTAINER_MODE_FALSE='#'
4348 MAINTAINER_MODE_TRUE='#'
4349 MAINTAINER_MODE_FALSE=
4352 MAINT=$MAINTAINER_MODE_TRUE
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4357 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4358 if test "${ac_cv_path_SED+set}" = set; then :
4359 $as_echo_n "(cached) " >&6
4361 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4362 for ac_i in 1 2 3 4 5 6 7; do
4363 ac_script="$ac_script$as_nl$ac_script"
4365 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4366 { ac_script=; unset ac_script;}
4367 if test -z "$SED"; then
4368 ac_path_SED_found=false
4369 # Loop through the user's path and test for each of PROGNAME-LIST
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 test -z "$as_dir" && as_dir=.
4375 for ac_prog in sed gsed; do
4376 for ac_exec_ext in '' $ac_executable_extensions; do
4377 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4378 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4379 # Check for GNU ac_path_SED and select it if it is found.
4380 # Check for GNU $ac_path_SED
4381 case `"$ac_path_SED" --version 2>&1` in
4383 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4386 $as_echo_n 0123456789 >"conftest.in"
4389 cat "conftest.in" "conftest.in" >"conftest.tmp"
4390 mv "conftest.tmp" "conftest.in"
4391 cp "conftest.in" "conftest.nl"
4392 $as_echo '' >> "conftest.nl"
4393 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4395 as_fn_arith $ac_count + 1 && ac_count=$as_val
4396 if test $ac_count -gt ${ac_path_SED_max-0}; then
4397 # Best one so far, save it but keep looking for a better one
4398 ac_cv_path_SED="$ac_path_SED"
4399 ac_path_SED_max=$ac_count
4401 # 10*(2^10) chars as input seems more than enough
4402 test $ac_count -gt 10 && break
4404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4407 $ac_path_SED_found && break 3
4412 if test -z "$ac_cv_path_SED"; then
4413 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4421 $as_echo "$ac_cv_path_SED" >&6; }
4422 SED="$ac_cv_path_SED"
4425 test -z "$SED" && SED=sed
4426 Xsed="$SED -e 1s/^X//"
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4439 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4440 if test "${ac_cv_path_GREP+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -z "$GREP"; then
4444 ac_path_GREP_found=false
4445 # Loop through the user's path and test for each of PROGNAME-LIST
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4450 test -z "$as_dir" && as_dir=.
4451 for ac_prog in grep ggrep; do
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4454 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4455 # Check for GNU ac_path_GREP and select it if it is found.
4456 # Check for GNU $ac_path_GREP
4457 case `"$ac_path_GREP" --version 2>&1` in
4459 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4462 $as_echo_n 0123456789 >"conftest.in"
4465 cat "conftest.in" "conftest.in" >"conftest.tmp"
4466 mv "conftest.tmp" "conftest.in"
4467 cp "conftest.in" "conftest.nl"
4468 $as_echo 'GREP' >> "conftest.nl"
4469 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4470 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4471 as_fn_arith $ac_count + 1 && ac_count=$as_val
4472 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4473 # Best one so far, save it but keep looking for a better one
4474 ac_cv_path_GREP="$ac_path_GREP"
4475 ac_path_GREP_max=$ac_count
4477 # 10*(2^10) chars as input seems more than enough
4478 test $ac_count -gt 10 && break
4480 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4483 $ac_path_GREP_found && break 3
4488 if test -z "$ac_cv_path_GREP"; then
4489 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4492 ac_cv_path_GREP=$GREP
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4497 $as_echo "$ac_cv_path_GREP" >&6; }
4498 GREP="$ac_cv_path_GREP"
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4502 $as_echo_n "checking for egrep... " >&6; }
4503 if test "${ac_cv_path_EGREP+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4507 then ac_cv_path_EGREP="$GREP -E"
4509 if test -z "$EGREP"; then
4510 ac_path_EGREP_found=false
4511 # Loop through the user's path and test for each of PROGNAME-LIST
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4516 test -z "$as_dir" && as_dir=.
4517 for ac_prog in egrep; do
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4520 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4521 # Check for GNU ac_path_EGREP and select it if it is found.
4522 # Check for GNU $ac_path_EGREP
4523 case `"$ac_path_EGREP" --version 2>&1` in
4525 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4528 $as_echo_n 0123456789 >"conftest.in"
4531 cat "conftest.in" "conftest.in" >"conftest.tmp"
4532 mv "conftest.tmp" "conftest.in"
4533 cp "conftest.in" "conftest.nl"
4534 $as_echo 'EGREP' >> "conftest.nl"
4535 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4537 as_fn_arith $ac_count + 1 && ac_count=$as_val
4538 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4539 # Best one so far, save it but keep looking for a better one
4540 ac_cv_path_EGREP="$ac_path_EGREP"
4541 ac_path_EGREP_max=$ac_count
4543 # 10*(2^10) chars as input seems more than enough
4544 test $ac_count -gt 10 && break
4546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4549 $ac_path_EGREP_found && break 3
4554 if test -z "$ac_cv_path_EGREP"; then
4555 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4558 ac_cv_path_EGREP=$EGREP
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4564 $as_echo "$ac_cv_path_EGREP" >&6; }
4565 EGREP="$ac_cv_path_EGREP"
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4569 $as_echo_n "checking for fgrep... " >&6; }
4570 if test "${ac_cv_path_FGREP+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4573 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4574 then ac_cv_path_FGREP="$GREP -F"
4576 if test -z "$FGREP"; then
4577 ac_path_FGREP_found=false
4578 # Loop through the user's path and test for each of PROGNAME-LIST
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4583 test -z "$as_dir" && as_dir=.
4584 for ac_prog in fgrep; do
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4587 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4588 # Check for GNU ac_path_FGREP and select it if it is found.
4589 # Check for GNU $ac_path_FGREP
4590 case `"$ac_path_FGREP" --version 2>&1` in
4592 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4595 $as_echo_n 0123456789 >"conftest.in"
4598 cat "conftest.in" "conftest.in" >"conftest.tmp"
4599 mv "conftest.tmp" "conftest.in"
4600 cp "conftest.in" "conftest.nl"
4601 $as_echo 'FGREP' >> "conftest.nl"
4602 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4604 as_fn_arith $ac_count + 1 && ac_count=$as_val
4605 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4606 # Best one so far, save it but keep looking for a better one
4607 ac_cv_path_FGREP="$ac_path_FGREP"
4608 ac_path_FGREP_max=$ac_count
4610 # 10*(2^10) chars as input seems more than enough
4611 test $ac_count -gt 10 && break
4613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4616 $ac_path_FGREP_found && break 3
4621 if test -z "$ac_cv_path_FGREP"; then
4622 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4625 ac_cv_path_FGREP=$FGREP
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4631 $as_echo "$ac_cv_path_FGREP" >&6; }
4632 FGREP="$ac_cv_path_FGREP"
4635 test -z "$GREP" && GREP=grep
4653 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4654 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4655 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4658 $as_echo_n "checking how to print strings... " >&6; }
4659 # Test print first, because it will be a builtin if present.
4660 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4661 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4663 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4666 # Use this function as a fallback that always works.
4667 func_fallback_echo ()
4669 eval 'cat <<_LTECHO_EOF
4673 ECHO='func_fallback_echo'
4676 # func_echo_all arg...
4677 # Invoke $ECHO with all args, space-separated.
4684 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4685 $as_echo "printf" >&6; } ;;
4686 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4687 $as_echo "print -r" >&6; } ;;
4688 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4689 $as_echo "cat" >&6; } ;;
4707 # Check whether --with-gnu-ld was given.
4708 if test "${with_gnu_ld+set}" = set; then :
4709 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4715 if test "$GCC" = yes; then
4716 # Check if gcc -print-prog-name=ld gives a path.
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4718 $as_echo_n "checking for ld used by $CC... " >&6; }
4721 # gcc leaves a trailing carriage return which upsets mingw
4722 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4724 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4727 # Accept absolute paths.
4729 re_direlt='/[^/][^/]*/\.\./'
4730 # Canonicalize the pathname of ld
4731 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4732 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4733 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4735 test -z "$LD" && LD="$ac_prog"
4738 # If it fails, then pretend we aren't using GCC.
4742 # If it is relative, then search for the first ld in PATH.
4746 elif test "$with_gnu_ld" = yes; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4748 $as_echo_n "checking for GNU ld... " >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4751 $as_echo_n "checking for non-GNU ld... " >&6; }
4753 if test "${lt_cv_path_LD+set}" = set; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -z "$LD"; then
4757 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4758 for ac_dir in $PATH; do
4760 test -z "$ac_dir" && ac_dir=.
4761 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4762 lt_cv_path_LD="$ac_dir/$ac_prog"
4763 # Check to see if the program is GNU ld. I'd rather use --version,
4764 # but apparently some variants of GNU ld only accept -v.
4765 # Break only if it was the GNU/non-GNU ld that we prefer.
4766 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4767 *GNU* | *'with BFD'*)
4768 test "$with_gnu_ld" != no && break
4771 test "$with_gnu_ld" != yes && break
4778 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4783 if test -n "$LD"; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4785 $as_echo "$LD" >&6; }
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 $as_echo "no" >&6; }
4790 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4792 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4793 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4794 $as_echo_n "(cached) " >&6
4796 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4797 case `$LD -v 2>&1 </dev
/null
` in
4798 *GNU* | *'with BFD'*)
4799 lt_cv_prog_gnu_ld=yes
4802 lt_cv_prog_gnu_ld=no
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4807 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4808 with_gnu_ld=$lt_cv_prog_gnu_ld
4818 if test -n "$ac_tool_prefix"; then
4819 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4820 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 $as_echo_n "checking for $ac_word... " >&6; }
4823 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4824 $as_echo_n "(cached) " >&6
4826 if test -n "$RANLIB"; then
4827 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833 test -z "$as_dir" && as_dir=.
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4836 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 RANLIB=$ac_cv_prog_RANLIB
4847 if test -n "$RANLIB"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4849 $as_echo "$RANLIB" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4857 if test -z "$ac_cv_prog_RANLIB"; then
4858 ac_ct_RANLIB=$RANLIB
4859 # Extract the first word of "ranlib", so it can be a program name with args.
4860 set dummy ranlib; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4864 $as_echo_n "(cached) " >&6
4866 if test -n "$ac_ct_RANLIB"; then
4867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876 ac_cv_prog_ac_ct_RANLIB="ranlib"
4877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4887 if test -n "$ac_ct_RANLIB"; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4889 $as_echo "$ac_ct_RANLIB" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4895 if test "x$ac_ct_RANLIB" = x; then
4898 case $cross_compiling:$ac_tool_warned in
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4902 ac_tool_warned=yes ;;
4904 RANLIB=$ac_ct_RANLIB
4907 RANLIB="$ac_cv_prog_RANLIB"
4910 if test -n "$ac_tool_prefix"; then
4911 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4912 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -n "$OBJCOPY"; then
4919 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 OBJCOPY=$ac_cv_prog_OBJCOPY
4939 if test -n "$OBJCOPY"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4941 $as_echo "$OBJCOPY" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4949 if test -z "$ac_cv_prog_OBJCOPY"; then
4950 ac_ct_OBJCOPY=$OBJCOPY
4951 # Extract the first word of "objcopy", so it can be a program name with args.
4952 set dummy objcopy; ac_word=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$ac_ct_OBJCOPY"; then
4959 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4979 if test -n "$ac_ct_OBJCOPY"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4981 $as_echo "$ac_ct_OBJCOPY" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4987 if test "x$ac_ct_OBJCOPY" = x; then
4988 OBJCOPY="missing-objcopy"
4990 case $cross_compiling:$ac_tool_warned in
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4996 OBJCOPY=$ac_ct_OBJCOPY
4999 OBJCOPY="$ac_cv_prog_OBJCOPY"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5010 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5015 macro_version='2.2.7a'
5016 macro_revision='1.3134'
5030 ltmain="$ac_aux_dir/ltmain.sh"
5032 # Backslashify metacharacters that are still active within
5033 # double-quoted strings.
5034 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5036 # Same as above, but do not quote variable references.
5037 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5039 # Sed substitution to delay expansion of an escaped shell variable in a
5040 # double_quote_subst'ed string.
5041 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5043 # Sed substitution to delay expansion of an escaped single quote.
5044 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5046 # Sed substitution to avoid accidental globbing in evaled expressions
5047 no_glob_subst='s/\*/\\\*/g'
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5050 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5051 if test "${lt_cv_path_NM+set}" = set; then :
5052 $as_echo_n "(cached
) " >&6
5054 if test -n "$NM"; then
5055 # Let the user override the test.
5058 lt_nm_to_check="${ac_tool_prefix}nm
"
5059 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5060 lt_nm_to_check="$lt_nm_to_check nm
"
5062 for lt_tmp_nm in $lt_nm_to_check; do
5063 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5064 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5066 test -z "$ac_dir" && ac_dir=.
5067 tmp_nm="$ac_dir/$lt_tmp_nm"
5068 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5069 # Check to see if the nm accepts a BSD-compat flag.
5070 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5071 # nm: unknown option "B
" ignored
5072 # Tru64's nm complains that /dev/null is an invalid object file
5073 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5074 */dev/null* | *'Invalid file or object type'*)
5075 lt_cv_path_NM="$tmp_nm -B"
5079 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5081 lt_cv_path_NM="$tmp_nm -p"
5085 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5086 continue # so that we can try to find one that supports BSD flags
5095 : ${lt_cv_path_NM=no}
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5099 $as_echo "$lt_cv_path_NM" >&6; }
5100 if test "$lt_cv_path_NM" != "no
"; then
5103 # Didn't find any BSD compatible name lister, look for dumpbin.
5104 if test -n "$DUMPBIN"; then :
5105 # Let the user override the test.
5107 if test -n "$ac_tool_prefix"; then
5108 for ac_prog in dumpbin "link
-dump"
5110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5113 $as_echo_n "checking
for $ac_word...
" >&6; }
5114 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5115 $as_echo_n "(cached
) " >&6
5117 if test -n "$DUMPBIN"; then
5118 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5137 DUMPBIN=$ac_cv_prog_DUMPBIN
5138 if test -n "$DUMPBIN"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5140 $as_echo "$DUMPBIN" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5143 $as_echo "no
" >&6; }
5147 test -n "$DUMPBIN" && break
5150 if test -z "$DUMPBIN"; then
5151 ac_ct_DUMPBIN=$DUMPBIN
5152 for ac_prog in dumpbin "link
-dump"
5154 # Extract the first word of "$ac_prog", so it can be a program name with args.
5155 set dummy $ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5157 $as_echo_n "checking
for $ac_word...
" >&6; }
5158 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5159 $as_echo_n "(cached
) " >&6
5161 if test -n "$ac_ct_DUMPBIN"; then
5162 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5171 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5181 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5182 if test -n "$ac_ct_DUMPBIN"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5184 $as_echo "$ac_ct_DUMPBIN" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5187 $as_echo "no
" >&6; }
5191 test -n "$ac_ct_DUMPBIN" && break
5194 if test "x
$ac_ct_DUMPBIN" = x; then
5197 case $cross_compiling:$ac_tool_warned in
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5200 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5201 ac_tool_warned=yes ;;
5203 DUMPBIN=$ac_ct_DUMPBIN
5207 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5209 DUMPBIN="$DUMPBIN -symbols"
5217 if test "$DUMPBIN" != ":"; then
5221 test -z "$NM" && NM=nm
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5229 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5230 if test "${lt_cv_nm_interface+set}" = set; then :
5231 $as_echo_n "(cached
) " >&6
5233 lt_cv_nm_interface="BSD nm
"
5234 echo "int some_variable
= 0;" > conftest.$ac_ext
5235 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5236 (eval "$ac_compile" 2>conftest.err)
5237 cat conftest.err >&5
5238 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5239 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5240 cat conftest.err >&5
5241 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5242 cat conftest.out >&5
5243 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5244 lt_cv_nm_interface="MS dumpbin
"
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5249 $as_echo "$lt_cv_nm_interface" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5252 $as_echo_n "checking whether
ln -s works...
" >&6; }
5254 if test "$LN_S" = "ln -s"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5256 $as_echo "yes" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5259 $as_echo "no
, using
$LN_S" >&6; }
5262 # find the maximum length of command line arguments
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5264 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5265 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5266 $as_echo_n "(cached
) " >&6
5273 # On DJGPP, this test can blow up pretty badly due to problems in libc
5274 # (any single argument exceeding 2000 bytes causes a buffer overrun
5275 # during glob expansion). Even if it were fixed, the result of this
5276 # check would be larger than it should be.
5277 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5281 # Under GNU Hurd, this test is not required because there is
5282 # no limit to the length of command line arguments.
5283 # Libtool will interpret -1 as no limit whatsoever
5284 lt_cv_sys_max_cmd_len=-1;
5287 cygwin* | mingw* | cegcc*)
5288 # On Win9x/ME, this test blows up -- it succeeds, but takes
5289 # about 5 minutes as the teststring grows exponentially.
5290 # Worse, since 9x/ME are not pre-emptively multitasking,
5291 # you end up with a "frozen
" computer, even though with patience
5292 # the test eventually succeeds (with a max line length of 256k).
5293 # Instead, let's just punt: use the minimum linelength reported by
5294 # all of the supported platforms: 8192 (on NT/2K/XP).
5295 lt_cv_sys_max_cmd_len=8192;
5299 # On MiNT this can take a long time and run out of memory.
5300 lt_cv_sys_max_cmd_len=8192;
5304 # On AmigaOS with pdksh, this test takes hours, literally.
5305 # So we just punt and use a minimum line length of 8192.
5306 lt_cv_sys_max_cmd_len=8192;
5309 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5310 # This has been around since 386BSD, at least. Likely further.
5311 if test -x /sbin/sysctl; then
5312 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5313 elif test -x /usr/sbin/sysctl; then
5314 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5316 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5318 # And add a safety zone
5319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5320 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5324 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5325 lt_cv_sys_max_cmd_len=196608
5329 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5330 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5331 # nice to cause kernel panics so lets avoid the loop below.
5332 # First set a reasonable default.
5333 lt_cv_sys_max_cmd_len=16384
5335 if test -x /sbin/sysconfig; then
5336 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5337 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5342 lt_cv_sys_max_cmd_len=102400
5344 sysv5* | sco5v6* | sysv4.2uw2*)
5345 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5346 if test -n "$kargmax"; then
5347 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5349 lt_cv_sys_max_cmd_len=32768
5353 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5354 if test -n "$lt_cv_sys_max_cmd_len"; then
5355 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5358 # Make teststring a little bigger before we do anything with it.
5359 # a 1K string should be a reasonable start.
5360 for i in 1 2 3 4 5 6 7 8 ; do
5361 teststring=$teststring$teststring
5363 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5364 # If test is not a shell built-in, we'll probably end up computing a
5365 # maximum length that is only half of the actual maximum length, but
5367 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5368 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5369 test $i != 17 # 1/2 MB should be enough
5372 teststring=$teststring$teststring
5374 # Only check the string length outside the loop.
5375 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5377 # Add a significant safety factor because C++ compilers can tack on
5378 # massive amounts of additional arguments before passing them to the
5379 # linker. It appears as though 1/2 is a usable value.
5380 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5387 if test -n $lt_cv_sys_max_cmd_len ; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5389 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5392 $as_echo "none
" >&6; }
5394 max_cmd_len=$lt_cv_sys_max_cmd_len
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5406 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5407 # Try some XSI features
5410 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5412 && eval 'test $(( 1 + 1 )) -eq 2 \
5413 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5416 $as_echo "$xsi_shell" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5420 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5422 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5424 && lt_shell_append
=yes
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5426 $as_echo "$lt_shell_append" >&6; }
5429 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5439 # test EBCDIC or ASCII
5440 case `echo X|tr X '\101'` in
5441 A
) # ASCII based system
5442 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5443 lt_SP2NL
='tr \040 \012'
5444 lt_NL2SP
='tr \015\012 \040\040'
5446 *) # EBCDIC based system
5447 lt_SP2NL
='tr \100 \n'
5448 lt_NL2SP
='tr \r\n \100\100'
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5461 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5462 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5463 $as_echo_n "(cached) " >&6
5465 lt_cv_ld_reload_flag
='-r'
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5468 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5469 reload_flag
=$lt_cv_ld_reload_flag
5470 case $reload_flag in
5472 *) reload_flag
=" $reload_flag" ;;
5474 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5477 if test "$GCC" = yes; then
5478 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5480 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5493 if test -n "$ac_tool_prefix"; then
5494 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5495 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$OBJDUMP"; then
5502 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir
=.
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 OBJDUMP
=$ac_cv_prog_OBJDUMP
5522 if test -n "$OBJDUMP"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5524 $as_echo "$OBJDUMP" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5532 if test -z "$ac_cv_prog_OBJDUMP"; then
5533 ac_ct_OBJDUMP
=$OBJDUMP
5534 # Extract the first word of "objdump", so it can be a program name with args.
5535 set dummy objdump
; ac_word
=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$ac_ct_OBJDUMP"; then
5542 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir
=.
5549 for ac_exec_ext
in '' $ac_executable_extensions; do
5550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5562 if test -n "$ac_ct_OBJDUMP"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5564 $as_echo "$ac_ct_OBJDUMP" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5570 if test "x$ac_ct_OBJDUMP" = x
; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned
=yes ;;
5579 OBJDUMP
=$ac_ct_OBJDUMP
5582 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5585 test -z "$OBJDUMP" && OBJDUMP
=objdump
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5596 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5597 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5598 $as_echo_n "(cached) " >&6
5600 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5601 lt_cv_file_magic_test_file
=
5602 lt_cv_deplibs_check_method
='unknown'
5603 # Need to set the preceding variable on all platforms that support
5604 # interlibrary dependencies.
5605 # 'none' -- dependencies not supported.
5606 # `unknown' -- same as none, but documents that we really don't know.
5607 # 'pass_all' -- all dependencies passed with no checks.
5608 # 'test_compile' -- check by making test program.
5609 # 'file_magic [[regex]]' -- check by looking for files in library path
5610 # which responds to the $file_magic_cmd with a given extended regex.
5611 # If you have `file' or equivalent on your system and you're not sure
5612 # whether `pass_all' will *always* work, you probably want this one.
5616 lt_cv_deplibs_check_method
=pass_all
5620 lt_cv_deplibs_check_method
=pass_all
5624 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5625 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5626 lt_cv_file_magic_test_file
=/shlib
/libc.so
5630 # func_win32_libid is a shell function defined in ltmain.sh
5631 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5632 lt_cv_file_magic_cmd
='func_win32_libid'
5636 # Base MSYS/MinGW do not provide the 'file' command needed by
5637 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5638 # unless we find 'file', for example because we are cross-compiling.
5639 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5640 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5641 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5642 lt_cv_file_magic_cmd
='func_win32_libid'
5644 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5645 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5650 # use the weaker test based on 'objdump'. See mingw*.
5651 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5652 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5655 darwin
* | rhapsody
*)
5656 lt_cv_deplibs_check_method
=pass_all
5659 freebsd
* | dragonfly
*)
5660 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5663 # Not sure whether the presence of OpenBSD here was a mistake.
5664 # Let's accept both of them until this is cleared up.
5665 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5666 lt_cv_file_magic_cmd
=/usr
/bin
/file
5667 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5671 lt_cv_deplibs_check_method
=pass_all
5676 lt_cv_deplibs_check_method
=pass_all
5680 lt_cv_deplibs_check_method
=pass_all
5683 hpux10.20
* | hpux11
*)
5684 lt_cv_file_magic_cmd
=/usr
/bin
/file
5687 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5688 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5691 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]'
5692 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5695 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5696 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5702 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5703 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5706 irix5
* | irix6
* | nonstopux
*)
5708 *-32|
*"-32 ") libmagic
=32-bit;;
5709 *-n32|
*"-n32 ") libmagic
=N32
;;
5710 *-64|
*"-64 ") libmagic
=64-bit;;
5711 *) libmagic
=never-match
;;
5713 lt_cv_deplibs_check_method
=pass_all
5716 # This must be Linux ELF.
5717 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5718 lt_cv_deplibs_check_method
=pass_all
5722 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5723 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5725 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5730 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5731 lt_cv_file_magic_cmd
=/usr
/bin
/file
5732 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5736 lt_cv_deplibs_check_method
=pass_all
5740 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5741 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5743 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5747 osf3
* | osf4
* | osf5
*)
5748 lt_cv_deplibs_check_method
=pass_all
5752 lt_cv_deplibs_check_method
=pass_all
5756 lt_cv_deplibs_check_method
=pass_all
5759 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5760 lt_cv_deplibs_check_method
=pass_all
5764 case $host_vendor in
5766 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]'
5767 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5770 lt_cv_deplibs_check_method
=pass_all
5773 lt_cv_file_magic_cmd
='/bin/file'
5774 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5777 lt_cv_file_magic_cmd
='/bin/file'
5778 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5779 lt_cv_file_magic_test_file
=/lib
/libc.so
5782 lt_cv_deplibs_check_method
=pass_all
5785 lt_cv_deplibs_check_method
=pass_all
5791 lt_cv_deplibs_check_method
=pass_all
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5797 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5798 file_magic_cmd
=$lt_cv_file_magic_cmd
5799 deplibs_check_method
=$lt_cv_deplibs_check_method
5800 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5813 if test -n "$ac_tool_prefix"; then
5814 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5815 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if test "${ac_cv_prog_AR+set}" = set; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$AR"; then
5822 ac_cv_prog_AR
="$AR" # Let the user override the test.
5824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir
=.
5829 for ac_exec_ext
in '' $ac_executable_extensions; do
5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 if test -n "$AR"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5844 $as_echo "$AR" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 if test -z "$ac_cv_prog_AR"; then
5854 # Extract the first word of "ar", so it can be a program name with args.
5855 set dummy
ar; ac_word
=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -n "$ac_ct_AR"; then
5862 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir
=.
5869 for ac_exec_ext
in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_ac_ct_AR
="ar"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5882 if test -n "$ac_ct_AR"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5884 $as_echo "$ac_ct_AR" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5890 if test "x$ac_ct_AR" = x
; then
5893 case $cross_compiling:$ac_tool_warned in
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned
=yes ;;
5905 test -z "$AR" && AR
=ar
5906 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5918 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5920 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if test "${ac_cv_prog_STRIP+set}" = set; then :
5924 $as_echo_n "(cached) " >&6
5926 if test -n "$STRIP"; then
5927 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir
=.
5934 for ac_exec_ext
in '' $ac_executable_extensions; do
5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5936 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 STRIP
=$ac_cv_prog_STRIP
5947 if test -n "$STRIP"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5949 $as_echo "$STRIP" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5957 if test -z "$ac_cv_prog_STRIP"; then
5959 # Extract the first word of "strip", so it can be a program name with args.
5960 set dummy strip
; ac_word
=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5966 if test -n "$ac_ct_STRIP"; then
5967 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir
=.
5974 for ac_exec_ext
in '' $ac_executable_extensions; do
5975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5976 ac_cv_prog_ac_ct_STRIP
="strip"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5987 if test -n "$ac_ct_STRIP"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5989 $as_echo "$ac_ct_STRIP" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5995 if test "x$ac_ct_STRIP" = x
; then
5998 case $cross_compiling:$ac_tool_warned in
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6002 ac_tool_warned
=yes ;;
6007 STRIP
="$ac_cv_prog_STRIP"
6010 test -z "$STRIP" && STRIP
=:
6017 if test -n "$ac_tool_prefix"; then
6018 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6019 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6023 $as_echo_n "(cached) " >&6
6025 if test -n "$RANLIB"; then
6026 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6032 test -z "$as_dir" && as_dir
=.
6033 for ac_exec_ext
in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 RANLIB
=$ac_cv_prog_RANLIB
6046 if test -n "$RANLIB"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6048 $as_echo "$RANLIB" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6056 if test -z "$ac_cv_prog_RANLIB"; then
6057 ac_ct_RANLIB
=$RANLIB
6058 # Extract the first word of "ranlib", so it can be a program name with args.
6059 set dummy ranlib
; ac_word
=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6063 $as_echo_n "(cached) " >&6
6065 if test -n "$ac_ct_RANLIB"; then
6066 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 for ac_exec_ext
in '' $ac_executable_extensions; do
6074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6075 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6086 if test -n "$ac_ct_RANLIB"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6088 $as_echo "$ac_ct_RANLIB" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6094 if test "x$ac_ct_RANLIB" = x
; then
6097 case $cross_compiling:$ac_tool_warned in
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6101 ac_tool_warned
=yes ;;
6103 RANLIB
=$ac_ct_RANLIB
6106 RANLIB
="$ac_cv_prog_RANLIB"
6109 test -z "$RANLIB" && RANLIB
=:
6116 # Determine commands to create old-style static archives.
6117 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6118 old_postinstall_cmds
='chmod 644 $oldlib'
6119 old_postuninstall_cmds
=
6121 if test -n "$RANLIB"; then
6124 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6127 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6130 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6135 lock_old_archive_extraction
=yes ;;
6137 lock_old_archive_extraction
=no
;;
6178 # If no C compiler was specified, use CC.
6181 # If no C compiler flags were specified, use CFLAGS.
6182 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6184 # Allow CC to be a program name with arguments.
6188 # Check for command to grab the raw symbol name followed by C symbol from nm.
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6190 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6191 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6195 # These are sane defaults that work on at least a few old systems.
6196 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6198 # Character class describing NM global symbol codes.
6199 symcode
='[BCDEGRST]'
6201 # Regexp to match symbols that can be accessed directly from C.
6202 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6204 # Define system-specific variables.
6209 cygwin
* | mingw
* | pw32
* | cegcc
*)
6210 symcode
='[ABCDGISTW]'
6213 if test "$host_cpu" = ia64
; then
6214 symcode
='[ABCDEGRST]'
6218 symcode
='[BCDEGRST]'
6221 symcode
='[BCDEGQRST]'
6232 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6240 # If we're using GNU nm, then use its standard symbol codes.
6241 case `$NM -V 2>&1` in
6242 *GNU
* |
*'with BFD'*)
6243 symcode
='[ABCDGIRSTW]' ;;
6246 # Transform an extracted symbol line into a proper C declaration.
6247 # Some systems (esp. on ia64) link data and code symbols differently,
6248 # so use this general approach.
6249 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6251 # Transform an extracted symbol line into symbol name and symbol address
6252 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6253 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'"
6255 # Handle CRLF in mingw tool chain
6259 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6263 # Try without a prefix underscore, then with it.
6264 for ac_symprfx
in "" "_"; do
6266 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6267 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6269 # Write the raw and C identifiers.
6270 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6271 # Fake it for dumpbin and say T for any non-static function
6272 # and D for any global variable.
6273 # Also find C++ and __fastcall symbols from MSVC++,
6274 # which start with @ or ?.
6275 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6276 " {last_section=section; section=\$ 3};"\
6277 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6278 " \$ 0!~/External *\|/{next};"\
6279 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6280 " {if(hide[section]) next};"\
6281 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6282 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6283 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6284 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6285 " ' prfx=^$ac_symprfx"
6287 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6290 # Check to see that the pipe works correctly.
6294 cat > conftest.
$ac_ext <<_LT_EOF
6299 void nm_test_func(void);
6300 void nm_test_func(void){}
6304 int main(){nm_test_var='a';nm_test_func();return(0);}
6307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6308 (eval $ac_compile) 2>&5
6310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6311 test $ac_status = 0; }; then
6312 # Now try to grab the symbols.
6314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6315 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318 test $ac_status = 0; } && test -s "$nlist"; then
6319 # Try sorting and uniquifying the output.
6320 if sort "$nlist" |
uniq > "$nlist"T
; then
6321 mv -f "$nlist"T
"$nlist"
6326 # Make sure that we snagged all the symbols we need.
6327 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6328 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6329 cat <<_LT_EOF > conftest.$ac_ext
6335 # Now generate the symbol file.
6336 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6338 cat <<_LT_EOF >> conftest.$ac_ext
6340 /* The mapping between symbol names and symbols. */
6345 lt__PROGRAM__LTX_preloaded_symbols[] =
6347 { "@PROGRAM@", (void *) 0 },
6349 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6350 cat <<\_LT_EOF
>> conftest.
$ac_ext
6354 /* This works around a problem
in FreeBSD linker
*/
6355 #ifdef FREEBSD_WORKAROUND
6356 static const void
*lt_preloaded_setup
() {
6357 return lt__PROGRAM__LTX_preloaded_symbols
;
6365 # Now try linking the two files.
6366 mv conftest.
$ac_objext conftstm.
$ac_objext
6367 lt_save_LIBS
="$LIBS"
6368 lt_save_CFLAGS
="$CFLAGS"
6369 LIBS
="conftstm.$ac_objext"
6370 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6372 (eval $ac_link) 2>&5
6374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6375 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6378 LIBS
="$lt_save_LIBS"
6379 CFLAGS
="$lt_save_CFLAGS"
6381 echo "cannot find nm_test_func in $nlist" >&5
6384 echo "cannot find nm_test_var in $nlist" >&5
6387 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6390 echo "$progname: failed program was:" >&5
6391 cat conftest.
$ac_ext >&5
6393 rm -rf conftest
* conftst
*
6395 # Do not use the global_symbol_pipe unless it works.
6396 if test "$pipe_works" = yes; then
6399 lt_cv_sys_global_symbol_pipe
=
6405 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6406 lt_cv_sys_global_symbol_to_cdecl
=
6408 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6410 $as_echo "failed" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6413 $as_echo "ok" >&6; }
6438 # Check whether --enable-libtool-lock was given.
6439 if test "${enable_libtool_lock+set}" = set; then :
6440 enableval
=$enable_libtool_lock;
6443 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6445 # Some flags need to be propagated to the compiler or linker for good
6449 # Find out which ABI we are using.
6450 echo 'int i;' > conftest.
$ac_ext
6451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6452 (eval $ac_compile) 2>&5
6454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6455 test $ac_status = 0; }; then
6456 case `/usr/bin/file conftest.$ac_objext` in
6468 # Find out which ABI we are using.
6469 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6470 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6471 (eval $ac_compile) 2>&5
6473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6474 test $ac_status = 0; }; then
6475 if test "$lt_cv_prog_gnu_ld" = yes; then
6476 case `/usr/bin/file conftest.$ac_objext` in
6478 LD
="${LD-ld} -melf32bsmip"
6481 LD
="${LD-ld} -melf32bmipn32"
6484 LD
="${LD-ld} -melf64bmip"
6488 case `/usr/bin/file conftest.$ac_objext` in
6504 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6505 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6506 # Find out which ABI we are using.
6507 echo 'int i;' > conftest.
$ac_ext
6508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6509 (eval $ac_compile) 2>&5
6511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6512 test $ac_status = 0; }; then
6513 case `/usr/bin/file conftest.o` in
6516 x86_64-
*kfreebsd
*-gnu)
6517 LD
="${LD-ld} -m elf_i386_fbsd"
6520 LD
="${LD-ld} -m elf_i386"
6523 LD
="${LD-ld} -m elf32lppclinux"
6526 LD
="${LD-ld} -m elf32ppclinux"
6529 LD
="${LD-ld} -m elf_s390"
6532 LD
="${LD-ld} -m elf32_sparc"
6538 x86_64-
*kfreebsd
*-gnu)
6539 LD
="${LD-ld} -m elf_x86_64_fbsd"
6542 LD
="${LD-ld} -m elf_x86_64"
6545 LD
="${LD-ld} -m elf64lppc"
6548 LD
="${LD-ld} -m elf64ppc"
6550 s390
*-*linux
*|s390
*-*tpf
*)
6551 LD
="${LD-ld} -m elf64_s390"
6554 LD
="${LD-ld} -m elf64_sparc"
6564 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6565 SAVE_CFLAGS
="$CFLAGS"
6566 CFLAGS
="$CFLAGS -belf"
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6568 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6569 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6570 $as_echo_n "(cached) " >&6
6573 ac_cpp
='$CPP $CPPFLAGS'
6574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6589 if ac_fn_c_try_link
"$LINENO"; then :
6590 lt_cv_cc_needs_belf
=yes
6592 lt_cv_cc_needs_belf
=no
6594 rm -f core conftest.err conftest.
$ac_objext \
6595 conftest
$ac_exeext conftest.
$ac_ext
6597 ac_cpp
='$CPP $CPPFLAGS'
6598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6604 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6605 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6606 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6607 CFLAGS
="$SAVE_CFLAGS"
6611 # Find out which ABI we are using.
6612 echo 'int i;' > conftest.
$ac_ext
6613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6614 (eval $ac_compile) 2>&5
6616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6617 test $ac_status = 0; }; then
6618 case `/usr/bin/file conftest.o` in
6620 case $lt_cv_prog_gnu_ld in
6623 i?
86-*-solaris* | x86_64-
*-solaris2.1
[0-9]*)
6624 LD
="${LD-ld} -m elf_x86_64"
6627 LD
="${LD-ld} -m elf64_sparc"
6630 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6631 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6636 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6648 need_locks
="$enable_libtool_lock"
6652 rhapsody
* | darwin
*)
6653 if test -n "$ac_tool_prefix"; then
6654 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6655 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$DSYMUTIL"; then
6662 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir
=.
6669 for ac_exec_ext
in '' $ac_executable_extensions; do
6670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6682 if test -n "$DSYMUTIL"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6684 $as_echo "$DSYMUTIL" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6692 if test -z "$ac_cv_prog_DSYMUTIL"; then
6693 ac_ct_DSYMUTIL
=$DSYMUTIL
6694 # Extract the first word of "dsymutil", so it can be a program name with args.
6695 set dummy dsymutil
; ac_word
=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n "$ac_ct_DSYMUTIL"; then
6702 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir
=.
6709 for ac_exec_ext
in '' $ac_executable_extensions; do
6710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6722 if test -n "$ac_ct_DSYMUTIL"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6724 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6730 if test "x$ac_ct_DSYMUTIL" = x
; then
6733 case $cross_compiling:$ac_tool_warned in
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned
=yes ;;
6739 DSYMUTIL
=$ac_ct_DSYMUTIL
6742 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6745 if test -n "$ac_tool_prefix"; then
6746 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6747 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6753 if test -n "$NMEDIT"; then
6754 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir
=.
6761 for ac_exec_ext
in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 NMEDIT
=$ac_cv_prog_NMEDIT
6774 if test -n "$NMEDIT"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6776 $as_echo "$NMEDIT" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6784 if test -z "$ac_cv_prog_NMEDIT"; then
6785 ac_ct_NMEDIT
=$NMEDIT
6786 # Extract the first word of "nmedit", so it can be a program name with args.
6787 set dummy nmedit
; ac_word
=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$ac_ct_NMEDIT"; then
6794 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6800 test -z "$as_dir" && as_dir
=.
6801 for ac_exec_ext
in '' $ac_executable_extensions; do
6802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6814 if test -n "$ac_ct_NMEDIT"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6816 $as_echo "$ac_ct_NMEDIT" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6822 if test "x$ac_ct_NMEDIT" = x
; then
6825 case $cross_compiling:$ac_tool_warned in
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829 ac_tool_warned
=yes ;;
6831 NMEDIT
=$ac_ct_NMEDIT
6834 NMEDIT
="$ac_cv_prog_NMEDIT"
6837 if test -n "$ac_tool_prefix"; then
6838 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6839 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if test "${ac_cv_prog_LIPO+set}" = set; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$LIPO"; then
6846 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 LIPO
=$ac_cv_prog_LIPO
6866 if test -n "$LIPO"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6868 $as_echo "$LIPO" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6876 if test -z "$ac_cv_prog_LIPO"; then
6878 # Extract the first word of "lipo", so it can be a program name with args.
6879 set dummy lipo
; ac_word
=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$ac_ct_LIPO"; then
6886 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_prog_ac_ct_LIPO
="lipo"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6906 if test -n "$ac_ct_LIPO"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6908 $as_echo "$ac_ct_LIPO" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6914 if test "x$ac_ct_LIPO" = x
; then
6917 case $cross_compiling:$ac_tool_warned in
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921 ac_tool_warned
=yes ;;
6926 LIPO
="$ac_cv_prog_LIPO"
6929 if test -n "$ac_tool_prefix"; then
6930 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6931 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6937 if test -n "$OTOOL"; then
6938 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6944 test -z "$as_dir" && as_dir
=.
6945 for ac_exec_ext
in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 OTOOL
=$ac_cv_prog_OTOOL
6958 if test -n "$OTOOL"; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6960 $as_echo "$OTOOL" >&6; }
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963 $as_echo "no" >&6; }
6968 if test -z "$ac_cv_prog_OTOOL"; then
6970 # Extract the first word of "otool", so it can be a program name with args.
6971 set dummy otool
; ac_word
=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6975 $as_echo_n "(cached) " >&6
6977 if test -n "$ac_ct_OTOOL"; then
6978 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir
=.
6985 for ac_exec_ext
in '' $ac_executable_extensions; do
6986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987 ac_cv_prog_ac_ct_OTOOL
="otool"
6988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6998 if test -n "$ac_ct_OTOOL"; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7000 $as_echo "$ac_ct_OTOOL" >&6; }
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7006 if test "x$ac_ct_OTOOL" = x
; then
7009 case $cross_compiling:$ac_tool_warned in
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7013 ac_tool_warned
=yes ;;
7018 OTOOL
="$ac_cv_prog_OTOOL"
7021 if test -n "$ac_tool_prefix"; then
7022 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7023 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025 $as_echo_n "checking for $ac_word... " >&6; }
7026 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7027 $as_echo_n "(cached) " >&6
7029 if test -n "$OTOOL64"; then
7030 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir
=.
7037 for ac_exec_ext
in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049 OTOOL64
=$ac_cv_prog_OTOOL64
7050 if test -n "$OTOOL64"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7052 $as_echo "$OTOOL64" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 $as_echo "no" >&6; }
7060 if test -z "$ac_cv_prog_OTOOL64"; then
7061 ac_ct_OTOOL64
=$OTOOL64
7062 # Extract the first word of "otool64", so it can be a program name with args.
7063 set dummy otool64
; ac_word
=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7067 $as_echo_n "(cached) " >&6
7069 if test -n "$ac_ct_OTOOL64"; then
7070 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7076 test -z "$as_dir" && as_dir
=.
7077 for ac_exec_ext
in '' $ac_executable_extensions; do
7078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7090 if test -n "$ac_ct_OTOOL64"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7092 $as_echo "$ac_ct_OTOOL64" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7098 if test "x$ac_ct_OTOOL64" = x
; then
7101 case $cross_compiling:$ac_tool_warned in
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105 ac_tool_warned
=yes ;;
7107 OTOOL64
=$ac_ct_OTOOL64
7110 OTOOL64
="$ac_cv_prog_OTOOL64"
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7140 $as_echo_n "checking for -single_module linker flag... " >&6; }
7141 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7142 $as_echo_n "(cached) " >&6
7144 lt_cv_apple_cc_single_mod
=no
7145 if test -z "${LT_MULTI_MODULE}"; then
7146 # By default we will add the -single_module flag. You can override
7147 # by either setting the environment variable LT_MULTI_MODULE
7148 # non-empty at configure time, or by adding -multi_module to the
7150 rm -rf libconftest.dylib
*
7151 echo "int foo(void){return 1;}" > conftest.c
7152 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7153 -dynamiclib -Wl,-single_module conftest.c" >&5
7154 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7155 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7157 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7158 lt_cv_apple_cc_single_mod
=yes
7160 cat conftest.err
>&5
7162 rm -rf libconftest.dylib
*
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7167 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7169 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7170 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7171 $as_echo_n "(cached) " >&6
7173 lt_cv_ld_exported_symbols_list
=no
7174 save_LDFLAGS
=$LDFLAGS
7175 echo "_main" > conftest.sym
7176 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7188 if ac_fn_c_try_link
"$LINENO"; then :
7189 lt_cv_ld_exported_symbols_list
=yes
7191 lt_cv_ld_exported_symbols_list
=no
7193 rm -f core conftest.err conftest.
$ac_objext \
7194 conftest
$ac_exeext conftest.
$ac_ext
7195 LDFLAGS
="$save_LDFLAGS"
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7199 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7201 $as_echo_n "checking for -force_load linker flag... " >&6; }
7202 if test "${lt_cv_ld_force_load+set}" = set; then :
7203 $as_echo_n "(cached) " >&6
7205 lt_cv_ld_force_load
=no
7206 cat > conftest.c
<< _LT_EOF
7207 int forced_loaded() { return 2;}
7209 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7210 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7211 echo "$AR cru libconftest.a conftest.o" >&5
7212 $AR cru libconftest.a conftest.o
2>&5
7213 cat > conftest.c
<< _LT_EOF
7214 int main() { return 0;}
7216 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7217 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7219 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7220 lt_cv_ld_force_load
=yes
7222 cat conftest.err
>&5
7224 rm -f conftest.err libconftest.a conftest conftest.c
7225 rm -rf conftest.dSYM
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7229 $as_echo "$lt_cv_ld_force_load" >&6; }
7231 rhapsody
* | darwin1.
[012])
7232 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7234 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7235 darwin
*) # darwin 5.x on
7236 # if running on 10.5 or later, the deployment target defaults
7237 # to the OS version, if on x86, and 10.4, the deployment
7238 # target defaults to 10.4. Don't you love it?
7239 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7240 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7241 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7243 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7245 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7249 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7250 _lt_dar_single_mod
='$single_module'
7252 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7253 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7255 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7257 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7258 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7266 ac_cpp
='$CPP $CPPFLAGS'
7267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7271 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7272 # On Suns, sometimes $CPP names a directory.
7273 if test -n "$CPP" && test -d "$CPP"; then
7276 if test -z "$CPP"; then
7277 if test "${ac_cv_prog_CPP+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7280 # Double quotes because CPP needs to be expanded
7281 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7284 for ac_c_preproc_warn_flag
in '' yes
7286 # Use a header file that comes with gcc, so configuring glibc
7287 # with a fresh cross-compiler works.
7288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7289 # <limits.h> exists even on freestanding compilers.
7290 # On the NeXT, cc -E runs the code through the compiler's parser,
7291 # not just through cpp. "Syntax error" is here to catch this case.
7292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7293 /* end confdefs.h. */
7295 # include <limits.h>
7297 # include <assert.h>
7301 if ac_fn_c_try_cpp
"$LINENO"; then :
7304 # Broken: fails on valid input.
7307 rm -f conftest.err conftest.
$ac_ext
7309 # OK, works on sane cases. Now check whether nonexistent headers
7310 # can be detected and how.
7311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 #include <ac_nonexistent.h>
7315 if ac_fn_c_try_cpp
"$LINENO"; then :
7316 # Broken: success on invalid input.
7319 # Passes both tests.
7323 rm -f conftest.err conftest.
$ac_ext
7326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7327 rm -f conftest.err conftest.
$ac_ext
7328 if $ac_preproc_ok; then :
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7341 $as_echo "$CPP" >&6; }
7343 for ac_c_preproc_warn_flag
in '' yes
7345 # Use a header file that comes with gcc, so configuring glibc
7346 # with a fresh cross-compiler works.
7347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7348 # <limits.h> exists even on freestanding compilers.
7349 # On the NeXT, cc -E runs the code through the compiler's parser,
7350 # not just through cpp. "Syntax error" is here to catch this case.
7351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7352 /* end confdefs.h. */
7354 # include <limits.h>
7356 # include <assert.h>
7360 if ac_fn_c_try_cpp
"$LINENO"; then :
7363 # Broken: fails on valid input.
7366 rm -f conftest.err conftest.
$ac_ext
7368 # OK, works on sane cases. Now check whether nonexistent headers
7369 # can be detected and how.
7370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <ac_nonexistent.h>
7374 if ac_fn_c_try_cpp
"$LINENO"; then :
7375 # Broken: success on invalid input.
7378 # Passes both tests.
7382 rm -f conftest.err conftest.
$ac_ext
7385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7386 rm -f conftest.err conftest.
$ac_ext
7387 if $ac_preproc_ok; then :
7390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7392 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7393 See \`config.log' for more details." "$LINENO" 5; }
7397 ac_cpp
='$CPP $CPPFLAGS'
7398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7404 $as_echo_n "checking for ANSI C header files... " >&6; }
7405 if test "${ac_cv_header_stdc+set}" = set; then :
7406 $as_echo_n "(cached) " >&6
7408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h. */
7423 if ac_fn_c_try_compile
"$LINENO"; then :
7424 ac_cv_header_stdc
=yes
7426 ac_cv_header_stdc
=no
7428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7430 if test $ac_cv_header_stdc = yes; then
7431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7438 $EGREP "memchr" >/dev
/null
2>&1; then :
7441 ac_cv_header_stdc
=no
7447 if test $ac_cv_header_stdc = yes; then
7448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7455 $EGREP "free" >/dev
/null
2>&1; then :
7458 ac_cv_header_stdc
=no
7464 if test $ac_cv_header_stdc = yes; then
7465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7466 if test "$cross_compiling" = yes; then :
7469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7473 #if ((' ' & 0x0FF) == 0x020)
7474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7477 # define ISLOWER(c) \
7478 (('a' <= (c) && (c) <= 'i') \
7479 || ('j' <= (c) && (c) <= 'r') \
7480 || ('s' <= (c) && (c) <= 'z'))
7481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7489 for (i = 0; i < 256; i++)
7490 if (XOR (islower (i), ISLOWER (i))
7491 || toupper (i) != TOUPPER (i))
7496 if ac_fn_c_try_run
"$LINENO"; then :
7499 ac_cv_header_stdc
=no
7501 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7502 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7508 $as_echo "$ac_cv_header_stdc" >&6; }
7509 if test $ac_cv_header_stdc = yes; then
7511 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7515 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7516 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7517 inttypes.h stdint.h unistd.h
7519 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7520 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7522 eval as_val
=\$
$as_ac_Header
7523 if test "x$as_val" = x
""yes; then :
7524 cat >>confdefs.h
<<_ACEOF
7525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7533 for ac_header
in dlfcn.h
7535 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7537 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7538 cat >>confdefs.h
<<_ACEOF
7539 #define HAVE_DLFCN_H 1
7546 if test -n "$ac_tool_prefix"; then
7547 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7548 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_GOC+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7554 if test -n "$GOC"; then
7555 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir
=.
7562 for ac_exec_ext
in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 if test -n "$GOC"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7577 $as_echo "$GOC" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7585 if test -z "$ac_cv_prog_GOC"; then
7587 # Extract the first word of "gccgo", so it can be a program name with args.
7588 set dummy gccgo
; ac_word
=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$ac_ct_GOC"; then
7595 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir
=.
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604 ac_cv_prog_ac_ct_GOC
="gccgo"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7615 if test -n "$ac_ct_GOC"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7617 $as_echo "$ac_ct_GOC" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7623 if test "x$ac_ct_GOC" = x
; then
7626 case $cross_compiling:$ac_tool_warned in
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7630 ac_tool_warned
=yes ;;
7635 GOC
="$ac_cv_prog_GOC"
7651 # Check whether --enable-shared was given.
7652 if test "${enable_shared+set}" = set; then :
7653 enableval
=$enable_shared; p
=${PACKAGE-default}
7655 yes) enable_shared
=yes ;;
7656 no
) enable_shared
=no
;;
7659 # Look at the argument we got. We use all the common list separators.
7660 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7661 for pkg
in $enableval; do
7663 if test "X$pkg" = "X$p"; then
7682 # Check whether --enable-static was given.
7683 if test "${enable_static+set}" = set; then :
7684 enableval
=$enable_static; p
=${PACKAGE-default}
7686 yes) enable_static
=yes ;;
7687 no
) enable_static
=no
;;
7690 # Look at the argument we got. We use all the common list separators.
7691 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7692 for pkg
in $enableval; do
7694 if test "X$pkg" = "X$p"; then
7714 # Check whether --with-pic was given.
7715 if test "${with_pic+set}" = set; then :
7716 withval
=$with_pic; pic_mode
="$withval"
7722 test -z "$pic_mode" && pic_mode
=default
7730 # Check whether --enable-fast-install was given.
7731 if test "${enable_fast_install+set}" = set; then :
7732 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7734 yes) enable_fast_install
=yes ;;
7735 no
) enable_fast_install
=no
;;
7737 enable_fast_install
=no
7738 # Look at the argument we got. We use all the common list separators.
7739 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7740 for pkg
in $enableval; do
7742 if test "X$pkg" = "X$p"; then
7743 enable_fast_install
=yes
7750 enable_fast_install
=yes
7763 # This can be used to rebuild libtool when needed
7764 LIBTOOL_DEPS
="$ltmain"
7766 # Always use our own libtool.
7767 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7794 test -z "$LN_S" && LN_S
="ln -s"
7809 if test -n "${ZSH_VERSION+set}" ; then
7810 setopt NO_GLOB_SUBST
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7814 $as_echo_n "checking for objdir... " >&6; }
7815 if test "${lt_cv_objdir+set}" = set; then :
7816 $as_echo_n "(cached) " >&6
7818 rm -f .libs
2>/dev
/null
7819 mkdir .libs
2>/dev
/null
7820 if test -d .libs
; then
7823 # MS-DOS does not allow filenames that begin with a dot.
7826 rmdir .libs
2>/dev
/null
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7829 $as_echo "$lt_cv_objdir" >&6; }
7830 objdir
=$lt_cv_objdir
7836 cat >>confdefs.h
<<_ACEOF
7837 #define LT_OBJDIR "$lt_cv_objdir/"
7845 # AIX sometimes has problems with the GCC collect2 program. For some
7846 # reason, if we set the COLLECT_NAMES environment variable, the problems
7847 # vanish in a puff of smoke.
7848 if test "X${COLLECT_NAMES+set}" != Xset
; then
7850 export COLLECT_NAMES
7857 can_build_shared
=yes
7859 # All known linkers require a `.a' archive for static linking (except MSVC,
7860 # which needs '.lib').
7863 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7866 old_CFLAGS
="$CFLAGS"
7868 # Set sane defaults for various variables
7869 test -z "$CC" && CC
=cc
7870 test -z "$LTCC" && LTCC
=$CC
7871 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7872 test -z "$LD" && LD
=ld
7873 test -z "$ac_objext" && ac_objext
=o
7875 for cc_temp
in $compiler""; do
7877 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7878 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7883 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7886 # Only perform the check for file, if the check method requires it
7887 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7888 case $deplibs_check_method in
7890 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7892 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7893 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7894 $as_echo_n "(cached) " >&6
7898 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7901 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7902 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7903 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7904 for ac_dir
in $ac_dummy; do
7906 test -z "$ac_dir" && ac_dir
=.
7907 if test -f $ac_dir/${ac_tool_prefix}file; then
7908 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7909 if test -n "$file_magic_test_file"; then
7910 case $deplibs_check_method in
7912 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7913 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7914 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7915 $EGREP "$file_magic_regex" > /dev
/null
; then
7920 *** Warning: the command libtool uses to detect shared libraries,
7921 *** $file_magic_cmd, produces output that libtool cannot recognize.
7922 *** The result is that libtool may fail to recognize shared libraries
7923 *** as such. This will affect the creation of libtool libraries that
7924 *** depend on shared libraries, but programs linked with such libtool
7925 *** libraries will work regardless of this problem. Nevertheless, you
7926 *** may want to report the problem to your system manager and/or to
7927 *** bug-libtool@gnu.org
7937 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7943 if test -n "$MAGIC_CMD"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7945 $as_echo "$MAGIC_CMD" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7955 if test -z "$lt_cv_path_MAGIC_CMD"; then
7956 if test -n "$ac_tool_prefix"; then
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7958 $as_echo_n "checking for file... " >&6; }
7959 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7960 $as_echo_n "(cached) " >&6
7964 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7967 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7968 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7969 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7970 for ac_dir
in $ac_dummy; do
7972 test -z "$ac_dir" && ac_dir
=.
7973 if test -f $ac_dir/file; then
7974 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7975 if test -n "$file_magic_test_file"; then
7976 case $deplibs_check_method in
7978 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7979 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7980 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7981 $EGREP "$file_magic_regex" > /dev
/null
; then
7986 *** Warning: the command libtool uses to detect shared libraries,
7987 *** $file_magic_cmd, produces output that libtool cannot recognize.
7988 *** The result is that libtool may fail to recognize shared libraries
7989 *** as such. This will affect the creation of libtool libraries that
7990 *** depend on shared libraries, but programs linked with such libtool
7991 *** libraries will work regardless of this problem. Nevertheless, you
7992 *** may want to report the problem to your system manager and/or to
7993 *** bug-libtool@gnu.org
8003 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8008 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8009 if test -n "$MAGIC_CMD"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8011 $as_echo "$MAGIC_CMD" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8027 # Use C for the default configuration in the libtool script
8031 ac_cpp
='$CPP $CPPFLAGS'
8032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8037 # Source file extension for C test sources.
8040 # Object file extension for compiled C test sources.
8044 # Code to be used in simple compile tests
8045 lt_simple_compile_test_code
="int some_variable = 0;"
8047 # Code to be used in simple link tests
8048 lt_simple_link_test_code
='int main(){return(0);}'
8056 # If no C compiler was specified, use CC.
8059 # If no C compiler flags were specified, use CFLAGS.
8060 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8062 # Allow CC to be a program name with arguments.
8065 # Save the default compiler, since it gets overwritten when the other
8066 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8067 compiler_DEFAULT
=$CC
8069 # save warnings/boilerplate of simple test code
8070 ac_outfile
=conftest.
$ac_objext
8071 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8072 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8073 _lt_compiler_boilerplate
=`cat conftest.err`
8076 ac_outfile
=conftest.
$ac_objext
8077 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8078 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8079 _lt_linker_boilerplate
=`cat conftest.err`
8084 ## There is no encapsulation within the following macros, do not change
8085 ## the running order or otherwise move them around unless you know exactly
8086 ## what you are doing...
8087 if test -n "$compiler"; then
8089 lt_prog_compiler_no_builtin_flag
=
8091 if test "$GCC" = yes; then
8092 case $cc_basename in
8094 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8096 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8100 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8101 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8102 $as_echo_n "(cached) " >&6
8104 lt_cv_prog_compiler_rtti_exceptions
=no
8105 ac_outfile
=conftest.
$ac_objext
8106 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8107 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8108 # Insert the option either (1) after the last *FLAGS variable, or
8109 # (2) before a word containing "conftest.", or (3) at the end.
8110 # Note that $ac_compile itself does not contain backslashes and begins
8111 # with a dollar sign (not a hyphen), so the echo should work correctly.
8112 # The option is referenced via a variable to avoid confusing sed.
8113 lt_compile
=`echo "$ac_compile" | $SED \
8114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8116 -e 's:$: $lt_compiler_flag:'`
8117 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8118 (eval "$lt_compile" 2>conftest.err
)
8120 cat conftest.err
>&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 if (exit $ac_status) && test -s "$ac_outfile"; then
8123 # The compiler can only warn and ignore the option if not recognized
8124 # So say no if there are warnings other than the usual output.
8125 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8126 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8127 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8128 lt_cv_prog_compiler_rtti_exceptions
=yes
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8135 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8137 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8138 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8150 lt_prog_compiler_wl
=
8151 lt_prog_compiler_pic
=
8152 lt_prog_compiler_static
=
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8155 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8157 if test "$GCC" = yes; then
8158 lt_prog_compiler_wl
='-Wl,'
8159 lt_prog_compiler_static
='-static'
8163 # All AIX code is PIC.
8164 if test "$host_cpu" = ia64
; then
8165 # AIX 5 now supports IA64 processor
8166 lt_prog_compiler_static
='-Bstatic'
8173 # see comment about AmigaOS4 .so support
8174 lt_prog_compiler_pic
='-fPIC'
8177 # FIXME: we need at least 68020 code to build shared libraries, but
8178 # adding the `-m68020' flag to GCC prevents building anything better,
8180 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8185 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8186 # PIC is the default for these OSes.
8189 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8190 # This hack is so that the source file can tell whether it is being
8191 # built for inclusion in a dll (and should export symbols for example).
8192 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8193 # (--disable-auto-import) libraries
8194 lt_prog_compiler_pic
='-DDLL_EXPORT'
8197 darwin
* | rhapsody
*)
8198 # PIC is the default on this platform
8199 # Common symbols not allowed in MH_DYLIB files
8200 lt_prog_compiler_pic
='-fno-common'
8204 # PIC is the default for Haiku.
8205 # The "-static" flag exists, but is broken.
8206 lt_prog_compiler_static
=
8210 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8211 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8212 # sets the default TLS model and affects inlining.
8218 lt_prog_compiler_pic
='-fPIC'
8224 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8225 # Instead, we relocate shared libraries at runtime.
8229 # Just because we use GCC doesn't mean we suddenly get shared libraries
8230 # on systems that don't support them.
8231 lt_prog_compiler_can_build_shared
=no
8236 # QNX uses GNU C++, but need to define -shared option too, otherwise
8238 lt_prog_compiler_pic
='-fPIC -shared'
8242 if test -d /usr
/nec
; then
8243 lt_prog_compiler_pic
=-Kconform_pic
8248 lt_prog_compiler_pic
='-fPIC'
8252 case $cc_basename in
8253 nvcc
*) # Cuda Compiler Driver 2.2
8254 lt_prog_compiler_wl
='-Xlinker '
8255 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8259 # PORTME Check for flag to pass linker flags through the system compiler.
8262 lt_prog_compiler_wl
='-Wl,'
8263 if test "$host_cpu" = ia64
; then
8264 # AIX 5 now supports IA64 processor
8265 lt_prog_compiler_static
='-Bstatic'
8267 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8271 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8272 # This hack is so that the source file can tell whether it is being
8273 # built for inclusion in a dll (and should export symbols for example).
8274 lt_prog_compiler_pic
='-DDLL_EXPORT'
8277 hpux9
* | hpux10
* | hpux11
*)
8278 lt_prog_compiler_wl
='-Wl,'
8279 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8286 lt_prog_compiler_pic
='+Z'
8289 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8290 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8293 irix5
* | irix6
* | nonstopux
*)
8294 lt_prog_compiler_wl
='-Wl,'
8295 # PIC (with -KPIC) is the default.
8296 lt_prog_compiler_static
='-non_shared'
8299 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8300 case $cc_basename in
8301 # old Intel for x86_64 which still supported -KPIC.
8303 lt_prog_compiler_wl
='-Wl,'
8304 lt_prog_compiler_pic
='-KPIC'
8305 lt_prog_compiler_static
='-static'
8307 # icc used to be incompatible with GCC.
8308 # ICC 10 doesn't accept -KPIC any more.
8310 lt_prog_compiler_wl
='-Wl,'
8311 lt_prog_compiler_pic
='-fPIC'
8312 lt_prog_compiler_static
='-static'
8314 # Lahey Fortran 8.1.
8316 lt_prog_compiler_wl
='-Wl,'
8317 lt_prog_compiler_pic
='--shared'
8318 lt_prog_compiler_static
='--static'
8320 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8321 # Portland Group compilers (*not* the Pentium gcc compiler,
8322 # which looks to be a dead project)
8323 lt_prog_compiler_wl
='-Wl,'
8324 lt_prog_compiler_pic
='-fpic'
8325 lt_prog_compiler_static
='-Bstatic'
8328 lt_prog_compiler_wl
='-Wl,'
8329 # All Alpha code is PIC.
8330 lt_prog_compiler_static
='-non_shared'
8332 xl
* | bgxl
* | bgf
* | mpixl
*)
8333 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8334 lt_prog_compiler_wl
='-Wl,'
8335 lt_prog_compiler_pic
='-qpic'
8336 lt_prog_compiler_static
='-qstaticlink'
8339 case `$CC -V 2>&1 | sed 5q` in
8340 *Sun\ F
* |
*Sun
*Fortran
*)
8341 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8342 lt_prog_compiler_pic
='-KPIC'
8343 lt_prog_compiler_static
='-Bstatic'
8344 lt_prog_compiler_wl
=''
8348 lt_prog_compiler_pic
='-KPIC'
8349 lt_prog_compiler_static
='-Bstatic'
8350 lt_prog_compiler_wl
='-Wl,'
8358 lt_prog_compiler_pic
='-KPIC'
8359 lt_prog_compiler_static
='-Bstatic'
8363 # QNX uses GNU C++, but need to define -shared option too, otherwise
8365 lt_prog_compiler_pic
='-fPIC -shared'
8368 osf3
* | osf4
* | osf5
*)
8369 lt_prog_compiler_wl
='-Wl,'
8370 # All OSF/1 code is PIC.
8371 lt_prog_compiler_static
='-non_shared'
8375 lt_prog_compiler_static
='-non_shared'
8379 lt_prog_compiler_pic
='-KPIC'
8380 lt_prog_compiler_static
='-Bstatic'
8381 case $cc_basename in
8383 lt_prog_compiler_wl
='-Qoption ld ';;
8385 lt_prog_compiler_wl
='-Wl,';;
8390 lt_prog_compiler_wl
='-Qoption ld '
8391 lt_prog_compiler_pic
='-PIC'
8392 lt_prog_compiler_static
='-Bstatic'
8395 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8396 lt_prog_compiler_wl
='-Wl,'
8397 lt_prog_compiler_pic
='-KPIC'
8398 lt_prog_compiler_static
='-Bstatic'
8402 if test -d /usr
/nec
;then
8403 lt_prog_compiler_pic
='-Kconform_pic'
8404 lt_prog_compiler_static
='-Bstatic'
8408 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8409 lt_prog_compiler_wl
='-Wl,'
8410 lt_prog_compiler_pic
='-KPIC'
8411 lt_prog_compiler_static
='-Bstatic'
8415 lt_prog_compiler_wl
='-Wl,'
8416 lt_prog_compiler_can_build_shared
=no
8420 lt_prog_compiler_pic
='-pic'
8421 lt_prog_compiler_static
='-Bstatic'
8425 lt_prog_compiler_can_build_shared
=no
8431 # For platforms which do not support PIC, -DPIC is meaningless:
8433 lt_prog_compiler_pic
=
8436 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8440 $as_echo "$lt_prog_compiler_pic" >&6; }
8448 # Check to make sure the PIC flag actually works.
8450 if test -n "$lt_prog_compiler_pic"; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8452 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8453 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8454 $as_echo_n "(cached) " >&6
8456 lt_cv_prog_compiler_pic_works
=no
8457 ac_outfile
=conftest.
$ac_objext
8458 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8459 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8460 # Insert the option either (1) after the last *FLAGS variable, or
8461 # (2) before a word containing "conftest.", or (3) at the end.
8462 # Note that $ac_compile itself does not contain backslashes and begins
8463 # with a dollar sign (not a hyphen), so the echo should work correctly.
8464 # The option is referenced via a variable to avoid confusing sed.
8465 lt_compile
=`echo "$ac_compile" | $SED \
8466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8468 -e 's:$: $lt_compiler_flag:'`
8469 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8470 (eval "$lt_compile" 2>conftest.err
)
8472 cat conftest.err
>&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 if (exit $ac_status) && test -s "$ac_outfile"; then
8475 # The compiler can only warn and ignore the option if not recognized
8476 # So say no if there are warnings other than the usual output.
8477 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8478 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8479 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8480 lt_cv_prog_compiler_pic_works
=yes
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8487 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8489 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8490 case $lt_prog_compiler_pic in
8492 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8495 lt_prog_compiler_pic
=
8496 lt_prog_compiler_can_build_shared
=no
8507 # Check to make sure the static flag actually works.
8509 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8511 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8512 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8513 $as_echo_n "(cached) " >&6
8515 lt_cv_prog_compiler_static_works
=no
8516 save_LDFLAGS
="$LDFLAGS"
8517 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8518 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8519 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8520 # The linker can only warn and ignore the option if not recognized
8521 # So say no if there are warnings
8522 if test -s conftest.err
; then
8523 # Append any errors to the config.log.
8524 cat conftest.err
1>&5
8525 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8526 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8527 if diff conftest.exp conftest.er2
>/dev
/null
; then
8528 lt_cv_prog_compiler_static_works
=yes
8531 lt_cv_prog_compiler_static_works
=yes
8535 LDFLAGS
="$save_LDFLAGS"
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8539 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8541 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8544 lt_prog_compiler_static
=
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8555 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8556 $as_echo_n "(cached) " >&6
8558 lt_cv_prog_compiler_c_o
=no
8559 $RM -r conftest
2>/dev
/null
8563 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8565 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8566 # Insert the option either (1) after the last *FLAGS variable, or
8567 # (2) before a word containing "conftest.", or (3) at the end.
8568 # Note that $ac_compile itself does not contain backslashes and begins
8569 # with a dollar sign (not a hyphen), so the echo should work correctly.
8570 lt_compile
=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>out
/conftest.err
)
8577 cat out
/conftest.err
>&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8581 # The compiler can only warn and ignore the option if not recognized
8582 # So say no if there are warnings
8583 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8584 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8585 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8586 lt_cv_prog_compiler_c_o
=yes
8591 # SGI C++ compiler will create directory out/ii_files/ for
8592 # template instantiation
8593 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8594 $RM out
/* && rmdir out
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8601 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8609 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8610 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8611 $as_echo_n "(cached) " >&6
8613 lt_cv_prog_compiler_c_o
=no
8614 $RM -r conftest
2>/dev
/null
8618 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8620 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8621 # Insert the option either (1) after the last *FLAGS variable, or
8622 # (2) before a word containing "conftest.", or (3) at the end.
8623 # Note that $ac_compile itself does not contain backslashes and begins
8624 # with a dollar sign (not a hyphen), so the echo should work correctly.
8625 lt_compile
=`echo "$ac_compile" | $SED \
8626 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8627 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8628 -e 's:$: $lt_compiler_flag:'`
8629 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8630 (eval "$lt_compile" 2>out
/conftest.err
)
8632 cat out
/conftest.err
>&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8636 # The compiler can only warn and ignore the option if not recognized
8637 # So say no if there are warnings
8638 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8639 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8640 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8641 lt_cv_prog_compiler_c_o
=yes
8646 # SGI C++ compiler will create directory out/ii_files/ for
8647 # template instantiation
8648 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8649 $RM out
/* && rmdir out
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8656 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8661 hard_links
="nottested"
8662 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8663 # do not overwrite the value of need_locks provided by the user
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8665 $as_echo_n "checking if we can lock with hard links... " >&6; }
8668 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8670 ln conftest.a conftest.b
2>&5 || hard_links
=no
8671 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8673 $as_echo "$hard_links" >&6; }
8674 if test "$hard_links" = no
; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8676 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8689 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8692 allow_undefined_flag
=
8693 always_export_symbols
=no
8695 archive_expsym_cmds
=
8696 compiler_needs_object
=no
8697 enable_shared_with_static_runtimes
=no
8698 export_dynamic_flag_spec
=
8699 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8700 hardcode_automatic
=no
8702 hardcode_direct_absolute
=no
8703 hardcode_libdir_flag_spec
=
8704 hardcode_libdir_flag_spec_ld
=
8705 hardcode_libdir_separator
=
8707 hardcode_shlibpath_var
=unsupported
8709 link_all_deplibs
=unknown
8712 old_archive_from_new_cmds
=
8713 old_archive_from_expsyms_cmds
=
8714 thread_safe_flag_spec
=
8715 whole_archive_flag_spec
=
8716 # include_expsyms should be a list of space-separated symbols to be *always*
8717 # included in the symbol list
8719 # exclude_expsyms can be an extended regexp of symbols to exclude
8720 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8721 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8722 # as well as any symbol that contains `d'.
8723 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8724 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8725 # platforms (ab)use it in PIC code, but their linkers get confused if
8726 # the symbol is explicitly referenced. Since portable code cannot
8727 # rely on this symbol name, it's probably fine to never include it in
8728 # preloaded symbol tables.
8729 # Exclude shared library initialization/finalization symbols.
8730 extract_expsyms_cmds
=
8733 cygwin
* | mingw
* | pw32
* | cegcc
*)
8734 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8735 # When not using gcc, we currently assume that we are using
8736 # Microsoft Visual C++.
8737 if test "$GCC" != yes; then
8742 # we just hope/assume this is gcc and not c89 (= MSVC++)
8752 # On some targets, GNU ld is compatible enough with the native linker
8753 # that we're better off using the native interface for both.
8754 lt_use_gnu_ld_interface
=no
8755 if test "$with_gnu_ld" = yes; then
8758 # The AIX port of GNU ld has always aspired to compatibility
8759 # with the native linker. However, as the warning in the GNU ld
8760 # block says, versions before 2.19.5* couldn't really create working
8761 # shared libraries, regardless of the interface used.
8762 case `$LD -v 2>&1` in
8763 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8764 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8765 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8767 lt_use_gnu_ld_interface
=yes
8772 lt_use_gnu_ld_interface
=yes
8777 if test "$lt_use_gnu_ld_interface" = yes; then
8778 # If archive_cmds runs LD, not CC, wlarc should be empty
8781 # Set some defaults for GNU ld with shared library support. These
8782 # are reset later if shared libraries are not supported. Putting them
8783 # here allows them to be overridden if necessary.
8784 runpath_var
=LD_RUN_PATH
8785 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8786 export_dynamic_flag_spec
='${wl}--export-dynamic'
8787 # ancient GNU ld didn't support --whole-archive et. al.
8788 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8789 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8791 whole_archive_flag_spec
=
8793 supports_anon_versioning
=no
8794 case `$LD -v 2>&1` in
8795 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8796 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8797 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8798 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8799 *\
2.11.
*) ;; # other 2.11 versions
8800 *) supports_anon_versioning
=yes ;;
8803 # See if GNU ld supports shared libraries.
8806 # On AIX/PPC, the GNU linker is very broken
8807 if test "$host_cpu" != ia64
; then
8811 *** Warning: the GNU linker, at least up to release 2.19, is reported
8812 *** to be unable to reliably create shared libraries on AIX.
8813 *** Therefore, libtool is disabling shared libraries support. If you
8814 *** really care for shared libraries, you may want to install binutils
8815 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8816 *** You will then need to restart the configuration process.
8825 # see comment about AmigaOS4 .so support
8826 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8827 archive_expsym_cmds
=''
8830 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)'
8831 hardcode_libdir_flag_spec
='-L$libdir'
8832 hardcode_minus_L
=yes
8838 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8839 allow_undefined_flag
=unsupported
8840 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8841 # support --undefined. This deserves some investigation. FIXME
8842 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848 cygwin
* | mingw
* | pw32
* | cegcc
*)
8849 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8850 # as there is no search path for DLLs.
8851 hardcode_libdir_flag_spec
='-L$libdir'
8852 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8853 allow_undefined_flag
=unsupported
8854 always_export_symbols
=no
8855 enable_shared_with_static_runtimes
=yes
8856 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8858 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8859 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8860 # If the export-symbols file already is a .def file (1st line
8861 # is EXPORTS), use it as is; otherwise, prepend...
8862 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8863 cp $export_symbols $output_objdir/$soname.def;
8865 echo EXPORTS > $output_objdir/$soname.def;
8866 cat $export_symbols >> $output_objdir/$soname.def;
8868 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8875 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8876 link_all_deplibs
=yes
8881 hardcode_shlibpath_var
=no
8882 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8883 export_dynamic_flag_spec
='${wl}-E'
8884 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8885 # Instead, shared libraries are loaded at an image base (0x10000000 by
8886 # default) and relocated if they conflict, which is a slow very memory
8887 # consuming and fragmenting process. To avoid this, we pick a random,
8888 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8889 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8890 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8891 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'
8894 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8896 if test "$host_os" = linux-dietlibc
; then
8897 case $cc_basename in
8898 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8901 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8902 && test "$tmp_diet" = no
8905 tmp_sharedflag
='-shared'
8906 case $cc_basename,$host_cpu in
8907 pgcc
*) # Portland Group C compiler
8908 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'
8909 tmp_addflag
=' $pic_flag'
8911 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8912 # Portland Group f77 and f90 compilers
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 tmp_addflag
=' $pic_flag -Mnomain' ;;
8915 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8916 tmp_addflag
=' -i_dynamic' ;;
8917 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8918 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8919 ifc
* | ifort
*) # Intel Fortran compiler
8920 tmp_addflag
=' -nofor_main' ;;
8921 lf95
*) # Lahey Fortran 8.1
8922 whole_archive_flag_spec
=
8923 tmp_sharedflag
='--shared' ;;
8924 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8925 tmp_sharedflag
='-qmkshrobj'
8927 nvcc
*) # Cuda Compiler Driver 2.2
8928 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'
8929 compiler_needs_object
=yes
8932 case `$CC -V 2>&1 | sed 5q` in
8933 *Sun\ C
*) # Sun C 5.9
8934 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'
8935 compiler_needs_object
=yes
8936 tmp_sharedflag
='-G' ;;
8937 *Sun\ F
*) # Sun Fortran 8.3
8938 tmp_sharedflag
='-G' ;;
8940 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 if test "x$supports_anon_versioning" = xyes
; then
8943 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8944 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8945 echo "local: *; };" >> $output_objdir/$libname.ver~
8946 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8949 case $cc_basename in
8950 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8951 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8952 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8953 hardcode_libdir_flag_spec
=
8954 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8955 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8956 if test "x$supports_anon_versioning" = xyes
; then
8957 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8958 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8959 echo "local: *; };" >> $output_objdir/$libname.ver~
8960 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8970 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8971 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8974 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8975 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8980 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8984 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8985 *** create shared libraries on Solaris systems. Therefore, libtool
8986 *** is disabling shared libraries support. We urge you to upgrade GNU
8987 *** binutils to release 2.9.1 or newer. Another option is to modify
8988 *** your PATH or compiler configuration so that the native linker is
8989 *** used, and then restart.
8992 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8993 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9000 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9001 case `$LD -v 2>&1` in
9002 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9006 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9007 *** reliably create shared libraries on SCO systems. Therefore, libtool
9008 *** is disabling shared libraries support. We urge you to upgrade GNU
9009 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9010 *** your PATH or compiler configuration so that the native linker is
9011 *** used, and then restart.
9016 # For security reasons, it is highly recommended that you always
9017 # use absolute paths for naming shared libraries, and exclude the
9018 # DT_RUNPATH tag from executables and libraries. But doing so
9019 # requires that you compile everything twice, which is a pain.
9020 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9021 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9022 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9023 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9032 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9035 hardcode_shlibpath_var
=no
9039 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9040 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9041 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9048 if test "$ld_shlibs" = no
; then
9050 hardcode_libdir_flag_spec
=
9051 export_dynamic_flag_spec
=
9052 whole_archive_flag_spec
=
9055 # PORTME fill in a description of your system's linker (not GNU ld)
9058 allow_undefined_flag
=unsupported
9059 always_export_symbols
=yes
9060 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'
9061 # Note: this linker hardcodes the directories in LIBPATH if there
9062 # are no directories specified by -L.
9063 hardcode_minus_L
=yes
9064 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9065 # Neither direct hardcoding nor static linking is supported with a
9067 hardcode_direct
=unsupported
9072 if test "$host_cpu" = ia64
; then
9073 # On IA64, the linker does run time linking by default, so we don't
9074 # have to do anything special.
9075 aix_use_runtimelinking
=no
9076 exp_sym_flag
='-Bexport'
9079 # If we're using GNU nm, then we don't want the "-C" option.
9080 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9081 # Also, AIX nm treats weak defined symbols like other global
9082 # defined symbols, whereas GNU nm marks them as "W".
9083 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9084 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'
9086 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'
9088 aix_use_runtimelinking
=no
9090 # Test if we are trying to use run time linking or normal
9091 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9092 # need to do runtime linking.
9093 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9094 for ld_flag
in $LDFLAGS; do
9095 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9096 aix_use_runtimelinking
=yes
9103 exp_sym_flag
='-bexport'
9104 no_entry_flag
='-bnoentry'
9107 # When large executables or shared objects are built, AIX ld can
9108 # have problems creating the table of contents. If linking a library
9109 # or program results in "error TOC overflow" add -mminimal-toc to
9110 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9111 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9115 hardcode_direct_absolute
=yes
9116 hardcode_libdir_separator
=':'
9117 link_all_deplibs
=yes
9118 file_list_spec
='${wl}-f,'
9120 if test "$GCC" = yes; then
9121 case $host_os in aix4.
[012]|aix4.
[012].
*)
9122 # We only want to do this on AIX 4.2 and lower, the check
9123 # below for broken collect2 doesn't work under 4.3+
9124 collect2name
=`${CC} -print-prog-name=collect2`
9125 if test -f "$collect2name" &&
9126 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9128 # We have reworked collect2
9131 # We have old collect2
9132 hardcode_direct
=unsupported
9133 # It fails to find uninstalled libraries when the uninstalled
9134 # path is not listed in the libpath. Setting hardcode_minus_L
9135 # to unsupported forces relinking
9136 hardcode_minus_L
=yes
9137 hardcode_libdir_flag_spec
='-L$libdir'
9138 hardcode_libdir_separator
=
9142 shared_flag
='-shared'
9143 if test "$aix_use_runtimelinking" = yes; then
9144 shared_flag
="$shared_flag "'${wl}-G'
9148 if test "$host_cpu" = ia64
; then
9149 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9150 # chokes on -Wl,-G. The following line is correct:
9153 if test "$aix_use_runtimelinking" = yes; then
9154 shared_flag
='${wl}-G'
9156 shared_flag
='${wl}-bM:SRE'
9161 export_dynamic_flag_spec
='${wl}-bexpall'
9162 # It seems that -bexpall does not export symbols beginning with
9163 # underscore (_), so it is better to generate a list of symbols to export.
9164 always_export_symbols
=yes
9165 if test "$aix_use_runtimelinking" = yes; then
9166 # Warning - without using the other runtime loading flags (-brtl),
9167 # -berok will link without error, but may produce a broken library.
9168 allow_undefined_flag
='-berok'
9169 # Determine the default libpath from the value encoded in an
9171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9182 if ac_fn_c_try_link
"$LINENO"; then :
9184 lt_aix_libpath_sed
='
9185 /Import File Strings/,/^$/ {
9191 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9192 # Check for a 64-bit object if we didn't find anything.
9193 if test -z "$aix_libpath"; then
9194 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9197 rm -f core conftest.err conftest.
$ac_objext \
9198 conftest
$ac_exeext conftest.
$ac_ext
9199 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9201 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9202 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"
9204 if test "$host_cpu" = ia64
; then
9205 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9206 allow_undefined_flag
="-z nodefs"
9207 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"
9209 # Determine the default libpath from the value encoded in an
9211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9222 if ac_fn_c_try_link
"$LINENO"; then :
9224 lt_aix_libpath_sed
='
9225 /Import File Strings/,/^$/ {
9231 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9232 # Check for a 64-bit object if we didn't find anything.
9233 if test -z "$aix_libpath"; then
9234 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9237 rm -f core conftest.err conftest.
$ac_objext \
9238 conftest
$ac_exeext conftest.
$ac_ext
9239 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9241 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9242 # Warning - without using the other run time loading flags,
9243 # -berok will link without error, but may produce a broken library.
9244 no_undefined_flag
=' ${wl}-bernotok'
9245 allow_undefined_flag
=' ${wl}-berok'
9246 if test "$with_gnu_ld" = yes; then
9247 # We only use this code for GNU lds that support --whole-archive.
9248 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9250 # Exported symbols can be pulled into shared objects from archives
9251 whole_archive_flag_spec
='$convenience'
9253 archive_cmds_need_lc
=yes
9254 # This is similar to how AIX traditionally builds its shared libraries.
9255 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'
9263 # see comment about AmigaOS4 .so support
9264 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9265 archive_expsym_cmds
=''
9268 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)'
9269 hardcode_libdir_flag_spec
='-L$libdir'
9270 hardcode_minus_L
=yes
9276 export_dynamic_flag_spec
=-rdynamic
9279 cygwin
* | mingw
* | pw32
* | cegcc
*)
9280 # When not using gcc, we currently assume that we are using
9281 # Microsoft Visual C++.
9282 # hardcode_libdir_flag_spec is actually meaningless, as there is
9283 # no search path for DLLs.
9284 hardcode_libdir_flag_spec
=' '
9285 allow_undefined_flag
=unsupported
9286 # Tell ltmain to make .lib files, not .a files.
9288 # Tell ltmain to make .dll files, not .so files.
9290 # FIXME: Setting linknames here is a bad hack.
9291 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9292 # The linker will automatically build a .lib file if we build a DLL.
9293 old_archive_from_new_cmds
='true'
9294 # FIXME: Should let the user specify the lib program.
9295 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9296 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9297 enable_shared_with_static_runtimes
=yes
9300 darwin
* | rhapsody
*)
9303 archive_cmds_need_lc
=no
9305 hardcode_automatic
=yes
9306 hardcode_shlibpath_var
=unsupported
9307 if test "$lt_cv_ld_force_load" = "yes"; then
9308 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\"`'
9310 whole_archive_flag_spec
=''
9312 link_all_deplibs
=yes
9313 allow_undefined_flag
="$_lt_dar_allow_undefined"
9314 case $cc_basename in
9315 ifort
*) _lt_dar_can_shared
=yes ;;
9316 *) _lt_dar_can_shared
=$GCC ;;
9318 if test "$_lt_dar_can_shared" = "yes"; then
9319 output_verbose_link_cmd
=func_echo_all
9320 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9321 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9322 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}"
9323 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}"
9332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9333 hardcode_libdir_flag_spec
='-L$libdir'
9334 hardcode_shlibpath_var
=no
9337 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9338 # support. Future versions do this automatically, but an explicit c++rt0.o
9339 # does not break anything, and helps significantly (at the cost of a little
9342 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9343 hardcode_libdir_flag_spec
='-R$libdir'
9345 hardcode_shlibpath_var
=no
9348 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9350 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9352 hardcode_minus_L
=yes
9353 hardcode_shlibpath_var
=no
9356 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9357 freebsd
* | dragonfly
*)
9358 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9359 hardcode_libdir_flag_spec
='-R$libdir'
9361 hardcode_shlibpath_var
=no
9365 if test "$GCC" = yes; then
9366 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'
9368 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'
9370 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9371 hardcode_libdir_separator
=:
9374 # hardcode_minus_L: Not really in the search PATH,
9375 # but as the default location of the library.
9376 hardcode_minus_L
=yes
9377 export_dynamic_flag_spec
='${wl}-E'
9381 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9382 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9384 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9386 if test "$with_gnu_ld" = no
; then
9387 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9388 hardcode_libdir_flag_spec_ld
='+b $libdir'
9389 hardcode_libdir_separator
=:
9391 hardcode_direct_absolute
=yes
9392 export_dynamic_flag_spec
='${wl}-E'
9393 # hardcode_minus_L: Not really in the search PATH,
9394 # but as the default location of the library.
9395 hardcode_minus_L
=yes
9400 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9403 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9406 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9415 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9418 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9422 # Older versions of the 11.00 compiler do not understand -b yet
9423 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9425 $as_echo_n "checking if $CC understands -b... " >&6; }
9426 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9427 $as_echo_n "(cached) " >&6
9429 lt_cv_prog_compiler__b
=no
9430 save_LDFLAGS
="$LDFLAGS"
9431 LDFLAGS
="$LDFLAGS -b"
9432 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9433 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9434 # The linker can only warn and ignore the option if not recognized
9435 # So say no if there are warnings
9436 if test -s conftest.err
; then
9437 # Append any errors to the config.log.
9438 cat conftest.err
1>&5
9439 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9440 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9441 if diff conftest.exp conftest.er2
>/dev
/null
; then
9442 lt_cv_prog_compiler__b
=yes
9445 lt_cv_prog_compiler__b
=yes
9449 LDFLAGS
="$save_LDFLAGS"
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9453 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9455 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9456 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9464 if test "$with_gnu_ld" = no
; then
9465 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9466 hardcode_libdir_separator
=:
9471 hardcode_shlibpath_var
=no
9475 hardcode_direct_absolute
=yes
9476 export_dynamic_flag_spec
='${wl}-E'
9478 # hardcode_minus_L: Not really in the search PATH,
9479 # but as the default location of the library.
9480 hardcode_minus_L
=yes
9486 irix5
* | irix6
* | nonstopux
*)
9487 if test "$GCC" = yes; then
9488 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'
9489 # Try to use the -exported_symbol ld option, if it does not
9490 # work, assume that -exports_file does not work either and
9491 # implicitly export all symbols.
9492 save_LDFLAGS
="$LDFLAGS"
9493 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9495 /* end confdefs.h. */
9498 if ac_fn_c_try_link
"$LINENO"; then :
9499 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'
9502 rm -f core conftest.err conftest.
$ac_objext \
9503 conftest
$ac_exeext conftest.
$ac_ext
9504 LDFLAGS
="$save_LDFLAGS"
9506 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'
9507 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'
9509 archive_cmds_need_lc
='no'
9510 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9511 hardcode_libdir_separator
=:
9513 link_all_deplibs
=yes
9517 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9518 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9520 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9522 hardcode_libdir_flag_spec
='-R$libdir'
9524 hardcode_shlibpath_var
=no
9528 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9530 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9531 hardcode_libdir_separator
=:
9532 hardcode_shlibpath_var
=no
9539 if test -f /usr
/libexec
/ld.so
; then
9541 hardcode_shlibpath_var
=no
9542 hardcode_direct_absolute
=yes
9543 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9544 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9546 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9547 export_dynamic_flag_spec
='${wl}-E'
9550 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9551 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9552 hardcode_libdir_flag_spec
='-R$libdir'
9555 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9556 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9566 hardcode_libdir_flag_spec
='-L$libdir'
9567 hardcode_minus_L
=yes
9568 allow_undefined_flag
=unsupported
9569 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'
9570 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9574 if test "$GCC" = yes; then
9575 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9576 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'
9578 allow_undefined_flag
=' -expect_unresolved \*'
9579 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'
9581 archive_cmds_need_lc
='no'
9582 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9583 hardcode_libdir_separator
=:
9586 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9587 if test "$GCC" = yes; then
9588 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9589 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'
9590 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9592 allow_undefined_flag
=' -expect_unresolved \*'
9593 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'
9594 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~
9595 $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'
9597 # Both c and cxx compiler support -rpath directly
9598 hardcode_libdir_flag_spec
='-rpath $libdir'
9600 archive_cmds_need_lc
='no'
9601 hardcode_libdir_separator
=:
9605 no_undefined_flag
=' -z defs'
9606 if test "$GCC" = yes; then
9608 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9610 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9612 case `$CC -V 2>&1` in
9615 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9616 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9617 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9621 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9623 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9627 hardcode_libdir_flag_spec
='-R$libdir'
9628 hardcode_shlibpath_var
=no
9630 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9632 # The compiler driver will combine and reorder linker options,
9633 # but understands `-z linker_flag'. GCC discards it without `$wl',
9634 # but is careful enough not to reorder.
9635 # Supported since Solaris 2.6 (maybe 2.5.1?)
9636 if test "$GCC" = yes; then
9637 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9639 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9643 link_all_deplibs
=yes
9647 if test "x$host_vendor" = xsequent
; then
9648 # Use $CC to link under sequent, because it throws in some extra .o
9649 # files that make .init and .fini sections work.
9650 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9652 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9654 hardcode_libdir_flag_spec
='-L$libdir'
9656 hardcode_minus_L
=yes
9657 hardcode_shlibpath_var
=no
9661 case $host_vendor in
9663 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664 hardcode_direct
=yes # is this really true???
9667 ## LD is ld it makes a PLAMLIB
9668 ## CC just makes a GrossModule.
9669 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9670 reload_cmds
='$CC -r -o $output$reload_objs'
9674 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9678 runpath_var
='LD_RUN_PATH'
9679 hardcode_shlibpath_var
=no
9683 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9684 hardcode_shlibpath_var
=no
9685 export_dynamic_flag_spec
='-Bexport'
9689 if test -d /usr
/nec
; then
9690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9691 hardcode_shlibpath_var
=no
9692 runpath_var
=LD_RUN_PATH
9693 hardcode_runpath_var
=yes
9698 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9699 no_undefined_flag
='${wl}-z,text'
9700 archive_cmds_need_lc
=no
9701 hardcode_shlibpath_var
=no
9702 runpath_var
='LD_RUN_PATH'
9704 if test "$GCC" = yes; then
9705 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9706 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9708 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713 sysv5
* | sco3.2v5
* | sco5v6
*)
9714 # Note: We can NOT use -z defs as we might desire, because we do not
9715 # link with -lc, and that would cause any symbols used from libc to
9716 # always be unresolved, which means just about no library would
9717 # ever link correctly. If we're not using GNU ld we use -z text
9718 # though, which does catch some bad symbols but isn't as heavy-handed
9720 no_undefined_flag
='${wl}-z,text'
9721 allow_undefined_flag
='${wl}-z,nodefs'
9722 archive_cmds_need_lc
=no
9723 hardcode_shlibpath_var
=no
9724 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9725 hardcode_libdir_separator
=':'
9726 link_all_deplibs
=yes
9727 export_dynamic_flag_spec
='${wl}-Bexport'
9728 runpath_var
='LD_RUN_PATH'
9730 if test "$GCC" = yes; then
9731 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9732 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9734 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9735 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_libdir_flag_spec
='-L$libdir'
9742 hardcode_shlibpath_var
=no
9750 if test x
$host_vendor = xsni
; then
9752 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9753 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9760 $as_echo "$ld_shlibs" >&6; }
9761 test "$ld_shlibs" = no
&& can_build_shared
=no
9763 with_gnu_ld
=$with_gnu_ld
9780 # Do we need to explicitly link libc?
9782 case "x$archive_cmds_need_lc" in
9784 # Assume -lc should be added
9785 archive_cmds_need_lc
=yes
9787 if test "$enable_shared" = yes && test "$GCC" = yes; then
9788 case $archive_cmds in
9790 # FIXME: we may have to deal with multi-command sequences.
9793 # Test whether the compiler implicitly links with -lc since on some
9794 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9795 # to ld, don't add -lc before -lgcc.
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9797 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9798 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9799 $as_echo_n "(cached) " >&6
9802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9804 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9805 (eval $ac_compile) 2>&5
9807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9808 test $ac_status = 0; } 2>conftest.err
; then
9811 libobjs
=conftest.
$ac_objext
9813 wl
=$lt_prog_compiler_wl
9814 pic_flag
=$lt_prog_compiler_pic
9820 lt_save_allow_undefined_flag
=$allow_undefined_flag
9821 allow_undefined_flag
=
9822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9823 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9826 test $ac_status = 0; }
9828 lt_cv_archive_cmds_need_lc
=no
9830 lt_cv_archive_cmds_need_lc
=yes
9832 allow_undefined_flag
=$lt_save_allow_undefined_flag
9834 cat conftest.err
1>&5
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9840 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9841 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10005 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10007 if test "$GCC" = yes; then
10009 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10010 *) lt_awk_arg
="/^libraries:/" ;;
10013 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10014 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10016 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10017 case $lt_search_path_spec in
10019 # if the path contains ";" then we assume it to be the separator
10020 # otherwise default to the standard path separator (i.e. ":") - it is
10021 # assumed that no part of a normal pathname contains ";" but that should
10022 # okay in the real world where ";" in dirpaths is itself problematic.
10023 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10026 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10029 # Ok, now we have the path, separated by spaces, we can step through it
10030 # and add multilib dir if necessary.
10031 lt_tmp_lt_search_path_spec
=
10032 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10033 for lt_sys_path
in $lt_search_path_spec; do
10034 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10035 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10037 test -d "$lt_sys_path" && \
10038 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10041 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10042 BEGIN {RS=" "; FS="/|\n";} {
10045 for (lt_i = NF; lt_i > 0; lt_i--) {
10046 if ($lt_i != "" && $lt_i != ".") {
10047 if ($lt_i == "..") {
10050 if (lt_count == 0) {
10051 lt_foo="/" $lt_i lt_foo;
10058 if (lt_foo != "") { lt_freq[lt_foo]++; }
10059 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10061 # AWK program above erroneously prepends '/' to C:/dos/paths
10064 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10065 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10067 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10069 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10071 library_names_spec
=
10072 libname_spec
='lib$name'
10076 postuninstall_cmds
=
10080 shlibpath_overrides_runpath
=unknown
10082 dynamic_linker
="$host_os ld.so"
10083 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10084 need_lib_prefix
=unknown
10085 hardcode_into_libs
=no
10087 # when you set need_version to no, make sure it does not cause -set_version
10088 # flags to be left without arguments
10089 need_version
=unknown
10094 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10095 shlibpath_var
=LIBPATH
10097 # AIX 3 has no versioning support, so we append a major version to the name.
10098 soname_spec
='${libname}${release}${shared_ext}$major'
10105 hardcode_into_libs
=yes
10106 if test "$host_cpu" = ia64
; then
10107 # AIX 5 supports IA64
10108 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10109 shlibpath_var
=LD_LIBRARY_PATH
10111 # With GCC up to 2.95.x, collect2 would create an import file
10112 # for dependence libraries. The import file would start with
10113 # the line `#! .'. This would cause the generated library to
10114 # depend on `.', always an invalid library. This was fixed in
10115 # development snapshots of GCC prior to 3.0.
10117 aix4 | aix4.
[01] | aix4.
[01].
*)
10118 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10120 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10123 can_build_shared
=no
10127 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10128 # soname into executable. Probably we can add versioning support to
10129 # collect2, so additional links can be useful in future.
10130 if test "$aix_use_runtimelinking" = yes; then
10131 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10132 # instead of lib<name>.a to let people know that these are not
10133 # typical AIX shared libraries.
10134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10136 # We preserve .a as extension for shared libraries through AIX4.2
10137 # and later when we are not doing run time linking.
10138 library_names_spec
='${libname}${release}.a $libname.a'
10139 soname_spec
='${libname}${release}${shared_ext}$major'
10141 shlibpath_var
=LIBPATH
10148 # Since July 2007 AmigaOS4 officially supports .so libraries.
10149 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153 library_names_spec
='$libname.ixlibrary $libname.a'
10154 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10155 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'
10161 library_names_spec
='${libname}${shared_ext}'
10162 dynamic_linker
="$host_os ld.so"
10163 shlibpath_var
=LIBRARY_PATH
10169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10170 soname_spec
='${libname}${release}${shared_ext}$major'
10171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10172 shlibpath_var
=LD_LIBRARY_PATH
10173 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10174 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10175 # the default ld.so.conf also contains /usr/contrib/lib and
10176 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10177 # libtool to hard-code these into programs
10180 cygwin
* | mingw
* | pw32
* | cegcc
*)
10181 version_type
=windows
10186 case $GCC,$host_os in
10187 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10188 library_names_spec
='$libname.dll.a'
10189 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10190 postinstall_cmds
='base_file=`basename \${file}`~
10191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10192 dldir=$destdir/`dirname \$dlpath`~
10193 test -d \$dldir || mkdir -p \$dldir~
10194 $install_prog $dir/$dlname \$dldir/$dlname~
10195 chmod a+x \$dldir/$dlname~
10196 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10197 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10199 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10200 dlpath=$dir/\$dldll~
10202 shlibpath_overrides_runpath
=yes
10206 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10207 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10209 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10212 # MinGW DLLs use traditional 'lib' prefix
10213 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10216 # pw32 DLLs use 'pw' prefix rather than 'lib'
10217 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10223 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10226 dynamic_linker
='Win32 ld.exe'
10227 # FIXME: first we should search . and the directory the executable is in
10231 darwin
* | rhapsody
*)
10232 dynamic_linker
="$host_os dyld"
10233 version_type
=darwin
10236 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10237 soname_spec
='${libname}${release}${major}$shared_ext'
10238 shlibpath_overrides_runpath
=yes
10239 shlibpath_var
=DYLD_LIBRARY_PATH
10240 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10242 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10243 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10251 soname_spec
='${libname}${release}${shared_ext}$major'
10252 shlibpath_var
=LD_LIBRARY_PATH
10255 freebsd
* | dragonfly
*)
10256 # DragonFly does not have aout. When/if they implement a new
10257 # versioning mechanism, adjust this.
10258 if test -x /usr
/bin
/objformat
; then
10259 objformat
=`/usr/bin/objformat`
10262 freebsd
[123]*) objformat
=aout
;;
10263 *) objformat
=elf
;;
10266 version_type
=freebsd-
$objformat
10267 case $version_type in
10269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10274 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10278 shlibpath_var
=LD_LIBRARY_PATH
10281 shlibpath_overrides_runpath
=yes
10283 freebsd3.
[01]* | freebsdelf3.
[01]*)
10284 shlibpath_overrides_runpath
=yes
10285 hardcode_into_libs
=yes
10287 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10288 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10289 shlibpath_overrides_runpath
=no
10290 hardcode_into_libs
=yes
10292 *) # from 4.6 on, and DragonFly
10293 shlibpath_overrides_runpath
=yes
10294 hardcode_into_libs
=yes
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 shlibpath_var
=LD_LIBRARY_PATH
10306 hardcode_into_libs
=yes
10313 dynamic_linker
="$host_os runtime_loader"
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10315 soname_spec
='${libname}${release}${shared_ext}$major'
10316 shlibpath_var
=LIBRARY_PATH
10317 shlibpath_overrides_runpath
=yes
10318 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10319 hardcode_into_libs
=yes
10322 hpux9
* | hpux10
* | hpux11
*)
10323 # Give a soname corresponding to the major version so that dld.sl refuses to
10324 # link against other versions.
10331 hardcode_into_libs
=yes
10332 dynamic_linker
="$host_os dld.so"
10333 shlibpath_var
=LD_LIBRARY_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 if test "X$HPUX_IA64_MODE" = X32
; then
10338 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10340 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10342 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10346 hardcode_into_libs
=yes
10347 dynamic_linker
="$host_os dld.sl"
10348 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10349 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351 soname_spec
='${libname}${release}${shared_ext}$major'
10352 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10353 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10357 dynamic_linker
="$host_os dld.sl"
10358 shlibpath_var
=SHLIB_PATH
10359 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10364 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10365 postinstall_cmds
='chmod 555 $lib'
10366 # or fails outright, so override atomically:
10367 install_override_mode
=555
10374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10375 soname_spec
='${libname}${release}${shared_ext}$major'
10376 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10377 shlibpath_var
=LD_LIBRARY_PATH
10378 shlibpath_overrides_runpath
=no
10379 hardcode_into_libs
=yes
10382 irix5
* | irix6
* | nonstopux
*)
10384 nonstopux
*) version_type
=nonstopux
;;
10386 if test "$lt_cv_prog_gnu_ld" = yes; then
10394 soname_spec
='${libname}${release}${shared_ext}$major'
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10397 irix5
* | nonstopux
*)
10398 libsuff
= shlibsuff
=
10401 case $LD in # libtool.m4 will add one of these switches to LD
10402 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10403 libsuff
= shlibsuff
= libmagic
=32-bit;;
10404 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10405 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10406 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10407 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10408 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10412 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10413 shlibpath_overrides_runpath
=no
10414 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10415 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10416 hardcode_into_libs
=yes
10419 # No shared lib support for Linux oldld, aout, or coff.
10420 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10424 # This must be Linux ELF.
10425 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10430 soname_spec
='${libname}${release}${shared_ext}$major'
10431 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10432 shlibpath_var
=LD_LIBRARY_PATH
10433 shlibpath_overrides_runpath
=no
10435 # Some binutils ld are patched to set DT_RUNPATH
10436 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10437 $as_echo_n "(cached) " >&6
10439 lt_cv_shlibpath_overrides_runpath
=no
10440 save_LDFLAGS
=$LDFLAGS
10441 save_libdir
=$libdir
10442 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10443 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10455 if ac_fn_c_try_link
"$LINENO"; then :
10456 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10457 lt_cv_shlibpath_overrides_runpath
=yes
10460 rm -f core conftest.err conftest.
$ac_objext \
10461 conftest
$ac_exeext conftest.
$ac_ext
10462 LDFLAGS
=$save_LDFLAGS
10463 libdir
=$save_libdir
10467 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10469 # This implies no fast_install, which is unacceptable.
10470 # Some rework will be needed to allow for fast_install
10471 # before this can be enabled.
10472 hardcode_into_libs
=yes
10474 # Append ld.so.conf contents to the search path
10475 if test -f /etc
/ld.so.conf
; then
10476 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' ' '`
10477 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10480 # We used to test for /lib/ld.so.1 and disable shared libraries on
10481 # powerpc, because MkLinux only supported shared libraries with the
10482 # GNU dynamic linker. Since this was broken with cross compilers,
10483 # most powerpc-linux boxes support dynamic linking these days and
10484 # people can always --disable-shared, the test was removed, and we
10485 # assume the GNU/Linux dynamic linker is in use.
10486 dynamic_linker
='GNU/Linux ld.so'
10493 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10495 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10496 dynamic_linker
='NetBSD (a.out) ld.so'
10498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10499 soname_spec
='${libname}${release}${shared_ext}$major'
10500 dynamic_linker
='NetBSD ld.elf_so'
10502 shlibpath_var
=LD_LIBRARY_PATH
10503 shlibpath_overrides_runpath
=yes
10504 hardcode_into_libs
=yes
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 shlibpath_var
=LD_LIBRARY_PATH
10511 shlibpath_overrides_runpath
=yes
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 soname_spec
='${libname}${release}${shared_ext}$major'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 shlibpath_overrides_runpath
=no
10522 hardcode_into_libs
=yes
10523 dynamic_linker
='ldqnx.so'
10528 sys_lib_dlsearch_path_spec
="/usr/lib"
10530 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10532 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10533 *) need_version
=no
;;
10535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10537 shlibpath_var
=LD_LIBRARY_PATH
10538 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10540 openbsd2.
[89] | openbsd2.
[89].
*)
10541 shlibpath_overrides_runpath
=no
10544 shlibpath_overrides_runpath
=yes
10548 shlibpath_overrides_runpath
=yes
10553 libname_spec
='$name'
10556 library_names_spec
='$libname${shared_ext} $libname.a'
10557 dynamic_linker
='OS/2 ld.exe'
10558 shlibpath_var
=LIBPATH
10561 osf3
* | osf4
* | osf5
*)
10565 soname_spec
='${libname}${release}${shared_ext}$major'
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 shlibpath_var
=LD_LIBRARY_PATH
10568 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10569 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10581 soname_spec
='${libname}${release}${shared_ext}$major'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 shlibpath_overrides_runpath
=yes
10584 hardcode_into_libs
=yes
10585 # ldd complains unless libraries are executable
10586 postinstall_cmds
='chmod +x $lib'
10591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10592 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10593 shlibpath_var
=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath
=yes
10595 if test "$with_gnu_ld" = yes; then
10603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604 soname_spec
='${libname}${release}${shared_ext}$major'
10605 shlibpath_var
=LD_LIBRARY_PATH
10606 case $host_vendor in
10608 shlibpath_overrides_runpath
=no
10610 runpath_var
=LD_RUN_PATH
10618 shlibpath_overrides_runpath
=no
10619 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10625 if test -d /usr
/nec
;then
10627 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10628 soname_spec
='$libname${shared_ext}.$major'
10629 shlibpath_var
=LD_LIBRARY_PATH
10633 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10634 version_type
=freebsd-elf
10637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 shlibpath_var
=LD_LIBRARY_PATH
10640 shlibpath_overrides_runpath
=yes
10641 hardcode_into_libs
=yes
10642 if test "$with_gnu_ld" = yes; then
10643 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10645 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10648 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10652 sys_lib_dlsearch_path_spec
='/usr/lib'
10656 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 shlibpath_var
=LD_LIBRARY_PATH
10662 shlibpath_overrides_runpath
=no
10663 hardcode_into_libs
=yes
10668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 soname_spec
='${libname}${release}${shared_ext}$major'
10670 shlibpath_var
=LD_LIBRARY_PATH
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10678 $as_echo "$dynamic_linker" >&6; }
10679 test "$dynamic_linker" = no
&& can_build_shared
=no
10681 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10682 if test "$GCC" = yes; then
10683 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10686 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10687 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10689 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10690 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10787 if test -n "$hardcode_libdir_flag_spec" ||
10788 test -n "$runpath_var" ||
10789 test "X$hardcode_automatic" = "Xyes" ; then
10791 # We can hardcode non-existent directories.
10792 if test "$hardcode_direct" != no
&&
10793 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10794 # have to relink, otherwise we might link with an installed library
10795 # when we should be linking with a yet-to-be-installed one
10796 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10797 test "$hardcode_minus_L" != no
; then
10798 # Linking always hardcodes the temporary library directory.
10799 hardcode_action
=relink
10801 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10802 hardcode_action
=immediate
10805 # We cannot hardcode anything, or else we can only hardcode existing
10807 hardcode_action
=unsupported
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10810 $as_echo "$hardcode_action" >&6; }
10812 if test "$hardcode_action" = relink ||
10813 test "$inherit_rpath" = yes; then
10814 # Fast installation is not supported
10815 enable_fast_install
=no
10816 elif test "$shlibpath_overrides_runpath" = yes ||
10817 test "$enable_shared" = no
; then
10818 # Fast installation is not necessary
10819 enable_fast_install
=needless
10827 if test "x$enable_dlopen" != xyes
; then
10828 enable_dlopen
=unknown
10829 enable_dlopen_self
=unknown
10830 enable_dlopen_self_static
=unknown
10837 lt_cv_dlopen
="load_add_on"
10839 lt_cv_dlopen_self
=yes
10842 mingw
* | pw32
* | cegcc
*)
10843 lt_cv_dlopen
="LoadLibrary"
10848 lt_cv_dlopen
="dlopen"
10853 # if libdl is installed we need to link against it
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10855 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10856 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10857 $as_echo_n "(cached) " >&6
10859 ac_check_lib_save_LIBS
=$LIBS
10861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10879 if ac_fn_c_try_link
"$LINENO"; then :
10880 ac_cv_lib_dl_dlopen
=yes
10882 ac_cv_lib_dl_dlopen
=no
10884 rm -f core conftest.err conftest.
$ac_objext \
10885 conftest
$ac_exeext conftest.
$ac_ext
10886 LIBS
=$ac_check_lib_save_LIBS
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10889 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10890 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10891 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10894 lt_cv_dlopen
="dyld"
10896 lt_cv_dlopen_self
=yes
10903 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10904 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10905 lt_cv_dlopen
="shl_load"
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10908 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10909 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10910 $as_echo_n "(cached) " >&6
10912 ac_check_lib_save_LIBS
=$LIBS
10914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10927 return shl_load ();
10932 if ac_fn_c_try_link
"$LINENO"; then :
10933 ac_cv_lib_dld_shl_load
=yes
10935 ac_cv_lib_dld_shl_load
=no
10937 rm -f core conftest.err conftest.
$ac_objext \
10938 conftest
$ac_exeext conftest.
$ac_ext
10939 LIBS
=$ac_check_lib_save_LIBS
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10942 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10943 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10944 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10946 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10947 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10948 lt_cv_dlopen
="dlopen"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10951 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10952 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10953 $as_echo_n "(cached) " >&6
10955 ac_check_lib_save_LIBS
=$LIBS
10957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10960 /* Override any GCC internal prototype to avoid an error.
10961 Use char because int might match the return type of a GCC
10962 builtin and then its argument prototype would still apply. */
10975 if ac_fn_c_try_link
"$LINENO"; then :
10976 ac_cv_lib_dl_dlopen
=yes
10978 ac_cv_lib_dl_dlopen
=no
10980 rm -f core conftest.err conftest.
$ac_objext \
10981 conftest
$ac_exeext conftest.
$ac_ext
10982 LIBS
=$ac_check_lib_save_LIBS
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10985 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10986 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10987 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10990 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10991 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10992 $as_echo_n "(cached) " >&6
10994 ac_check_lib_save_LIBS
=$LIBS
10995 LIBS
="-lsvld $LIBS"
10996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11014 if ac_fn_c_try_link
"$LINENO"; then :
11015 ac_cv_lib_svld_dlopen
=yes
11017 ac_cv_lib_svld_dlopen
=no
11019 rm -f core conftest.err conftest.
$ac_objext \
11020 conftest
$ac_exeext conftest.
$ac_ext
11021 LIBS
=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11024 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11025 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11026 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11029 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11030 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11031 $as_echo_n "(cached) " >&6
11033 ac_check_lib_save_LIBS
=$LIBS
11035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11048 return dld_link ();
11053 if ac_fn_c_try_link
"$LINENO"; then :
11054 ac_cv_lib_dld_dld_link
=yes
11056 ac_cv_lib_dld_dld_link
=no
11058 rm -f core conftest.err conftest.
$ac_objext \
11059 conftest
$ac_exeext conftest.
$ac_ext
11060 LIBS
=$ac_check_lib_save_LIBS
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11063 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11064 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11065 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11086 if test "x$lt_cv_dlopen" != xno
; then
11092 case $lt_cv_dlopen in
11094 save_CPPFLAGS
="$CPPFLAGS"
11095 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11097 save_LDFLAGS
="$LDFLAGS"
11098 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11101 LIBS
="$lt_cv_dlopen_libs $LIBS"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11104 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11105 if test "${lt_cv_dlopen_self+set}" = set; then :
11106 $as_echo_n "(cached) " >&6
11108 if test "$cross_compiling" = yes; then :
11109 lt_cv_dlopen_self
=cross
11111 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11112 lt_status
=$lt_dlunknown
11113 cat > conftest.
$ac_ext <<_LT_EOF
11114 #line 11114 "configure"
11115 #include "confdefs.h"
11124 # define LT_DLGLOBAL RTLD_GLOBAL
11127 # define LT_DLGLOBAL DL_GLOBAL
11129 # define LT_DLGLOBAL 0
11133 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11134 find out it does not work in some platform. */
11135 #ifndef LT_DLLAZY_OR_NOW
11137 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11140 # define LT_DLLAZY_OR_NOW DL_LAZY
11143 # define LT_DLLAZY_OR_NOW RTLD_NOW
11146 # define LT_DLLAZY_OR_NOW DL_NOW
11148 # define LT_DLLAZY_OR_NOW 0
11155 /* When -fvisbility=hidden is used, assume the code has been annotated
11156 correspondingly for the symbols needed. */
11157 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11158 void fnord () __attribute__((visibility("default")));
11161 void fnord () { int i=42; }
11164 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11165 int status = $lt_dlunknown;
11169 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11172 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11173 else puts (dlerror ());
11175 /* dlclose (self); */
11183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11184 (eval $ac_link) 2>&5
11186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11187 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11188 (.
/conftest
; exit; ) >&5 2>/dev
/null
11190 case x
$lt_status in
11191 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11192 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11193 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11196 # compilation failed
11197 lt_cv_dlopen_self
=no
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11205 $as_echo "$lt_cv_dlopen_self" >&6; }
11207 if test "x$lt_cv_dlopen_self" = xyes
; then
11208 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11210 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11211 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11214 if test "$cross_compiling" = yes; then :
11215 lt_cv_dlopen_self_static
=cross
11217 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11218 lt_status
=$lt_dlunknown
11219 cat > conftest.
$ac_ext <<_LT_EOF
11220 #line 11220 "configure"
11221 #include "confdefs.h"
11230 # define LT_DLGLOBAL RTLD_GLOBAL
11233 # define LT_DLGLOBAL DL_GLOBAL
11235 # define LT_DLGLOBAL 0
11239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11240 find out it does not work in some platform. */
11241 #ifndef LT_DLLAZY_OR_NOW
11243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11246 # define LT_DLLAZY_OR_NOW DL_LAZY
11249 # define LT_DLLAZY_OR_NOW RTLD_NOW
11252 # define LT_DLLAZY_OR_NOW DL_NOW
11254 # define LT_DLLAZY_OR_NOW 0
11261 /* When -fvisbility=hidden is used, assume the code has been annotated
11262 correspondingly for the symbols needed. */
11263 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11264 void fnord () __attribute__((visibility("default")));
11267 void fnord () { int i=42; }
11270 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11271 int status = $lt_dlunknown;
11275 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11278 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11279 else puts (dlerror ());
11281 /* dlclose (self); */
11289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11290 (eval $ac_link) 2>&5
11292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11293 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11294 (.
/conftest
; exit; ) >&5 2>/dev
/null
11296 case x
$lt_status in
11297 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11298 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11299 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11302 # compilation failed
11303 lt_cv_dlopen_self_static
=no
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11311 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11314 CPPFLAGS
="$save_CPPFLAGS"
11315 LDFLAGS
="$save_LDFLAGS"
11320 case $lt_cv_dlopen_self in
11321 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11322 *) enable_dlopen_self
=unknown
;;
11325 case $lt_cv_dlopen_self_static in
11326 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11327 *) enable_dlopen_self_static
=unknown
;;
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11350 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11351 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11352 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11353 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11355 $as_echo "yes" >&6; }
11357 # FIXME - insert some real tests, host_os isn't really good enough
11360 if test -n "$STRIP" ; then
11361 striplib
="$STRIP -x"
11362 old_striplib
="$STRIP -S"
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11364 $as_echo "yes" >&6; }
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11367 $as_echo "no" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11388 # Report which library types will actually be built
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11390 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11392 $as_echo "$can_build_shared" >&6; }
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11395 $as_echo_n "checking whether to build shared libraries... " >&6; }
11396 test "$can_build_shared" = "no" && enable_shared
=no
11398 # On AIX, shared libraries and static libraries use the same namespace, and
11399 # are all built from PIC.
11402 test "$enable_shared" = yes && enable_static
=no
11403 if test -n "$RANLIB"; then
11404 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11405 postinstall_cmds
='$RANLIB $lib'
11410 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11411 test "$enable_shared" = yes && enable_static
=no
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11416 $as_echo "$enable_shared" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11419 $as_echo_n "checking whether to build static libraries... " >&6; }
11420 # Make sure either enable_shared or enable_static is yes.
11421 test "$enable_shared" = yes || enable_static
=yes
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11423 $as_echo "$enable_static" >&6; }
11430 ac_cpp
='$CPP $CPPFLAGS'
11431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11449 # Source file extension for Go test sources.
11452 # Object file extension for compiled Go test sources.
11456 # Code to be used in simple compile tests
11457 lt_simple_compile_test_code
="package main; func main() { }"
11459 # Code to be used in simple link tests
11460 lt_simple_link_test_code
='package main; func main() { }'
11462 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11469 # If no C compiler was specified, use CC.
11472 # If no C compiler flags were specified, use CFLAGS.
11473 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11475 # Allow CC to be a program name with arguments.
11479 # save warnings/boilerplate of simple test code
11480 ac_outfile
=conftest.
$ac_objext
11481 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11482 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11483 _lt_compiler_boilerplate
=`cat conftest.err`
11486 ac_outfile
=conftest.
$ac_objext
11487 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11488 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11489 _lt_linker_boilerplate
=`cat conftest.err`
11493 # Allow CC to be a program name with arguments.
11501 for cc_temp
in $compiler""; do
11503 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11504 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11509 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11512 # Go did not exist at the time GCC didn't implicitly link libc in.
11513 archive_cmds_need_lc_GO
=no
11515 old_archive_cmds_GO
=$old_archive_cmds
11518 ## There is no encapsulation within the following macros, do not change
11519 ## the running order or otherwise move them around unless you know exactly
11520 ## what you are doing...
11521 if test -n "$compiler"; then
11523 lt_prog_compiler_no_builtin_flag_GO
=
11525 if test "$GCC" = yes; then
11526 case $cc_basename in
11528 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11530 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11534 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11535 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11536 $as_echo_n "(cached) " >&6
11538 lt_cv_prog_compiler_rtti_exceptions
=no
11539 ac_outfile
=conftest.
$ac_objext
11540 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11541 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11542 # Insert the option either (1) after the last *FLAGS variable, or
11543 # (2) before a word containing "conftest.", or (3) at the end.
11544 # Note that $ac_compile itself does not contain backslashes and begins
11545 # with a dollar sign (not a hyphen), so the echo should work correctly.
11546 # The option is referenced via a variable to avoid confusing sed.
11547 lt_compile
=`echo "$ac_compile" | $SED \
11548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11550 -e 's:$: $lt_compiler_flag:'`
11551 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11552 (eval "$lt_compile" 2>conftest.err
)
11554 cat conftest.err
>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 if (exit $ac_status) && test -s "$ac_outfile"; then
11557 # The compiler can only warn and ignore the option if not recognized
11558 # So say no if there are warnings other than the usual output.
11559 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11560 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11561 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11562 lt_cv_prog_compiler_rtti_exceptions
=yes
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11569 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11571 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11572 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11581 lt_prog_compiler_wl_GO
=
11582 lt_prog_compiler_pic_GO
=
11583 lt_prog_compiler_static_GO
=
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11586 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11588 if test "$GCC" = yes; then
11589 lt_prog_compiler_wl_GO
='-Wl,'
11590 lt_prog_compiler_static_GO
='-static'
11594 # All AIX code is PIC.
11595 if test "$host_cpu" = ia64
; then
11596 # AIX 5 now supports IA64 processor
11597 lt_prog_compiler_static_GO
='-Bstatic'
11604 # see comment about AmigaOS4 .so support
11605 lt_prog_compiler_pic_GO
='-fPIC'
11608 # FIXME: we need at least 68020 code to build shared libraries, but
11609 # adding the `-m68020' flag to GCC prevents building anything better,
11611 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11616 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11617 # PIC is the default for these OSes.
11620 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11621 # This hack is so that the source file can tell whether it is being
11622 # built for inclusion in a dll (and should export symbols for example).
11623 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11624 # (--disable-auto-import) libraries
11625 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11628 darwin
* | rhapsody
*)
11629 # PIC is the default on this platform
11630 # Common symbols not allowed in MH_DYLIB files
11631 lt_prog_compiler_pic_GO
='-fno-common'
11635 # PIC is the default for Haiku.
11636 # The "-static" flag exists, but is broken.
11637 lt_prog_compiler_static_GO
=
11641 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11642 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11643 # sets the default TLS model and affects inlining.
11649 lt_prog_compiler_pic_GO
='-fPIC'
11655 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11656 # Instead, we relocate shared libraries at runtime.
11660 # Just because we use GCC doesn't mean we suddenly get shared libraries
11661 # on systems that don't support them.
11662 lt_prog_compiler_can_build_shared_GO
=no
11667 # QNX uses GNU C++, but need to define -shared option too, otherwise
11668 # it will coredump.
11669 lt_prog_compiler_pic_GO
='-fPIC -shared'
11673 if test -d /usr
/nec
; then
11674 lt_prog_compiler_pic_GO
=-Kconform_pic
11679 lt_prog_compiler_pic_GO
='-fPIC'
11683 case $cc_basename in
11684 nvcc
*) # Cuda Compiler Driver 2.2
11685 lt_prog_compiler_wl_GO
='-Xlinker '
11686 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11690 # PORTME Check for flag to pass linker flags through the system compiler.
11693 lt_prog_compiler_wl_GO
='-Wl,'
11694 if test "$host_cpu" = ia64
; then
11695 # AIX 5 now supports IA64 processor
11696 lt_prog_compiler_static_GO
='-Bstatic'
11698 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11702 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11703 # This hack is so that the source file can tell whether it is being
11704 # built for inclusion in a dll (and should export symbols for example).
11705 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11708 hpux9
* | hpux10
* | hpux11
*)
11709 lt_prog_compiler_wl_GO
='-Wl,'
11710 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11711 # not for PA HP-UX.
11717 lt_prog_compiler_pic_GO
='+Z'
11720 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11721 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11724 irix5
* | irix6
* | nonstopux
*)
11725 lt_prog_compiler_wl_GO
='-Wl,'
11726 # PIC (with -KPIC) is the default.
11727 lt_prog_compiler_static_GO
='-non_shared'
11730 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11731 case $cc_basename in
11732 # old Intel for x86_64 which still supported -KPIC.
11734 lt_prog_compiler_wl_GO
='-Wl,'
11735 lt_prog_compiler_pic_GO
='-KPIC'
11736 lt_prog_compiler_static_GO
='-static'
11738 # icc used to be incompatible with GCC.
11739 # ICC 10 doesn't accept -KPIC any more.
11741 lt_prog_compiler_wl_GO
='-Wl,'
11742 lt_prog_compiler_pic_GO
='-fPIC'
11743 lt_prog_compiler_static_GO
='-static'
11745 # Lahey Fortran 8.1.
11747 lt_prog_compiler_wl_GO
='-Wl,'
11748 lt_prog_compiler_pic_GO
='--shared'
11749 lt_prog_compiler_static_GO
='--static'
11751 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11752 # Portland Group compilers (*not* the Pentium gcc compiler,
11753 # which looks to be a dead project)
11754 lt_prog_compiler_wl_GO
='-Wl,'
11755 lt_prog_compiler_pic_GO
='-fpic'
11756 lt_prog_compiler_static_GO
='-Bstatic'
11759 lt_prog_compiler_wl_GO
='-Wl,'
11760 # All Alpha code is PIC.
11761 lt_prog_compiler_static_GO
='-non_shared'
11763 xl
* | bgxl
* | bgf
* | mpixl
*)
11764 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11765 lt_prog_compiler_wl_GO
='-Wl,'
11766 lt_prog_compiler_pic_GO
='-qpic'
11767 lt_prog_compiler_static_GO
='-qstaticlink'
11770 case `$CC -V 2>&1 | sed 5q` in
11771 *Sun\ F
* |
*Sun
*Fortran
*)
11772 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11773 lt_prog_compiler_pic_GO
='-KPIC'
11774 lt_prog_compiler_static_GO
='-Bstatic'
11775 lt_prog_compiler_wl_GO
=''
11779 lt_prog_compiler_pic_GO
='-KPIC'
11780 lt_prog_compiler_static_GO
='-Bstatic'
11781 lt_prog_compiler_wl_GO
='-Wl,'
11789 lt_prog_compiler_pic_GO
='-KPIC'
11790 lt_prog_compiler_static_GO
='-Bstatic'
11794 # QNX uses GNU C++, but need to define -shared option too, otherwise
11795 # it will coredump.
11796 lt_prog_compiler_pic_GO
='-fPIC -shared'
11799 osf3
* | osf4
* | osf5
*)
11800 lt_prog_compiler_wl_GO
='-Wl,'
11801 # All OSF/1 code is PIC.
11802 lt_prog_compiler_static_GO
='-non_shared'
11806 lt_prog_compiler_static_GO
='-non_shared'
11810 lt_prog_compiler_pic_GO
='-KPIC'
11811 lt_prog_compiler_static_GO
='-Bstatic'
11812 case $cc_basename in
11813 f77
* | f90
* | f95
*)
11814 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11816 lt_prog_compiler_wl_GO
='-Wl,';;
11821 lt_prog_compiler_wl_GO
='-Qoption ld '
11822 lt_prog_compiler_pic_GO
='-PIC'
11823 lt_prog_compiler_static_GO
='-Bstatic'
11826 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11827 lt_prog_compiler_wl_GO
='-Wl,'
11828 lt_prog_compiler_pic_GO
='-KPIC'
11829 lt_prog_compiler_static_GO
='-Bstatic'
11833 if test -d /usr
/nec
;then
11834 lt_prog_compiler_pic_GO
='-Kconform_pic'
11835 lt_prog_compiler_static_GO
='-Bstatic'
11839 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11840 lt_prog_compiler_wl_GO
='-Wl,'
11841 lt_prog_compiler_pic_GO
='-KPIC'
11842 lt_prog_compiler_static_GO
='-Bstatic'
11846 lt_prog_compiler_wl_GO
='-Wl,'
11847 lt_prog_compiler_can_build_shared_GO
=no
11851 lt_prog_compiler_pic_GO
='-pic'
11852 lt_prog_compiler_static_GO
='-Bstatic'
11856 lt_prog_compiler_can_build_shared_GO
=no
11862 # For platforms which do not support PIC, -DPIC is meaningless:
11864 lt_prog_compiler_pic_GO
=
11867 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11871 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11876 # Check to make sure the PIC flag actually works.
11878 if test -n "$lt_prog_compiler_pic_GO"; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11880 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11881 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11882 $as_echo_n "(cached) " >&6
11884 lt_cv_prog_compiler_pic_works_GO
=no
11885 ac_outfile
=conftest.
$ac_objext
11886 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11887 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11888 # Insert the option either (1) after the last *FLAGS variable, or
11889 # (2) before a word containing "conftest.", or (3) at the end.
11890 # Note that $ac_compile itself does not contain backslashes and begins
11891 # with a dollar sign (not a hyphen), so the echo should work correctly.
11892 # The option is referenced via a variable to avoid confusing sed.
11893 lt_compile
=`echo "$ac_compile" | $SED \
11894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11896 -e 's:$: $lt_compiler_flag:'`
11897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11898 (eval "$lt_compile" 2>conftest.err
)
11900 cat conftest.err
>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 if (exit $ac_status) && test -s "$ac_outfile"; then
11903 # The compiler can only warn and ignore the option if not recognized
11904 # So say no if there are warnings other than the usual output.
11905 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11906 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11907 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11908 lt_cv_prog_compiler_pic_works_GO
=yes
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11915 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11917 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11918 case $lt_prog_compiler_pic_GO in
11920 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11923 lt_prog_compiler_pic_GO
=
11924 lt_prog_compiler_can_build_shared_GO
=no
11932 # Check to make sure the static flag actually works.
11934 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11936 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11937 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11938 $as_echo_n "(cached) " >&6
11940 lt_cv_prog_compiler_static_works_GO
=no
11941 save_LDFLAGS
="$LDFLAGS"
11942 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11943 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11944 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11945 # The linker can only warn and ignore the option if not recognized
11946 # So say no if there are warnings
11947 if test -s conftest.err
; then
11948 # Append any errors to the config.log.
11949 cat conftest.err
1>&5
11950 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11951 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11952 if diff conftest.exp conftest.er2
>/dev
/null
; then
11953 lt_cv_prog_compiler_static_works_GO
=yes
11956 lt_cv_prog_compiler_static_works_GO
=yes
11960 LDFLAGS
="$save_LDFLAGS"
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11964 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11966 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11969 lt_prog_compiler_static_GO
=
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11976 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11977 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11978 $as_echo_n "(cached) " >&6
11980 lt_cv_prog_compiler_c_o_GO
=no
11981 $RM -r conftest
2>/dev
/null
11985 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11987 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11988 # Insert the option either (1) after the last *FLAGS variable, or
11989 # (2) before a word containing "conftest.", or (3) at the end.
11990 # Note that $ac_compile itself does not contain backslashes and begins
11991 # with a dollar sign (not a hyphen), so the echo should work correctly.
11992 lt_compile
=`echo "$ac_compile" | $SED \
11993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11995 -e 's:$: $lt_compiler_flag:'`
11996 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11997 (eval "$lt_compile" 2>out
/conftest.err
)
11999 cat out
/conftest.err
>&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12003 # The compiler can only warn and ignore the option if not recognized
12004 # So say no if there are warnings
12005 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12006 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12007 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12008 lt_cv_prog_compiler_c_o_GO
=yes
12013 # SGI C++ compiler will create directory out/ii_files/ for
12014 # template instantiation
12015 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12016 $RM out
/* && rmdir out
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12023 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12028 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12029 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12030 $as_echo_n "(cached) " >&6
12032 lt_cv_prog_compiler_c_o_GO
=no
12033 $RM -r conftest
2>/dev
/null
12037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12039 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12040 # Insert the option either (1) after the last *FLAGS variable, or
12041 # (2) before a word containing "conftest.", or (3) at the end.
12042 # Note that $ac_compile itself does not contain backslashes and begins
12043 # with a dollar sign (not a hyphen), so the echo should work correctly.
12044 lt_compile
=`echo "$ac_compile" | $SED \
12045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12047 -e 's:$: $lt_compiler_flag:'`
12048 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12049 (eval "$lt_compile" 2>out
/conftest.err
)
12051 cat out
/conftest.err
>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12055 # The compiler can only warn and ignore the option if not recognized
12056 # So say no if there are warnings
12057 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12058 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12059 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12060 lt_cv_prog_compiler_c_o_GO
=yes
12065 # SGI C++ compiler will create directory out/ii_files/ for
12066 # template instantiation
12067 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12068 $RM out
/* && rmdir out
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12075 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12080 hard_links
="nottested"
12081 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12082 # do not overwrite the value of need_locks provided by the user
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12084 $as_echo_n "checking if we can lock with hard links... " >&6; }
12087 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12089 ln conftest.a conftest.b
2>&5 || hard_links
=no
12090 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12092 $as_echo "$hard_links" >&6; }
12093 if test "$hard_links" = no
; then
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12095 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12108 allow_undefined_flag_GO
=
12109 always_export_symbols_GO
=no
12111 archive_expsym_cmds_GO
=
12112 compiler_needs_object_GO
=no
12113 enable_shared_with_static_runtimes_GO
=no
12114 export_dynamic_flag_spec_GO
=
12115 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12116 hardcode_automatic_GO
=no
12117 hardcode_direct_GO
=no
12118 hardcode_direct_absolute_GO
=no
12119 hardcode_libdir_flag_spec_GO
=
12120 hardcode_libdir_flag_spec_ld_GO
=
12121 hardcode_libdir_separator_GO
=
12122 hardcode_minus_L_GO
=no
12123 hardcode_shlibpath_var_GO
=unsupported
12124 inherit_rpath_GO
=no
12125 link_all_deplibs_GO
=unknown
12127 module_expsym_cmds_GO
=
12128 old_archive_from_new_cmds_GO
=
12129 old_archive_from_expsyms_cmds_GO
=
12130 thread_safe_flag_spec_GO
=
12131 whole_archive_flag_spec_GO
=
12132 # include_expsyms should be a list of space-separated symbols to be *always*
12133 # included in the symbol list
12134 include_expsyms_GO
=
12135 # exclude_expsyms can be an extended regexp of symbols to exclude
12136 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12137 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12138 # as well as any symbol that contains `d'.
12139 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12140 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12141 # platforms (ab)use it in PIC code, but their linkers get confused if
12142 # the symbol is explicitly referenced. Since portable code cannot
12143 # rely on this symbol name, it's probably fine to never include it in
12144 # preloaded symbol tables.
12145 # Exclude shared library initialization/finalization symbols.
12146 extract_expsyms_cmds
=
12149 cygwin
* | mingw
* | pw32
* | cegcc
*)
12150 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12151 # When not using gcc, we currently assume that we are using
12152 # Microsoft Visual C++.
12153 if test "$GCC" != yes; then
12158 # we just hope/assume this is gcc and not c89 (= MSVC++)
12168 # On some targets, GNU ld is compatible enough with the native linker
12169 # that we're better off using the native interface for both.
12170 lt_use_gnu_ld_interface
=no
12171 if test "$with_gnu_ld" = yes; then
12174 # The AIX port of GNU ld has always aspired to compatibility
12175 # with the native linker. However, as the warning in the GNU ld
12176 # block says, versions before 2.19.5* couldn't really create working
12177 # shared libraries, regardless of the interface used.
12178 case `$LD -v 2>&1` in
12179 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12180 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12181 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12183 lt_use_gnu_ld_interface
=yes
12188 lt_use_gnu_ld_interface
=yes
12193 if test "$lt_use_gnu_ld_interface" = yes; then
12194 # If archive_cmds runs LD, not CC, wlarc should be empty
12197 # Set some defaults for GNU ld with shared library support. These
12198 # are reset later if shared libraries are not supported. Putting them
12199 # here allows them to be overridden if necessary.
12200 runpath_var
=LD_RUN_PATH
12201 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12202 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12205 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207 whole_archive_flag_spec_GO
=
12209 supports_anon_versioning
=no
12210 case `$LD -v 2>&1` in
12211 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12212 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12213 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12214 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12215 *\
2.11.
*) ;; # other 2.11 versions
12216 *) supports_anon_versioning
=yes ;;
12219 # See if GNU ld supports shared libraries.
12222 # On AIX/PPC, the GNU linker is very broken
12223 if test "$host_cpu" != ia64
; then
12227 *** Warning: the GNU linker, at least up to release 2.19, is reported
12228 *** to be unable to reliably create shared libraries on AIX.
12229 *** Therefore, libtool is disabling shared libraries support. If you
12230 *** really care for shared libraries, you may want to install binutils
12231 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12232 *** You will then need to restart the configuration process.
12241 # see comment about AmigaOS4 .so support
12242 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12243 archive_expsym_cmds_GO
=''
12246 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)'
12247 hardcode_libdir_flag_spec_GO
='-L$libdir'
12248 hardcode_minus_L_GO
=yes
12254 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12255 allow_undefined_flag_GO
=unsupported
12256 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12257 # support --undefined. This deserves some investigation. FIXME
12258 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12264 cygwin
* | mingw
* | pw32
* | cegcc
*)
12265 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12266 # as there is no search path for DLLs.
12267 hardcode_libdir_flag_spec_GO
='-L$libdir'
12268 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12269 allow_undefined_flag_GO
=unsupported
12270 always_export_symbols_GO
=no
12271 enable_shared_with_static_runtimes_GO
=yes
12272 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12274 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12275 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12276 # If the export-symbols file already is a .def file (1st line
12277 # is EXPORTS), use it as is; otherwise, prepend...
12278 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12279 cp $export_symbols $output_objdir/$soname.def;
12281 echo EXPORTS > $output_objdir/$soname.def;
12282 cat $export_symbols >> $output_objdir/$soname.def;
12284 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12291 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12292 link_all_deplibs_GO
=yes
12296 hardcode_direct_GO
=no
12297 hardcode_shlibpath_var_GO
=no
12298 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12299 export_dynamic_flag_spec_GO
='${wl}-E'
12300 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12301 # Instead, shared libraries are loaded at an image base (0x10000000 by
12302 # default) and relocated if they conflict, which is a slow very memory
12303 # consuming and fragmenting process. To avoid this, we pick a random,
12304 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12305 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12306 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'
12307 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'
12310 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12312 if test "$host_os" = linux-dietlibc
; then
12313 case $cc_basename in
12314 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12317 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12318 && test "$tmp_diet" = no
12321 tmp_sharedflag
='-shared'
12322 case $cc_basename,$host_cpu in
12323 pgcc
*) # Portland Group C compiler
12324 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'
12325 tmp_addflag
=' $pic_flag'
12327 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12328 # Portland Group f77 and f90 compilers
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 tmp_addflag
=' $pic_flag -Mnomain' ;;
12331 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12332 tmp_addflag
=' -i_dynamic' ;;
12333 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12334 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12335 ifc
* | ifort
*) # Intel Fortran compiler
12336 tmp_addflag
=' -nofor_main' ;;
12337 lf95
*) # Lahey Fortran 8.1
12338 whole_archive_flag_spec_GO
=
12339 tmp_sharedflag
='--shared' ;;
12340 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12341 tmp_sharedflag
='-qmkshrobj'
12343 nvcc
*) # Cuda Compiler Driver 2.2
12344 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'
12345 compiler_needs_object_GO
=yes
12348 case `$CC -V 2>&1 | sed 5q` in
12349 *Sun\ C
*) # Sun C 5.9
12350 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'
12351 compiler_needs_object_GO
=yes
12352 tmp_sharedflag
='-G' ;;
12353 *Sun\ F
*) # Sun Fortran 8.3
12354 tmp_sharedflag
='-G' ;;
12356 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12358 if test "x$supports_anon_versioning" = xyes
; then
12359 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12360 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12361 echo "local: *; };" >> $output_objdir/$libname.ver~
12362 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12365 case $cc_basename in
12366 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12367 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12368 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12369 hardcode_libdir_flag_spec_GO
=
12370 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12371 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12372 if test "x$supports_anon_versioning" = xyes
; then
12373 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12374 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12375 echo "local: *; };" >> $output_objdir/$libname.ver~
12376 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12386 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12387 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12390 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12391 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12396 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12400 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12401 *** create shared libraries on Solaris systems. Therefore, libtool
12402 *** is disabling shared libraries support. We urge you to upgrade GNU
12403 *** binutils to release 2.9.1 or newer. Another option is to modify
12404 *** your PATH or compiler configuration so that the native linker is
12405 *** used, and then restart.
12408 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12409 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12410 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12416 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12417 case `$LD -v 2>&1` in
12418 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12422 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12423 *** reliably create shared libraries on SCO systems. Therefore, libtool
12424 *** is disabling shared libraries support. We urge you to upgrade GNU
12425 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12426 *** your PATH or compiler configuration so that the native linker is
12427 *** used, and then restart.
12432 # For security reasons, it is highly recommended that you always
12433 # use absolute paths for naming shared libraries, and exclude the
12434 # DT_RUNPATH tag from executables and libraries. But doing so
12435 # requires that you compile everything twice, which is a pain.
12436 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12437 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12438 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12448 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12450 hardcode_direct_GO
=yes
12451 hardcode_shlibpath_var_GO
=no
12455 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12456 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12457 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12464 if test "$ld_shlibs_GO" = no
; then
12466 hardcode_libdir_flag_spec_GO
=
12467 export_dynamic_flag_spec_GO
=
12468 whole_archive_flag_spec_GO
=
12471 # PORTME fill in a description of your system's linker (not GNU ld)
12474 allow_undefined_flag_GO
=unsupported
12475 always_export_symbols_GO
=yes
12476 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'
12477 # Note: this linker hardcodes the directories in LIBPATH if there
12478 # are no directories specified by -L.
12479 hardcode_minus_L_GO
=yes
12480 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12481 # Neither direct hardcoding nor static linking is supported with a
12483 hardcode_direct_GO
=unsupported
12488 if test "$host_cpu" = ia64
; then
12489 # On IA64, the linker does run time linking by default, so we don't
12490 # have to do anything special.
12491 aix_use_runtimelinking
=no
12492 exp_sym_flag
='-Bexport'
12495 # If we're using GNU nm, then we don't want the "-C" option.
12496 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12497 # Also, AIX nm treats weak defined symbols like other global
12498 # defined symbols, whereas GNU nm marks them as "W".
12499 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12500 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'
12502 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'
12504 aix_use_runtimelinking
=no
12506 # Test if we are trying to use run time linking or normal
12507 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12508 # need to do runtime linking.
12509 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12510 for ld_flag
in $LDFLAGS; do
12511 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12512 aix_use_runtimelinking
=yes
12519 exp_sym_flag
='-bexport'
12520 no_entry_flag
='-bnoentry'
12523 # When large executables or shared objects are built, AIX ld can
12524 # have problems creating the table of contents. If linking a library
12525 # or program results in "error TOC overflow" add -mminimal-toc to
12526 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12527 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12530 hardcode_direct_GO
=yes
12531 hardcode_direct_absolute_GO
=yes
12532 hardcode_libdir_separator_GO
=':'
12533 link_all_deplibs_GO
=yes
12534 file_list_spec_GO
='${wl}-f,'
12536 if test "$GCC" = yes; then
12537 case $host_os in aix4.
[012]|aix4.
[012].
*)
12538 # We only want to do this on AIX 4.2 and lower, the check
12539 # below for broken collect2 doesn't work under 4.3+
12540 collect2name
=`${CC} -print-prog-name=collect2`
12541 if test -f "$collect2name" &&
12542 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12544 # We have reworked collect2
12547 # We have old collect2
12548 hardcode_direct_GO
=unsupported
12549 # It fails to find uninstalled libraries when the uninstalled
12550 # path is not listed in the libpath. Setting hardcode_minus_L
12551 # to unsupported forces relinking
12552 hardcode_minus_L_GO
=yes
12553 hardcode_libdir_flag_spec_GO
='-L$libdir'
12554 hardcode_libdir_separator_GO
=
12558 shared_flag
='-shared'
12559 if test "$aix_use_runtimelinking" = yes; then
12560 shared_flag
="$shared_flag "'${wl}-G'
12564 if test "$host_cpu" = ia64
; then
12565 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12566 # chokes on -Wl,-G. The following line is correct:
12569 if test "$aix_use_runtimelinking" = yes; then
12570 shared_flag
='${wl}-G'
12572 shared_flag
='${wl}-bM:SRE'
12577 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12578 # It seems that -bexpall does not export symbols beginning with
12579 # underscore (_), so it is better to generate a list of symbols to export.
12580 always_export_symbols_GO
=yes
12581 if test "$aix_use_runtimelinking" = yes; then
12582 # Warning - without using the other runtime loading flags (-brtl),
12583 # -berok will link without error, but may produce a broken library.
12584 allow_undefined_flag_GO
='-berok'
12585 # Determine the default libpath from the value encoded in an
12586 # empty executable.
12587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12598 if ac_fn_c_try_link
"$LINENO"; then :
12600 lt_aix_libpath_sed
='
12601 /Import File Strings/,/^$/ {
12607 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12608 # Check for a 64-bit object if we didn't find anything.
12609 if test -z "$aix_libpath"; then
12610 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12613 rm -f core conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12615 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12617 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12618 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"
12620 if test "$host_cpu" = ia64
; then
12621 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12622 allow_undefined_flag_GO
="-z nodefs"
12623 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"
12625 # Determine the default libpath from the value encoded in an
12626 # empty executable.
12627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12638 if ac_fn_c_try_link
"$LINENO"; then :
12640 lt_aix_libpath_sed
='
12641 /Import File Strings/,/^$/ {
12647 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12648 # Check for a 64-bit object if we didn't find anything.
12649 if test -z "$aix_libpath"; then
12650 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12653 rm -f core conftest.err conftest.
$ac_objext \
12654 conftest
$ac_exeext conftest.
$ac_ext
12655 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12657 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12658 # Warning - without using the other run time loading flags,
12659 # -berok will link without error, but may produce a broken library.
12660 no_undefined_flag_GO
=' ${wl}-bernotok'
12661 allow_undefined_flag_GO
=' ${wl}-berok'
12662 if test "$with_gnu_ld" = yes; then
12663 # We only use this code for GNU lds that support --whole-archive.
12664 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12666 # Exported symbols can be pulled into shared objects from archives
12667 whole_archive_flag_spec_GO
='$convenience'
12669 archive_cmds_need_lc_GO
=yes
12670 # This is similar to how AIX traditionally builds its shared libraries.
12671 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'
12679 # see comment about AmigaOS4 .so support
12680 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12681 archive_expsym_cmds_GO
=''
12684 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)'
12685 hardcode_libdir_flag_spec_GO
='-L$libdir'
12686 hardcode_minus_L_GO
=yes
12692 export_dynamic_flag_spec_GO
=-rdynamic
12695 cygwin
* | mingw
* | pw32
* | cegcc
*)
12696 # When not using gcc, we currently assume that we are using
12697 # Microsoft Visual C++.
12698 # hardcode_libdir_flag_spec is actually meaningless, as there is
12699 # no search path for DLLs.
12700 hardcode_libdir_flag_spec_GO
=' '
12701 allow_undefined_flag_GO
=unsupported
12702 # Tell ltmain to make .lib files, not .a files.
12704 # Tell ltmain to make .dll files, not .so files.
12706 # FIXME: Setting linknames here is a bad hack.
12707 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12708 # The linker will automatically build a .lib file if we build a DLL.
12709 old_archive_from_new_cmds_GO
='true'
12710 # FIXME: Should let the user specify the lib program.
12711 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12712 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12713 enable_shared_with_static_runtimes_GO
=yes
12716 darwin
* | rhapsody
*)
12719 archive_cmds_need_lc_GO
=no
12720 hardcode_direct_GO
=no
12721 hardcode_automatic_GO
=yes
12722 hardcode_shlibpath_var_GO
=unsupported
12723 if test "$lt_cv_ld_force_load" = "yes"; then
12724 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\"`'
12726 whole_archive_flag_spec_GO
=''
12728 link_all_deplibs_GO
=yes
12729 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12730 case $cc_basename in
12731 ifort
*) _lt_dar_can_shared
=yes ;;
12732 *) _lt_dar_can_shared
=$GCC ;;
12734 if test "$_lt_dar_can_shared" = "yes"; then
12735 output_verbose_link_cmd
=func_echo_all
12736 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}"
12737 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12738 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}"
12739 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}"
12748 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12749 hardcode_libdir_flag_spec_GO
='-L$libdir'
12750 hardcode_shlibpath_var_GO
=no
12753 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12754 # support. Future versions do this automatically, but an explicit c++rt0.o
12755 # does not break anything, and helps significantly (at the cost of a little
12758 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12759 hardcode_libdir_flag_spec_GO
='-R$libdir'
12760 hardcode_direct_GO
=yes
12761 hardcode_shlibpath_var_GO
=no
12764 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12766 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12767 hardcode_direct_GO
=yes
12768 hardcode_minus_L_GO
=yes
12769 hardcode_shlibpath_var_GO
=no
12772 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12773 freebsd
* | dragonfly
*)
12774 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12775 hardcode_libdir_flag_spec_GO
='-R$libdir'
12776 hardcode_direct_GO
=yes
12777 hardcode_shlibpath_var_GO
=no
12781 if test "$GCC" = yes; then
12782 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'
12784 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'
12786 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12787 hardcode_libdir_separator_GO
=:
12788 hardcode_direct_GO
=yes
12790 # hardcode_minus_L: Not really in the search PATH,
12791 # but as the default location of the library.
12792 hardcode_minus_L_GO
=yes
12793 export_dynamic_flag_spec_GO
='${wl}-E'
12797 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12798 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12800 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12802 if test "$with_gnu_ld" = no
; then
12803 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12804 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12805 hardcode_libdir_separator_GO
=:
12806 hardcode_direct_GO
=yes
12807 hardcode_direct_absolute_GO
=yes
12808 export_dynamic_flag_spec_GO
='${wl}-E'
12809 # hardcode_minus_L: Not really in the search PATH,
12810 # but as the default location of the library.
12811 hardcode_minus_L_GO
=yes
12816 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12819 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12822 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12825 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12831 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12834 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12837 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12841 if test "$with_gnu_ld" = no
; then
12842 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12843 hardcode_libdir_separator_GO
=:
12847 hardcode_direct_GO
=no
12848 hardcode_shlibpath_var_GO
=no
12851 hardcode_direct_GO
=yes
12852 hardcode_direct_absolute_GO
=yes
12853 export_dynamic_flag_spec_GO
='${wl}-E'
12855 # hardcode_minus_L: Not really in the search PATH,
12856 # but as the default location of the library.
12857 hardcode_minus_L_GO
=yes
12863 irix5
* | irix6
* | nonstopux
*)
12864 if test "$GCC" = yes; then
12865 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'
12866 # Try to use the -exported_symbol ld option, if it does not
12867 # work, assume that -exports_file does not work either and
12868 # implicitly export all symbols.
12869 save_LDFLAGS
="$LDFLAGS"
12870 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12875 if ac_fn_c_try_link
"$LINENO"; then :
12876 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'
12879 rm -f core conftest.err conftest.
$ac_objext \
12880 conftest
$ac_exeext conftest.
$ac_ext
12881 LDFLAGS
="$save_LDFLAGS"
12883 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'
12884 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'
12886 archive_cmds_need_lc_GO
='no'
12887 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12888 hardcode_libdir_separator_GO
=:
12889 inherit_rpath_GO
=yes
12890 link_all_deplibs_GO
=yes
12894 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12895 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12897 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12899 hardcode_libdir_flag_spec_GO
='-R$libdir'
12900 hardcode_direct_GO
=yes
12901 hardcode_shlibpath_var_GO
=no
12905 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12906 hardcode_direct_GO
=yes
12907 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12908 hardcode_libdir_separator_GO
=:
12909 hardcode_shlibpath_var_GO
=no
12916 if test -f /usr
/libexec
/ld.so
; then
12917 hardcode_direct_GO
=yes
12918 hardcode_shlibpath_var_GO
=no
12919 hardcode_direct_absolute_GO
=yes
12920 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12921 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12922 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12923 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12924 export_dynamic_flag_spec_GO
='${wl}-E'
12927 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12928 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12929 hardcode_libdir_flag_spec_GO
='-R$libdir'
12932 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12933 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12943 hardcode_libdir_flag_spec_GO
='-L$libdir'
12944 hardcode_minus_L_GO
=yes
12945 allow_undefined_flag_GO
=unsupported
12946 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'
12947 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12951 if test "$GCC" = yes; then
12952 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12953 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'
12955 allow_undefined_flag_GO
=' -expect_unresolved \*'
12956 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'
12958 archive_cmds_need_lc_GO
='no'
12959 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12960 hardcode_libdir_separator_GO
=:
12963 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12964 if test "$GCC" = yes; then
12965 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12966 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'
12967 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12969 allow_undefined_flag_GO
=' -expect_unresolved \*'
12970 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'
12971 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~
12972 $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'
12974 # Both c and cxx compiler support -rpath directly
12975 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12977 archive_cmds_need_lc_GO
='no'
12978 hardcode_libdir_separator_GO
=:
12982 no_undefined_flag_GO
=' -z defs'
12983 if test "$GCC" = yes; then
12985 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12986 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12987 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12989 case `$CC -V 2>&1` in
12992 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12993 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12994 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12998 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12999 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13000 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13004 hardcode_libdir_flag_spec_GO
='-R$libdir'
13005 hardcode_shlibpath_var_GO
=no
13007 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13009 # The compiler driver will combine and reorder linker options,
13010 # but understands `-z linker_flag'. GCC discards it without `$wl',
13011 # but is careful enough not to reorder.
13012 # Supported since Solaris 2.6 (maybe 2.5.1?)
13013 if test "$GCC" = yes; then
13014 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13016 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13020 link_all_deplibs_GO
=yes
13024 if test "x$host_vendor" = xsequent
; then
13025 # Use $CC to link under sequent, because it throws in some extra .o
13026 # files that make .init and .fini sections work.
13027 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13029 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13031 hardcode_libdir_flag_spec_GO
='-L$libdir'
13032 hardcode_direct_GO
=yes
13033 hardcode_minus_L_GO
=yes
13034 hardcode_shlibpath_var_GO
=no
13038 case $host_vendor in
13040 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13041 hardcode_direct_GO
=yes # is this really true???
13044 ## LD is ld it makes a PLAMLIB
13045 ## CC just makes a GrossModule.
13046 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13047 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13048 hardcode_direct_GO
=no
13051 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13052 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13055 runpath_var
='LD_RUN_PATH'
13056 hardcode_shlibpath_var_GO
=no
13060 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13061 hardcode_shlibpath_var_GO
=no
13062 export_dynamic_flag_spec_GO
='-Bexport'
13066 if test -d /usr
/nec
; then
13067 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13068 hardcode_shlibpath_var_GO
=no
13069 runpath_var
=LD_RUN_PATH
13070 hardcode_runpath_var
=yes
13075 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13076 no_undefined_flag_GO
='${wl}-z,text'
13077 archive_cmds_need_lc_GO
=no
13078 hardcode_shlibpath_var_GO
=no
13079 runpath_var
='LD_RUN_PATH'
13081 if test "$GCC" = yes; then
13082 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13083 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13085 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13086 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090 sysv5
* | sco3.2v5
* | sco5v6
*)
13091 # Note: We can NOT use -z defs as we might desire, because we do not
13092 # link with -lc, and that would cause any symbols used from libc to
13093 # always be unresolved, which means just about no library would
13094 # ever link correctly. If we're not using GNU ld we use -z text
13095 # though, which does catch some bad symbols but isn't as heavy-handed
13097 no_undefined_flag_GO
='${wl}-z,text'
13098 allow_undefined_flag_GO
='${wl}-z,nodefs'
13099 archive_cmds_need_lc_GO
=no
13100 hardcode_shlibpath_var_GO
=no
13101 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13102 hardcode_libdir_separator_GO
=':'
13103 link_all_deplibs_GO
=yes
13104 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13105 runpath_var
='LD_RUN_PATH'
13107 if test "$GCC" = yes; then
13108 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13118 hardcode_libdir_flag_spec_GO
='-L$libdir'
13119 hardcode_shlibpath_var_GO
=no
13127 if test x
$host_vendor = xsni
; then
13129 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13130 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13137 $as_echo "$ld_shlibs_GO" >&6; }
13138 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13140 with_gnu_ld_GO
=$with_gnu_ld
13148 # Do we need to explicitly link libc?
13150 case "x$archive_cmds_need_lc_GO" in
13152 # Assume -lc should be added
13153 archive_cmds_need_lc_GO
=yes
13155 if test "$enable_shared" = yes && test "$GCC" = yes; then
13156 case $archive_cmds_GO in
13158 # FIXME: we may have to deal with multi-command sequences.
13161 # Test whether the compiler implicitly links with -lc since on some
13162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13163 # to ld, don't add -lc before -lgcc.
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13166 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13167 $as_echo_n "(cached) " >&6
13170 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13173 (eval $ac_compile) 2>&5
13175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13176 test $ac_status = 0; } 2>conftest.err
; then
13179 libobjs
=conftest.
$ac_objext
13181 wl
=$lt_prog_compiler_wl_GO
13182 pic_flag
=$lt_prog_compiler_pic_GO
13188 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13189 allow_undefined_flag_GO
=
13190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13191 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13194 test $ac_status = 0; }
13196 lt_cv_archive_cmds_need_lc_GO
=no
13198 lt_cv_archive_cmds_need_lc_GO
=yes
13200 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13202 cat conftest.err
1>&5
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13208 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13209 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13280 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13281 hardcode_action_GO
=
13282 if test -n "$hardcode_libdir_flag_spec_GO" ||
13283 test -n "$runpath_var_GO" ||
13284 test "X$hardcode_automatic_GO" = "Xyes" ; then
13286 # We can hardcode non-existent directories.
13287 if test "$hardcode_direct_GO" != no
&&
13288 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13289 # have to relink, otherwise we might link with an installed library
13290 # when we should be linking with a yet-to-be-installed one
13291 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13292 test "$hardcode_minus_L_GO" != no
; then
13293 # Linking always hardcodes the temporary library directory.
13294 hardcode_action_GO
=relink
13296 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13297 hardcode_action_GO
=immediate
13300 # We cannot hardcode anything, or else we can only hardcode existing
13302 hardcode_action_GO
=unsupported
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13305 $as_echo "$hardcode_action_GO" >&6; }
13307 if test "$hardcode_action_GO" = relink ||
13308 test "$inherit_rpath_GO" = yes; then
13309 # Fast installation is not supported
13310 enable_fast_install
=no
13311 elif test "$shlibpath_overrides_runpath" = yes ||
13312 test "$enable_shared" = no
; then
13313 # Fast installation is not necessary
13314 enable_fast_install
=needless
13326 ac_cpp
='$CPP $CPPFLAGS'
13327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13338 ac_config_commands
="$ac_config_commands libtool"
13343 # Only expand once:
13349 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13352 for ac_prog
in gawk mawk nawk
awk
13354 # Extract the first word of "$ac_prog", so it can be a program name with args.
13355 set dummy
$ac_prog; ac_word
=$2
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13357 $as_echo_n "checking for $ac_word... " >&6; }
13358 if test "${ac_cv_prog_AWK+set}" = set; then :
13359 $as_echo_n "(cached) " >&6
13361 if test -n "$AWK"; then
13362 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13365 for as_dir
in $PATH
13368 test -z "$as_dir" && as_dir
=.
13369 for ac_exec_ext
in '' $ac_executable_extensions; do
13370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13371 ac_cv_prog_AWK
="$ac_prog"
13372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13381 AWK
=$ac_cv_prog_AWK
13382 if test -n "$AWK"; then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13384 $as_echo "$AWK" >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13387 $as_echo "no" >&6; }
13391 test -n "$AWK" && break
13395 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13398 # Check whether --enable-werror was given.
13399 if test "${enable_werror+set}" = set; then :
13400 enableval
=$enable_werror;
13403 if test "x$enable_werror" != "xno"; then
13408 glibgo_toolexecdir
=no
13409 glibgo_toolexeclibdir
=no
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13412 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13413 # Check whether --enable-version-specific-runtime-libs was given.
13414 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13415 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13416 yes) version_specific_libs
=yes ;;
13417 no
) version_specific_libs
=no
;;
13418 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13421 version_specific_libs
=no
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13425 $as_echo "$version_specific_libs" >&6; }
13427 # Version-specific runtime libs processing.
13428 if test $version_specific_libs = yes; then
13429 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13430 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13433 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13434 # Install a library built with a cross compiler in tooldir, not libdir.
13435 if test -n "$with_cross_host" &&
13436 test x
"$with_cross_host" != x
"no"; then
13437 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13438 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13440 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13441 nover_glibgo_toolexeclibdir
='${libdir}'
13443 multi_os_directory
=`$CC -print-multi-os-directory`
13444 case $multi_os_directory in
13445 .
) ;; # Avoid trailing /.
13446 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13449 if test x
"$glibgo_toolexecdir" = x
"no"; then
13450 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13451 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13458 # See if the user wants to configure without libffi. Some
13459 # architectures don't support it. FIXME: We should set a default
13460 # based on the host.
13462 # Check whether --with-libffi was given.
13463 if test "${with_libffi+set}" = set; then :
13464 withval
=$with_libffi; :
13466 with_libffi
=${with_libffi_default-yes}
13472 if test "$with_libffi" != no
; then
13474 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13476 LIBFFI
=..
/libffi
/libffi_convenience.la
13477 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13482 # Used to tell GNU make to include a file without telling automake to
13484 go_include
="-include"
13497 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13498 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13499 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13500 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13501 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13502 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13503 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13504 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13506 if test $is_darwin = yes; then
13507 LIBGO_IS_DARWIN_TRUE
=
13508 LIBGO_IS_DARWIN_FALSE
='#'
13510 LIBGO_IS_DARWIN_TRUE
='#'
13511 LIBGO_IS_DARWIN_FALSE
=
13514 if test $is_freebsd = yes; then
13515 LIBGO_IS_FREEBSD_TRUE
=
13516 LIBGO_IS_FREEBSD_FALSE
='#'
13518 LIBGO_IS_FREEBSD_TRUE
='#'
13519 LIBGO_IS_FREEBSD_FALSE
=
13522 if test $is_irix = yes; then
13523 LIBGO_IS_IRIX_TRUE
=
13524 LIBGO_IS_IRIX_FALSE
='#'
13526 LIBGO_IS_IRIX_TRUE
='#'
13527 LIBGO_IS_IRIX_FALSE
=
13530 if test $is_linux = yes; then
13531 LIBGO_IS_LINUX_TRUE
=
13532 LIBGO_IS_LINUX_FALSE
='#'
13534 LIBGO_IS_LINUX_TRUE
='#'
13535 LIBGO_IS_LINUX_FALSE
=
13538 if test $is_netbsd = yes; then
13539 LIBGO_IS_NETBSD_TRUE
=
13540 LIBGO_IS_NETBSD_FALSE
='#'
13542 LIBGO_IS_NETBSD_TRUE
='#'
13543 LIBGO_IS_NETBSD_FALSE
=
13546 if test $is_openbsd = yes; then
13547 LIBGO_IS_OPENBSD_TRUE
=
13548 LIBGO_IS_OPENBSD_FALSE
='#'
13550 LIBGO_IS_OPENBSD_TRUE
='#'
13551 LIBGO_IS_OPENBSD_FALSE
=
13554 if test $is_rtems = yes; then
13555 LIBGO_IS_RTEMS_TRUE
=
13556 LIBGO_IS_RTEMS_FALSE
='#'
13558 LIBGO_IS_RTEMS_TRUE
='#'
13559 LIBGO_IS_RTEMS_FALSE
=
13562 if test $is_solaris = yes; then
13563 LIBGO_IS_SOLARIS_TRUE
=
13564 LIBGO_IS_SOLARIS_FALSE
='#'
13566 LIBGO_IS_SOLARIS_TRUE
='#'
13567 LIBGO_IS_SOLARIS_FALSE
=
13574 *-*-rtems*) USE_DEJAGNU
=yes ;;
13576 *) USE_DEJAGNU
=yes ;;
13596 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13600 i
[34567]86-*-* | x86_64-
*-*)
13601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13608 if ac_fn_c_try_compile
"$LINENO"; then :
13613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13614 if test "$is_386" = "yes"; then
13625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 #if _MIPS_SIM != _ABIO32
13632 if ac_fn_c_try_compile
"$LINENO"; then :
13635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 #if _MIPS_SIM != _ABIN32
13642 if ac_fn_c_try_compile
"$LINENO"; then :
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13648 #if _MIPS_SIM != _ABI64
13652 if ac_fn_c_try_compile
"$LINENO"; then :
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 #if _MIPS_SIM != _ABIO64
13662 if ac_fn_c_try_compile
"$LINENO"; then :
13665 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13675 case "$mips_abi" in
13676 "o32") GOARCH
=mipso32
;;
13677 "n32") GOARCH
=mipsn32
;;
13678 "n64") GOARCH
=mipsn64
;;
13679 "o64") GOARCH
=mipso64
;;
13682 rs6000
*-*-* | powerpc
*-*-*)
13683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13690 if ac_fn_c_try_compile
"$LINENO"; then :
13695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13696 if test "$is_ppc" = "yes"; then
13703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13706 #if defined(__sparcv9) || defined(__arch64__)
13710 if ac_fn_c_try_compile
"$LINENO"; then :
13715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13716 if test "$is_sparc" = "yes"; then
13723 if test $is_386 = yes; then
13725 LIBGO_IS_386_FALSE
='#'
13727 LIBGO_IS_386_TRUE
='#'
13728 LIBGO_IS_386_FALSE
=
13731 if test $is_alpha = yes; then
13732 LIBGO_IS_ALPHA_TRUE
=
13733 LIBGO_IS_ALPHA_FALSE
='#'
13735 LIBGO_IS_ALPHA_TRUE
='#'
13736 LIBGO_IS_ALPHA_FALSE
=
13739 if test $is_arm = yes; then
13741 LIBGO_IS_ARM_FALSE
='#'
13743 LIBGO_IS_ARM_TRUE
='#'
13744 LIBGO_IS_ARM_FALSE
=
13747 if test $is_m68k = yes; then
13748 LIBGO_IS_M68K_TRUE
=
13749 LIBGO_IS_M68K_FALSE
='#'
13751 LIBGO_IS_M68K_TRUE
='#'
13752 LIBGO_IS_M68K_FALSE
=
13755 if test $mips_abi != unknown
; then
13756 LIBGO_IS_MIPS_TRUE
=
13757 LIBGO_IS_MIPS_FALSE
='#'
13759 LIBGO_IS_MIPS_TRUE
='#'
13760 LIBGO_IS_MIPS_FALSE
=
13763 if test $mips_abi = o32
; then
13764 LIBGO_IS_MIPSO32_TRUE
=
13765 LIBGO_IS_MIPSO32_FALSE
='#'
13767 LIBGO_IS_MIPSO32_TRUE
='#'
13768 LIBGO_IS_MIPSO32_FALSE
=
13771 if test $mips_abi = n32
; then
13772 LIBGO_IS_MIPSN32_TRUE
=
13773 LIBGO_IS_MIPSN32_FALSE
='#'
13775 LIBGO_IS_MIPSN32_TRUE
='#'
13776 LIBGO_IS_MIPSN32_FALSE
=
13779 if test $mips_abi = n64
; then
13780 LIBGO_IS_MIPSN64_TRUE
=
13781 LIBGO_IS_MIPSN64_FALSE
='#'
13783 LIBGO_IS_MIPSN64_TRUE
='#'
13784 LIBGO_IS_MIPSN64_FALSE
=
13787 if test $mips_abi = o64
; then
13788 LIBGO_IS_MIPSO64_TRUE
=
13789 LIBGO_IS_MIPSO64_FALSE
='#'
13791 LIBGO_IS_MIPSO64_TRUE
='#'
13792 LIBGO_IS_MIPSO64_FALSE
=
13795 if test $is_ppc = yes; then
13797 LIBGO_IS_PPC_FALSE
='#'
13799 LIBGO_IS_PPC_TRUE
='#'
13800 LIBGO_IS_PPC_FALSE
=
13803 if test $is_ppc64 = yes; then
13804 LIBGO_IS_PPC64_TRUE
=
13805 LIBGO_IS_PPC64_FALSE
='#'
13807 LIBGO_IS_PPC64_TRUE
='#'
13808 LIBGO_IS_PPC64_FALSE
=
13811 if test $is_sparc = yes; then
13812 LIBGO_IS_SPARC_TRUE
=
13813 LIBGO_IS_SPARC_FALSE
='#'
13815 LIBGO_IS_SPARC_TRUE
='#'
13816 LIBGO_IS_SPARC_FALSE
=
13819 if test $is_sparc64 = yes; then
13820 LIBGO_IS_SPARC64_TRUE
=
13821 LIBGO_IS_SPARC64_FALSE
='#'
13823 LIBGO_IS_SPARC64_TRUE
='#'
13824 LIBGO_IS_SPARC64_FALSE
=
13827 if test $is_x86_64 = yes; then
13828 LIBGO_IS_X86_64_TRUE
=
13829 LIBGO_IS_X86_64_FALSE
='#'
13831 LIBGO_IS_X86_64_TRUE
='#'
13832 LIBGO_IS_X86_64_FALSE
=
13837 GO_LIBCALL_OS_FILE
=
13838 GO_LIBCALL_OS_ARCH_FILE
=
13839 GO_SYSCALL_OS_FILE
=
13840 GO_SYSCALL_OS_ARCH_FILE
=
13841 if test -f ${srcdir}/go
/syscall
/libcall_
${GOOS}.go
; then
13842 GO_LIBCALL_OS_FILE
=go
/syscall
/libcall_
${GOOS}.go
13844 if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go
; then
13845 GO_LIBCALL_OS_ARCH_FILE
=go
/syscall
/libcall_
${GOOS}_
${GOARCH}.go
13847 if test -f ${srcdir}/go
/syscall
/syscall_
${GOOS}.go
; then
13848 GO_SYSCALL_OS_FILE
=go
/syscall
/syscall_
${GOOS}.go
13850 if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go
; then
13851 GO_SYSCALL_OS_ARCH_FILE
=go
/syscall
/syscall_
${GOOS}_
${GOARCH}.go
13858 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13861 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13862 # msghdr in <sys/socket.h>.
13863 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13866 # Solaris 8/9 need this so struct msghdr gets the msg_control
13867 # etc. fields in <sys/socket.h> (_XPG4_2).
13868 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__"
13870 *-*-solaris2.1
[01])
13871 # Solaris 10+ needs this so struct msghdr gets the msg_control
13872 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13873 # above doesn't work with C99.
13874 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13880 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13881 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13884 CFLAGS_hold
=$CFLAGS
13885 CFLAGS
="$CFLAGS -fsplit-stack"
13886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13890 if ac_fn_c_try_compile
"$LINENO"; then :
13891 libgo_cv_c_split_stack_supported
=yes
13893 libgo_cv_c_split_stack_supported
=no
13895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13896 CFLAGS
=$CFLAGS_hold
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13899 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13900 if test "$libgo_cv_c_split_stack_supported" = yes; then
13901 SPLIT_STACK
=-fsplit-stack
13903 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13909 if test "$libgo_cv_c_split_stack_supported" = yes; then
13910 USING_SPLIT_STACK_TRUE
=
13911 USING_SPLIT_STACK_FALSE
='#'
13913 USING_SPLIT_STACK_TRUE
='#'
13914 USING_SPLIT_STACK_FALSE
=
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13919 $as_echo_n "checking whether linker supports split stack... " >&6; }
13920 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13921 $as_echo_n "(cached) " >&6
13923 libgo_cv_c_linker_supports_split_stack
=no
13924 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13925 libgo_cv_c_linker_supports_split_stack
=yes
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13929 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13930 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13932 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13938 $as_echo_n "checking for sqrt in -lm... " >&6; }
13939 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13940 $as_echo_n "(cached) " >&6
13942 ac_check_lib_save_LIBS
=$LIBS
13944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h. */
13947 /* Override any GCC internal prototype to avoid an error.
13948 Use char because int might match the return type of a GCC
13949 builtin and then its argument prototype would still apply. */
13962 if ac_fn_c_try_link
"$LINENO"; then :
13963 ac_cv_lib_m_sqrt
=yes
13965 ac_cv_lib_m_sqrt
=no
13967 rm -f core conftest.err conftest.
$ac_objext \
13968 conftest
$ac_exeext conftest.
$ac_ext
13969 LIBS
=$ac_check_lib_save_LIBS
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13972 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13973 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13980 $as_echo_n "checking for socket libraries... " >&6; }
13981 if test "${libgo_cv_lib_sockets+set}" = set; then :
13982 $as_echo_n "(cached) " >&6
13984 libgo_cv_lib_sockets
=
13985 libgo_check_both
=no
13986 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13987 if test "x$ac_cv_func_connect" = x
""yes; then :
13988 libgo_check_socket
=no
13990 libgo_check_socket
=yes
13993 if test "$libgo_check_socket" = "yes"; then
13994 unset ac_cv_func_connect
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13996 $as_echo_n "checking for main in -lsocket... " >&6; }
13997 if test "${ac_cv_lib_socket_main+set}" = set; then :
13998 $as_echo_n "(cached) " >&6
14000 ac_check_lib_save_LIBS
=$LIBS
14001 LIBS
="-lsocket $LIBS"
14002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14014 if ac_fn_c_try_link
"$LINENO"; then :
14015 ac_cv_lib_socket_main
=yes
14017 ac_cv_lib_socket_main
=no
14019 rm -f core conftest.err conftest.
$ac_objext \
14020 conftest
$ac_exeext conftest.
$ac_ext
14021 LIBS
=$ac_check_lib_save_LIBS
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14024 $as_echo "$ac_cv_lib_socket_main" >&6; }
14025 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14026 libgo_cv_lib_sockets
="-lsocket"
14028 libgo_check_both
=yes
14032 if test "$libgo_check_both" = "yes"; then
14033 libgo_old_libs
=$LIBS
14034 LIBS
="$LIBS -lsocket -lnsl"
14035 unset ac_cv_func_accept
14036 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14037 if test "x$ac_cv_func_accept" = x
""yes; then :
14039 libgo_cv_lib_sockets
="-lsocket -lnsl"
14042 unset ac_cv_func_accept
14043 LIBS
=$libgo_old_libs
14045 unset ac_cv_func_gethostbyname
14046 libgo_old_libs
="$LIBS"
14047 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14048 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14052 $as_echo_n "checking for main in -lnsl... " >&6; }
14053 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14054 $as_echo_n "(cached) " >&6
14056 ac_check_lib_save_LIBS
=$LIBS
14058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14070 if ac_fn_c_try_link
"$LINENO"; then :
14071 ac_cv_lib_nsl_main
=yes
14073 ac_cv_lib_nsl_main
=no
14075 rm -f core conftest.err conftest.
$ac_objext \
14076 conftest
$ac_exeext conftest.
$ac_ext
14077 LIBS
=$ac_check_lib_save_LIBS
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14080 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14081 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14082 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14087 unset ac_cv_func_gethostbyname
14088 LIBS
=$libgo_old_libs
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14092 $as_echo "$libgo_cv_lib_sockets" >&6; }
14093 NET_LIBS
="$libgo_cv_lib_sockets"
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14097 $as_echo_n "checking whether -pthread is supported... " >&6; }
14098 if test "${libgo_cv_lib_pthread+set}" = set; then :
14099 $as_echo_n "(cached) " >&6
14101 CFLAGS_hold
=$CFLAGS
14102 CFLAGS
="$CFLAGS -pthread"
14103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14107 if ac_fn_c_try_compile
"$LINENO"; then :
14108 libgo_cv_lib_pthread
=yes
14110 libgo_cv_lib_pthread
=no
14112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14113 CFLAGS
=$CFLAGS_hold
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14116 $as_echo "$libgo_cv_lib_pthread" >&6; }
14118 if test "$libgo_cv_lib_pthread" = yes; then
14119 PTHREAD_CFLAGS
=-pthread
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14125 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14126 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14127 $as_echo_n "(cached) " >&6
14129 ac_check_lib_save_LIBS
=$LIBS
14130 LIBS
="-lpthread $LIBS"
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14134 /* Override any GCC internal prototype to avoid an error.
14135 Use char because int might match the return type of a GCC
14136 builtin and then its argument prototype would still apply. */
14140 char pthread_create ();
14144 return pthread_create ();
14149 if ac_fn_c_try_link
"$LINENO"; then :
14150 ac_cv_lib_pthread_pthread_create
=yes
14152 ac_cv_lib_pthread_pthread_create
=no
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14156 LIBS
=$ac_check_lib_save_LIBS
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14159 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14160 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14161 PTHREAD_LIBS
=-lpthread
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14167 $as_echo_n "checking for library containing sched_yield... " >&6; }
14168 if test "${ac_cv_search_sched_yield+set}" = set; then :
14169 $as_echo_n "(cached) " >&6
14171 ac_func_search_save_LIBS
=$LIBS
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14175 /* Override any GCC internal prototype to avoid an error.
14176 Use char because int might match the return type of a GCC
14177 builtin and then its argument prototype would still apply. */
14181 char sched_yield ();
14185 return sched_yield ();
14190 for ac_lib
in '' rt
; do
14191 if test -z "$ac_lib"; then
14192 ac_res
="none required"
14195 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14197 if ac_fn_c_try_link
"$LINENO"; then :
14198 ac_cv_search_sched_yield
=$ac_res
14200 rm -f core conftest.err conftest.
$ac_objext \
14202 if test "${ac_cv_search_sched_yield+set}" = set; then :
14206 if test "${ac_cv_search_sched_yield+set}" = set; then :
14209 ac_cv_search_sched_yield
=no
14211 rm conftest.
$ac_ext
14212 LIBS
=$ac_func_search_save_LIBS
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14215 $as_echo "$ac_cv_search_sched_yield" >&6; }
14216 ac_res
=$ac_cv_search_sched_yield
14217 if test "$ac_res" != no
; then :
14218 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14223 $as_echo_n "checking for library containing nanosleep... " >&6; }
14224 if test "${ac_cv_search_nanosleep+set}" = set; then :
14225 $as_echo_n "(cached) " >&6
14227 ac_func_search_save_LIBS
=$LIBS
14228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14231 /* Override any GCC internal prototype to avoid an error.
14232 Use char because int might match the return type of a GCC
14233 builtin and then its argument prototype would still apply. */
14241 return nanosleep ();
14246 for ac_lib
in '' rt
; do
14247 if test -z "$ac_lib"; then
14248 ac_res
="none required"
14251 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14253 if ac_fn_c_try_link
"$LINENO"; then :
14254 ac_cv_search_nanosleep
=$ac_res
14256 rm -f core conftest.err conftest.
$ac_objext \
14258 if test "${ac_cv_search_nanosleep+set}" = set; then :
14262 if test "${ac_cv_search_nanosleep+set}" = set; then :
14265 ac_cv_search_nanosleep
=no
14267 rm conftest.
$ac_ext
14268 LIBS
=$ac_func_search_save_LIBS
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14271 $as_echo "$ac_cv_search_nanosleep" >&6; }
14272 ac_res
=$ac_cv_search_nanosleep
14273 if test "$ac_res" != no
; then :
14274 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14280 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14281 if test "${ac_cv_c_bigendian+set}" = set; then :
14282 $as_echo_n "(cached) " >&6
14284 ac_cv_c_bigendian
=unknown
14285 # See if we're dealing with a universal compiler.
14286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 #ifndef __APPLE_CC__
14289 not a universal capable compiler
14294 if ac_fn_c_try_compile
"$LINENO"; then :
14296 # Check for potential -arch flags. It is not universal unless
14297 # there are at least two -arch flags with different values.
14300 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14301 if test -n "$ac_prev"; then
14303 i?
86 | x86_64 | ppc | ppc64
)
14304 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14307 ac_cv_c_bigendian
=universal
14313 elif test "x$ac_word" = "x-arch"; then
14318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14319 if test $ac_cv_c_bigendian = unknown
; then
14320 # See if sys/param.h defines the BYTE_ORDER macro.
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 #include <sys/types.h>
14324 #include <sys/param.h>
14329 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14330 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14332 bogus endian macros
14339 if ac_fn_c_try_compile
"$LINENO"; then :
14340 # It does; now see whether it defined to BIG_ENDIAN or not.
14341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 #include <sys/types.h>
14344 #include <sys/param.h>
14349 #if BYTE_ORDER != BIG_ENDIAN
14357 if ac_fn_c_try_compile
"$LINENO"; then :
14358 ac_cv_c_bigendian
=yes
14360 ac_cv_c_bigendian
=no
14362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14366 if test $ac_cv_c_bigendian = unknown
; then
14367 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 #include <limits.h>
14375 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14376 bogus endian macros
14383 if ac_fn_c_try_compile
"$LINENO"; then :
14384 # It does; now see whether it defined to _BIG_ENDIAN or not.
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 #include <limits.h>
14392 #ifndef _BIG_ENDIAN
14400 if ac_fn_c_try_compile
"$LINENO"; then :
14401 ac_cv_c_bigendian
=yes
14403 ac_cv_c_bigendian
=no
14405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14409 if test $ac_cv_c_bigendian = unknown
; then
14410 # Compile a test program.
14411 if test "$cross_compiling" = yes; then :
14412 # Try to guess by grepping values from an object file.
14413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 short int ascii_mm[] =
14416 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14417 short int ascii_ii[] =
14418 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14419 int use_ascii (int i) {
14420 return ascii_mm[i] + ascii_ii[i];
14422 short int ebcdic_ii[] =
14423 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14424 short int ebcdic_mm[] =
14425 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14426 int use_ebcdic (int i) {
14427 return ebcdic_mm[i] + ebcdic_ii[i];
14434 return use_ascii (foo) == use_ebcdic (foo);
14439 if ac_fn_c_try_compile
"$LINENO"; then :
14440 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14441 ac_cv_c_bigendian
=yes
14443 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14444 if test "$ac_cv_c_bigendian" = unknown
; then
14445 ac_cv_c_bigendian
=no
14447 # finding both strings is unlikely to happen, but who knows?
14448 ac_cv_c_bigendian
=unknown
14452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 $ac_includes_default
14461 /* Are we little or big endian? From Harbison&Steele. */
14465 char c[sizeof (long int)];
14468 return u.c[sizeof (long int) - 1] == 1;
14474 if ac_fn_c_try_run
"$LINENO"; then :
14475 ac_cv_c_bigendian
=no
14477 ac_cv_c_bigendian
=yes
14479 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14480 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14486 $as_echo "$ac_cv_c_bigendian" >&6; }
14487 case $ac_cv_c_bigendian in #(
14489 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14495 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14499 as_fn_error
"unknown endianness
14500 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14506 # Check whether --with-system-libunwind was given.
14507 if test "${with_system_libunwind+set}" = set; then :
14508 withval
=$with_system_libunwind;
14511 # If system-libunwind was not specifically set, pick a default setting.
14512 if test x
$with_system_libunwind = x
; then
14514 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14515 *) with_system_libunwind
=no
;;
14518 # Based on system-libunwind and target, do we have ipinfo?
14519 if test x
$with_system_libunwind = xyes
; then
14521 ia64-
*-*) have_unwind_getipinfo
=no
;;
14522 *) have_unwind_getipinfo
=yes ;;
14525 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14528 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14529 *) have_unwind_getipinfo
=yes ;;
14534 if test x
$have_unwind_getipinfo = xyes
; then
14536 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14541 # Check whether --enable-sjlj-exceptions was given.
14542 if test "${enable_sjlj_exceptions+set}" = set; then :
14543 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14545 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14548 enable_sjlj_exceptions
=auto
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14553 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14554 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14555 $as_echo_n "(cached) " >&6
14557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14561 void clean (int *);
14564 int i __attribute__ ((cleanup (clean)));
14569 CFLAGS_hold
=$CFLAGS
14570 CFLAGS
="--save-temps -fexceptions"
14571 libgo_cv_lib_sjlj_exceptions
=unknown
14572 if ac_fn_c_try_compile
; then :
14573 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14574 libgo_cv_lib_sjlj_exceptions
=yes
14575 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14576 libgo_cv_lib_sjlj_exceptions
=no
14579 CFLAGS
=$CFLAGS_hold
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14584 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14586 if test "$enable_sjlj_exceptions" = "auto"; then
14587 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14590 case $enable_sjlj_exceptions in
14593 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14599 as_fn_error
"unable to detect exception model" "$LINENO" 5
14603 for ac_header
in sys
/file.h sys
/mman.h syscall.h sys
/epoll.h sys
/inotify.h sys
/ptrace.h sys
/syscall.h sys
/user.h sys
/utsname.h sys
/select.h sys
/socket.h net
/if.h net
/if_arp.h net
/route.h netpacket
/packet.h sys
/prctl.h sys
/mount.h sys
/vfs.h sys
/statfs.h sys
/timex.h sys
/sysinfo.h utime.h linux
/ether.h linux
/fs.h linux
/reboot.h netinet
/in_syst.h netinet
/ip.h netinet
/ip_mroute.h netinet
/if_ether.h
14605 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14606 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14607 eval as_val
=\$
$as_ac_Header
14608 if test "x$as_val" = x
""yes; then :
14609 cat >>confdefs.h
<<_ACEOF
14610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14618 for ac_header
in linux
/filter.h linux
/if_addr.h linux
/if_ether.h linux
/if_tun.h linux
/netlink.h linux
/rtnetlink.h
14620 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14621 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14622 #include <sys/socket.h>
14626 eval as_val
=\$
$as_ac_Header
14627 if test "x$as_val" = x
""yes; then :
14628 cat >>confdefs.h
<<_ACEOF
14629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14638 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14639 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14640 $as_echo_n "(cached) " >&6
14642 CFLAGS_hold
=$CFLAGS
14643 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 #include <sys/types.h>
14648 #ifdef HAVE_LINUX_FILTER_H
14649 #include <linux/filter.h>
14654 if ac_fn_c_try_compile
"$LINENO"; then :
14655 libgo_cv_c_ustat_h
=yes
14657 libgo_cv_c_ustat_h
=no
14659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14660 CFLAGS
=$CFLAGS_hold
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14663 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14664 if test $libgo_cv_c_ustat_h = yes; then
14666 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14670 if test "$ac_cv_header_sys_mman_h" = yes; then
14671 HAVE_SYS_MMAN_H_TRUE
=
14672 HAVE_SYS_MMAN_H_FALSE
='#'
14674 HAVE_SYS_MMAN_H_TRUE
='#'
14675 HAVE_SYS_MMAN_H_FALSE
=
14679 for ac_func
in strerror_r strsignal wait4 mincore setenv dl_iterate_phdr
14681 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14682 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14683 eval as_val
=\$
$as_ac_var
14684 if test "x$as_val" = x
""yes; then :
14685 cat >>confdefs.h
<<_ACEOF
14686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14692 if test "$ac_cv_func_strerror_r" = yes; then
14693 HAVE_STRERROR_R_TRUE
=
14694 HAVE_STRERROR_R_FALSE
='#'
14696 HAVE_STRERROR_R_TRUE
='#'
14697 HAVE_STRERROR_R_FALSE
=
14700 if test "$ac_cv_func_wait4" = yes; then
14702 HAVE_WAIT4_FALSE
='#'
14704 HAVE_WAIT4_TRUE
='#'
14709 for ac_func
in accept4 dup3 epoll_create1 faccessat fallocate fchmodat fchownat futimesat getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch listxattr mkdirat mknodat openat pipe2 removexattr renameat setxattr sync_file_range splice
tee unlinkat unshare utimensat
14711 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14712 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14713 eval as_val
=\$
$as_ac_var
14714 if test "x$as_val" = x
""yes; then :
14715 cat >>confdefs.h
<<_ACEOF
14716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14722 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14723 if test "x$ac_cv_type_off_t" = x
""yes; then :
14727 cat >>confdefs.h
<<_ACEOF
14728 #define off_t long int
14733 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14734 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14736 cat >>confdefs.h
<<_ACEOF
14737 #define HAVE_LOFF_T 1
14746 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14748 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14749 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14750 eval as_val
=\$
$as_ac_var
14751 if test "x$as_val" = x
""yes; then :
14752 cat >>confdefs.h
<<_ACEOF
14753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14761 CFLAGS_hold
="$CFLAGS"
14762 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14764 LIBS
="$LIBS $PTHREAD_LIBS"
14765 for ac_func
in sem_timedwait
14767 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14768 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14769 cat >>confdefs.h
<<_ACEOF
14770 #define HAVE_SEM_TIMEDWAIT 1
14776 CFLAGS
="$CFLAGS_hold"
14780 LIBS
="$LIBS $MATH_LIBS"
14781 for ac_func
in matherr
14783 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14784 if test "x$ac_cv_func_matherr" = x
""yes; then :
14785 cat >>confdefs.h
<<_ACEOF
14786 #define HAVE_MATHERR 1
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14795 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14796 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14797 $as_echo_n "(cached) " >&6
14799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14804 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14807 if ac_fn_c_try_link
"$LINENO"; then :
14808 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14810 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14812 rm -f core conftest.err conftest.
$ac_objext \
14813 conftest
$ac_exeext conftest.
$ac_ext
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14816 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14817 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14819 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14824 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14825 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14826 $as_echo_n "(cached) " >&6
14828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14831 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14833 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14836 if ac_fn_c_try_link
"$LINENO"; then :
14837 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14839 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14841 rm -f core conftest.err conftest.
$ac_objext \
14842 conftest
$ac_exeext conftest.
$ac_ext
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14845 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14846 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14848 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14853 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14854 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14855 $as_echo_n "(cached) " >&6
14857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14860 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14862 int main() { return __sync_fetch_and_add (&i, 1); }
14865 if ac_fn_c_try_link
"$LINENO"; then :
14866 libgo_cv_func___sync_fetch_and_add_4
=yes
14868 libgo_cv_func___sync_fetch_and_add_4
=no
14870 rm -f core conftest.err conftest.
$ac_objext \
14871 conftest
$ac_exeext conftest.
$ac_ext
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14874 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14875 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14877 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14882 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14883 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14884 $as_echo_n "(cached) " >&6
14886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14891 int main() { return __sync_add_and_fetch (&i, 1); }
14894 if ac_fn_c_try_link
"$LINENO"; then :
14895 libgo_cv_func___sync_add_and_fetch_8
=yes
14897 libgo_cv_func___sync_add_and_fetch_8
=no
14899 rm -f core conftest.err conftest.
$ac_objext \
14900 conftest
$ac_exeext conftest.
$ac_ext
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14903 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14904 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
14906 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14911 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14912 if test "${libgo_cv_c_stringops+set}" = set; then :
14913 $as_echo_n "(cached) " >&6
14915 CFLAGS_hold
=$CFLAGS
14916 CFLAGS
="$CFLAGS -minline-all-stringops"
14917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14921 if ac_fn_c_try_compile
"$LINENO"; then :
14922 libgo_cv_c_stringops
=yes
14924 libgo_cv_c_stringops
=no
14926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14927 CFLAGS
=$CFLAGS_hold
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14930 $as_echo "$libgo_cv_c_stringops" >&6; }
14932 if test "$libgo_cv_c_stringops" = yes; then
14933 STRINGOPS_FLAG
=-minline-all-stringops
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
14938 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
14939 if test "${libgo_cv_c_fancymath+set}" = set; then :
14940 $as_echo_n "(cached) " >&6
14942 CFLAGS_hold
=$CFLAGS
14943 CFLAGS
="$CFLAGS -mfancy-math-387"
14944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14948 if ac_fn_c_try_compile
"$LINENO"; then :
14949 libgo_cv_c_fancymath
=yes
14951 libgo_cv_c_fancymath
=no
14953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14954 CFLAGS
=$CFLAGS_hold
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
14957 $as_echo "$libgo_cv_c_fancymath" >&6; }
14959 if test "$libgo_cv_c_fancymath" = yes; then
14960 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
14964 CFLAGS_hold
=$CFLAGS
14965 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14966 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14967 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14969 cat >>confdefs.h
<<_ACEOF
14970 #define HAVE_OFF64_T 1
14976 CFLAGS
=$CFLAGS_hold
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
14979 $as_echo_n "checking epoll_event size... " >&6; }
14980 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
14981 $as_echo_n "(cached) " >&6
14983 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
14986 libgo_cv_c_epoll_event_size
=0
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
14991 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
14992 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
14996 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
14997 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
14998 $as_echo_n "(cached) " >&6
15000 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
15001 #include <sys/epoll.h>"; then :
15004 libgo_cv_c_epoll_event_fd_offset
=0
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15009 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15010 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15013 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15015 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15016 libgo_has_struct_exception
=yes
15018 libgo_has_struct_exception
=no
15021 if test "$libgo_has_struct_exception" = "yes"; then
15023 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15028 sparc
*-*-solaris2.
[89]*)
15029 libgo_cv_lib_makecontext_stack_top
=yes
15032 libgo_cv_lib_makecontext_stack_top
=no
15035 if test "$libgo_cv_lib_makecontext_stack_top" = "yes"; then
15037 $as_echo "#define MAKECONTEXT_STACK_TOP 1" >>confdefs.h
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15042 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15043 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15044 $as_echo_n "(cached) " >&6
15046 CFLAGS_hold
="$CFLAGS"
15047 CFLAGS
="$PTHREAD_CFLAGS"
15049 LIBS
="$LIBS $PTHREAD_LIBS"
15050 # The cast to long int works around a bug in the HP C Compiler
15051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15053 # This bug is HP SR number 8606223364.
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15055 $as_echo_n "checking size of void *... " >&6; }
15056 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15057 $as_echo_n "(cached) " >&6
15059 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15062 if test "$ac_cv_type_void_p" = yes; then
15063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15065 { as_fn_set_status
77
15066 as_fn_error
"cannot compute sizeof (void *)
15067 See \`config.log' for more details." "$LINENO" 5; }; }
15069 ac_cv_sizeof_void_p
=0
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15075 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15079 cat >>confdefs.h
<<_ACEOF
15080 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15084 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15085 if test "$cross_compiling" = yes; then :
15086 case "$target:$ptr_type_size" in
15087 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15088 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15090 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 #include <pthread.h>
15098 #include <stdlib.h>
15099 #include <ucontext.h>
15100 #include <unistd.h>
15104 static char stack[10 * 1024 * 1024];
15105 static ucontext_t c;
15107 /* Called via makecontext/setcontext. */
15115 /* Called via pthread_create. */
15120 /* The thread should still see this value after calling
15126 /* The call to setcontext should not return. */
15135 /* The thread should not see this value. */
15138 if (getcontext (&c) < 0)
15141 c.uc_stack.ss_sp = stack;
15142 #ifdef MAKECONTEXT_STACK_TOP
15143 c.uc_stack.ss_sp += sizeof stack;
15145 c.uc_stack.ss_flags = 0;
15146 c.uc_stack.ss_size = sizeof stack;
15148 makecontext (&c, cfn, 0);
15150 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15153 if (pthread_join (tid, NULL) != 0)
15156 /* The thread should have called exit. */
15161 if ac_fn_c_try_run
"$LINENO"; then :
15162 libgo_cv_lib_setcontext_clobbers_tls
=no
15164 libgo_cv_lib_setcontext_clobbers_tls
=yes
15166 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15167 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15170 CFLAGS
="$CFLAGS_hold"
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15175 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15176 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15178 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
15183 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
15184 if test "${libgo_cv_ro_eh_frame+set}" = set; then :
15185 $as_echo_n "(cached) " >&6
15188 libgo_cv_ro_eh_frame
=no
15189 echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
15190 if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c
> /dev
/null
2>&1; then
15191 if grep '.section.*eh_frame.*"a"' conftest.s
> /dev
/null
; then
15192 libgo_cv_ro_eh_frame
=yes
15193 elif grep '.section.*eh_frame.*#alloc' conftest.c \
15194 |
grep -v '#write' > /dev
/null
; then
15195 libgo_cv_ro_eh_frame
=yes
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
15202 $as_echo "$libgo_cv_ro_eh_frame" >&6; }
15203 if test "x$libgo_cv_ro_eh_frame" = xyes
; then
15205 $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
15209 $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
15214 $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
15215 if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15219 echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
15220 if $CC $CFLAGS -c conftest.s
> /dev
/null
2>&1; then
15221 libgo_cv_as_comdat_gnu
=yes
15223 libgo_cv_as_comdat_gnu
=no
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
15228 $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
15229 if test "x$libgo_cv_as_comdat_gnu" = xyes
; then
15231 $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
15236 $as_echo_n "checking assembler supports pc related relocs... " >&6; }
15237 if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
15238 $as_echo_n "(cached) " >&6
15241 libgo_cv_as_x86_pcrel
=yes
15242 echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
15243 if $CC $CFLAGS -c conftest.s
2>&1 |
$EGREP -i 'illegal|warning' > /dev
/null
; then
15244 libgo_cv_as_x86_pcrel
=no
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
15249 $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
15250 if test "x$libgo_cv_as_x86_pcrel" = xyes
; then
15252 $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
15257 $as_echo_n "checking assembler supports unwind section type... " >&6; }
15258 if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15262 libgo_cv_as_x86_64_unwind_section_type
=yes
15263 echo '.section .eh_frame,"a",@unwind' > conftest.s
15264 if $CC $CFLAGS -c conftest.s
2>&1 |
grep -i warning
> /dev
/null
; then
15265 libgo_cv_as_x86_64_unwind_section_type
=no
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
15270 $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
15271 if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes
; then
15273 $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
15277 cat >confcache
<<\_ACEOF
15278 # This file is a shell script that caches the results of configure
15279 # tests run on this system so they can be shared between configure
15280 # scripts and configure runs, see configure's option --config-cache.
15281 # It is not useful on other systems. If it contains results you don't
15282 # want to keep, you may remove or edit it.
15284 # config.status only pays attention to the cache file if you give it
15285 # the --recheck option to rerun configure.
15287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15289 # following values.
15293 # The following way of writing the cache mishandles newlines in values,
15294 # but we know of no workaround that is simple, portable, and efficient.
15295 # So, we kill variables containing newlines.
15296 # Ultrix sh set writes to stderr and can't be redirected directly,
15297 # and sets the high bit in the cache file unless we assign to the vars.
15299 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15300 eval ac_val
=\$
$ac_var
15304 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15308 _ | IFS | as_nl
) ;; #(
15309 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15310 *) { eval $ac_var=; unset $ac_var;} ;;
15316 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15317 *${as_nl}ac_space
=\
*)
15318 # `set' does not quote correctly, so add quotes: double-quote
15319 # substitution turns \\\\ into \\, and sed turns \\ into \.
15322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15325 # `set' quotes correctly as required by POSIX, so do not add quotes.
15326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15337 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15339 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15340 if test -w "$cache_file"; then
15341 test "x$cache_file" != "x/dev/null" &&
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15343 $as_echo "$as_me: updating cache $cache_file" >&6;}
15344 cat confcache
>$cache_file
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15347 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15352 if test ${multilib} = yes; then
15353 multilib_arg
="--enable-multilib"
15358 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15361 ac_config_commands
="$ac_config_commands default"
15364 cat >confcache
<<\_ACEOF
15365 # This file is a shell script that caches the results of configure
15366 # tests run on this system so they can be shared between configure
15367 # scripts and configure runs, see configure's option --config-cache.
15368 # It is not useful on other systems. If it contains results you don't
15369 # want to keep, you may remove or edit it.
15371 # config.status only pays attention to the cache file if you give it
15372 # the --recheck option to rerun configure.
15374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15376 # following values.
15380 # The following way of writing the cache mishandles newlines in values,
15381 # but we know of no workaround that is simple, portable, and efficient.
15382 # So, we kill variables containing newlines.
15383 # Ultrix sh set writes to stderr and can't be redirected directly,
15384 # and sets the high bit in the cache file unless we assign to the vars.
15386 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15387 eval ac_val
=\$
$ac_var
15391 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15392 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15395 _ | IFS | as_nl
) ;; #(
15396 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15397 *) { eval $ac_var=; unset $ac_var;} ;;
15403 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15404 *${as_nl}ac_space
=\
*)
15405 # `set' does not quote correctly, so add quotes: double-quote
15406 # substitution turns \\\\ into \\, and sed turns \\ into \.
15409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15412 # `set' quotes correctly as required by POSIX, so do not add quotes.
15413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15424 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15426 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15427 if test -w "$cache_file"; then
15428 test "x$cache_file" != "x/dev/null" &&
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15430 $as_echo "$as_me: updating cache $cache_file" >&6;}
15431 cat confcache
>$cache_file
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15434 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15439 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15440 # Let make expand exec_prefix.
15441 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15443 DEFS
=-DHAVE_CONFIG_H
15447 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15448 # 1. Remove the extension, and $U if already installed.
15449 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15450 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15451 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15452 # will be set to the directory where LIBOBJS objects are built.
15453 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15454 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15456 LIBOBJS
=$ac_libobjs
15458 LTLIBOBJS
=$ac_ltlibobjs
15461 if test -n "$EXEEXT"; then
15463 am__EXEEXT_FALSE
='#'
15465 am__EXEEXT_TRUE
='#'
15469 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15470 as_fn_error
"conditional \"AMDEP\" was never defined.
15471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15473 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15474 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15477 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15478 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15481 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15482 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15485 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15486 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15489 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15490 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15493 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15494 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15497 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15498 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15501 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15502 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15505 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15506 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15509 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15510 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15513 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15514 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15517 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15518 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15521 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15522 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15525 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15526 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15529 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15530 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15533 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15534 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15537 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15538 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15542 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15545 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15546 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15549 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15550 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15553 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15554 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15557 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15558 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15561 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15562 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15565 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15566 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15569 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15570 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15574 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15575 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15578 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15579 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15582 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15583 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15587 : ${CONFIG_STATUS=./config.status}
15589 ac_clean_files_save
=$ac_clean_files
15590 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15592 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15594 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15596 # Generated by $as_me.
15597 # Run this file to recreate the current configuration.
15598 # Compiler output produced by configure, useful for debugging
15599 # configure, is in config.log if it exists.
15602 ac_cs_recheck=false
15605 SHELL=\${CONFIG_SHELL-$SHELL}
15608 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15609 ## -------------------- ##
15610 ## M4sh Initialization. ##
15611 ## -------------------- ##
15613 # Be more Bourne compatible
15614 DUALCASE
=1; export DUALCASE
# for MKS sh
15615 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15618 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15619 # is contrary to our usage. Disable this feature.
15620 alias -g '${1+"$@"}'='"$@"'
15621 setopt NO_GLOB_SUBST
15623 case `(set -o) 2>/dev/null` in #(
15635 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15636 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15639 # Prefer a ksh shell builtin over an external printf program on Solaris,
15640 # but without wasting forks for bash or zsh.
15641 if test -z "$BASH_VERSION$ZSH_VERSION" \
15642 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15643 as_echo='print
-r --'
15644 as_echo_n='print
-rn --'
15645 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15646 as_echo='printf %s
\n'
15647 as_echo_n='printf %s
'
15649 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15650 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15651 as_echo_n='/usr
/ucb
/echo -n'
15653 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15654 as_echo_n_body='eval
15658 expr "X$arg" : "X\\(.*\\)$as_nl";
15659 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15661 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15663 export as_echo_n_body
15664 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15666 export as_echo_body
15667 as_echo='sh
-c $as_echo_body as_echo
'
15670 # The user is always right.
15671 if test "${PATH_SEPARATOR+set}" != set; then
15673 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15674 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15681 # We need space, tab and new line, in precisely that order. Quoting is
15682 # there to prevent editors from complaining about space-tab.
15683 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15684 # splitting by setting IFS to empty value.)
15687 # Find who we are. Look in the path if we contain no directory separator.
15689 *[\\/]* ) as_myself=$0 ;;
15690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15691 for as_dir in $PATH
15694 test -z "$as_dir" && as_dir=.
15695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15701 # We did not find ourselves, most probably we were run as `sh COMMAND'
15702 # in which case we are not to be found in the path.
15703 if test "x$as_myself" = x
; then
15706 if test ! -f "$as_myself"; then
15707 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15711 # Unset variables that we do not need and which cause bugs (e.g. in
15712 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15713 # suppresses any "Segmentation fault" message there. '((' could
15714 # trigger a bug in pdksh 5.2.14.
15715 for as_var
in BASH_ENV ENV MAIL MAILPATH
15716 do eval test x\
${$as_var+set} = xset \
15717 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15730 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15733 # as_fn_error ERROR [LINENO LOG_FD]
15734 # ---------------------------------
15735 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15736 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15737 # script with status $?, using 1 if that was 0.
15740 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15742 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15743 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15745 $as_echo "$as_me: error: $1" >&2
15746 as_fn_exit
$as_status
15750 # as_fn_set_status STATUS
15751 # -----------------------
15752 # Set $? to STATUS, without forking.
15753 as_fn_set_status
()
15756 } # as_fn_set_status
15758 # as_fn_exit STATUS
15759 # -----------------
15760 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15764 as_fn_set_status
$1
15770 # Portably unset VAR.
15773 { eval $1=; unset $1;}
15775 as_unset
=as_fn_unset
15776 # as_fn_append VAR VALUE
15777 # ----------------------
15778 # Append the text in VALUE to the end of the definition contained in VAR. Take
15779 # advantage of any shell optimizations that allow amortized linear growth over
15780 # repeated appends, instead of the typical quadratic growth present in naive
15782 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15783 eval 'as_fn_append ()
15794 # as_fn_arith ARG...
15795 # ------------------
15796 # Perform arithmetic evaluation on the ARGs, and store the result in the
15797 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15798 # must be portable across $(()) and expr.
15799 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15800 eval 'as_fn_arith ()
15807 as_val
=`expr "$@" || test $? -eq 1`
15812 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15813 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15819 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15820 as_basename
=basename
15825 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15831 as_me
=`$as_basename -- "$0" ||
15832 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15833 X"$0" : 'X\(//\)$' \| \
15834 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15836 sed '/^.*\/\([^/][^/]*\)\/*$/{
15850 # Avoid depending upon Character Ranges.
15851 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15852 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15853 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15854 as_cr_digits
='0123456789'
15855 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15857 ECHO_C
= ECHO_N
= ECHO_T
=
15858 case `echo -n x` in #(((((
15860 case `echo 'xy\c'` in
15861 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15863 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15870 rm -f conf$$ conf$$.exe conf$$.
file
15871 if test -d conf$$.dir
; then
15872 rm -f conf$$.dir
/conf$$.
file
15875 mkdir conf$$.dir
2>/dev
/null
15877 if (echo >conf$$.
file) 2>/dev
/null
; then
15878 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15880 # ... but there are two gotchas:
15881 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15882 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15883 # In both cases, we have to default to `cp -p'.
15884 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15886 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15894 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15895 rmdir conf$$.dir
2>/dev
/null
15900 # Create "$as_dir" as a directory, including parents if necessary.
15905 -*) as_dir
=.
/$as_dir;;
15907 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15911 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15912 *) as_qdir
=$as_dir;;
15914 as_dirs
="'$as_qdir' $as_dirs"
15915 as_dir
=`$as_dirname -- "$as_dir" ||
15916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15917 X"$as_dir" : 'X\(//\)[^/]' \| \
15918 X"$as_dir" : 'X\(//\)$' \| \
15919 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15920 $as_echo X"$as_dir" |
15921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15925 /^X\(\/\/\)[^/].*/{
15938 test -d "$as_dir" && break
15940 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15941 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15945 if mkdir
-p .
2>/dev
/null
; then
15946 as_mkdir_p
='mkdir -p "$as_dir"'
15948 test -d .
/-p && rmdir .
/-p
15952 if test -x / >/dev
/null
2>&1; then
15953 as_test_x
='test -x'
15955 if ls -dL / >/dev
/null
2>&1; then
15962 if test -d "$1"; then
15968 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15969 ???[sx]*):;;*)false;;esac;fi
15973 as_executable_p
=$as_test_x
15975 # Sed expression to map a string onto a valid CPP name.
15976 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15978 # Sed expression to map a string onto a valid variable name.
15979 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15983 ## ----------------------------------- ##
15984 ## Main body of $CONFIG_STATUS script. ##
15985 ## ----------------------------------- ##
15987 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15990 # Save the log message, to keep $0 and so on meaningful, and to
15991 # report actual input values of CONFIG_FILES etc. instead of their
15992 # values after options handling.
15994 This file was extended by package-unused $as_me version-unused, which was
15995 generated by GNU Autoconf 2.64. Invocation command line was
15997 CONFIG_FILES = $CONFIG_FILES
15998 CONFIG_HEADERS = $CONFIG_HEADERS
15999 CONFIG_LINKS = $CONFIG_LINKS
16000 CONFIG_COMMANDS = $CONFIG_COMMANDS
16003 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16008 case $ac_config_files in *"
16009 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16012 case $ac_config_headers in *"
16013 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16018 # Files that config.status was made for.
16019 config_files="$ac_config_files"
16020 config_headers="$ac_config_headers"
16021 config_commands="$ac_config_commands"
16025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16027 \`$as_me' instantiates files and other configuration actions
16028 from templates according to the current configuration. Unless the files
16029 and actions are specified as TAGs, all are instantiated by default.
16031 Usage: $0 [OPTION]... [TAG]...
16033 -h, --help print this help, then exit
16034 -V, --version print version number and configuration settings, then exit
16035 -q, --quiet, --silent
16036 do not print progress messages
16037 -d, --debug don't remove temporary files
16038 --recheck update $as_me by reconfiguring in the same conditions
16039 --file=FILE[:TEMPLATE]
16040 instantiate the configuration file FILE
16041 --header=FILE[:TEMPLATE]
16042 instantiate the configuration header FILE
16044 Configuration files:
16047 Configuration headers:
16050 Configuration commands:
16053 Report bugs to the package provider."
16056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16058 package-unused config.status version-unused
16059 configured by $0, generated by GNU Autoconf 2.64,
16060 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16062 Copyright (C) 2009 Free Software Foundation, Inc.
16063 This config.status script is free software; the Free Software Foundation
16064 gives unlimited permission to copy, distribute and modify it."
16071 test -n "\$AWK" || AWK=awk
16074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16075 # The default lists apply if the user does not specify any file.
16081 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16082 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16093 # Handling of the options.
16094 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16096 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16097 $as_echo "$ac_cs_version"; exit ;;
16098 --debug |
--debu |
--deb |
--de |
--d |
-d )
16100 --file |
--fil |
--fi |
--f )
16103 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16105 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16106 ac_need_defaults
=false
;;
16107 --header |
--heade |
--head |
--hea )
16110 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16112 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16113 ac_need_defaults
=false
;;
16115 # Conflict between --help and --header
16116 as_fn_error
"ambiguous option: \`$1'
16117 Try \`$0 --help' for more information.";;
16118 --help |
--hel |
-h )
16119 $as_echo "$ac_cs_usage"; exit ;;
16120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16121 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16124 # This is an error.
16125 -*) as_fn_error
"unrecognized option: \`$1'
16126 Try \`$0 --help' for more information." ;;
16128 *) as_fn_append ac_config_targets
" $1"
16129 ac_need_defaults
=false
;;
16135 ac_configure_extra_args
=
16137 if $ac_cs_silent; then
16139 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16144 if \$ac_cs_recheck; then
16145 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16147 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16148 CONFIG_SHELL='$SHELL'
16149 export CONFIG_SHELL
16154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16159 ## Running $as_me. ##
16165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16173 with_multisubdir="$with_multisubdir"
16174 with_multisrctop="$with_multisrctop"
16175 with_target_subdir="$with_target_subdir"
16176 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16177 multi_basedir="$multi_basedir"
16178 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16181 GFORTRAN="$GFORTRAN"
16183 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16186 # The HP-UX ksh and POSIX shell print the target directory to stdout
16187 # if CDPATH is set.
16188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16190 sed_quote_subst='$sed_quote_subst'
16191 double_quote_subst='$double_quote_subst'
16192 delay_variable_subst='$delay_variable_subst'
16193 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16194 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16195 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16196 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16197 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16198 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16199 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16200 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16201 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16202 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16203 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16204 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16205 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16206 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16207 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16208 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16209 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16210 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16211 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16212 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16213 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16214 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16215 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16216 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16217 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16218 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16219 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16220 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16221 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16222 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16223 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16224 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16225 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16226 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16227 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16228 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16229 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16230 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16231 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16232 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16233 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16234 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16235 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16236 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16237 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16238 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16239 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16240 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16241 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"`'
16242 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16243 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16244 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16245 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16246 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16247 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16248 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16249 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16250 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16251 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16252 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16253 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16254 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16255 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16256 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16257 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16258 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16259 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16260 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16261 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16262 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16263 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16264 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16265 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16266 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16267 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16268 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16269 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16270 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16271 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16272 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16273 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16274 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16275 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16276 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16277 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16278 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16279 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16280 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16281 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16282 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16283 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16284 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16285 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16286 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16287 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16288 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16289 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16290 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16291 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16292 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16293 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16294 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16295 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16296 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16297 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16298 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16299 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16300 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16301 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16302 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16303 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16304 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16305 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16306 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16307 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16308 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16309 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16310 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16311 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16312 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16313 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16314 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16315 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16316 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16317 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16318 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16319 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16320 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16321 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16322 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16323 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16324 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16325 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16326 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16327 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16328 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16329 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16330 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16331 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16332 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16333 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16334 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16335 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16336 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16337 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16338 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16339 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16340 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16341 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16342 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16343 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16344 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16345 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16346 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16347 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16348 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16349 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16350 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16351 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16352 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16353 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16354 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16355 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16358 LTCFLAGS='$LTCFLAGS'
16359 compiler='$compiler_DEFAULT'
16361 # A function that is used when there is no print builtin or printf.
16362 func_fallback_echo ()
16364 eval 'cat <<_LTECHO_EOF
16369 # Quote evaled strings.
16383 deplibs_check_method \
16392 lt_cv_sys_global_symbol_pipe \
16393 lt_cv_sys_global_symbol_to_cdecl \
16394 lt_cv_sys_global_symbol_to_c_name_address \
16395 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16396 lt_prog_compiler_no_builtin_flag \
16397 lt_prog_compiler_wl \
16398 lt_prog_compiler_pic \
16399 lt_prog_compiler_static \
16400 lt_cv_prog_compiler_c_o \
16408 export_dynamic_flag_spec \
16409 whole_archive_flag_spec \
16410 compiler_needs_object \
16412 allow_undefined_flag \
16413 no_undefined_flag \
16414 hardcode_libdir_flag_spec \
16415 hardcode_libdir_flag_spec_ld \
16416 hardcode_libdir_separator \
16421 variables_saved_for_relink \
16423 library_names_spec \
16425 install_override_mode \
16432 lt_prog_compiler_no_builtin_flag_GO \
16433 lt_prog_compiler_wl_GO \
16434 lt_prog_compiler_pic_GO \
16435 lt_prog_compiler_static_GO \
16436 lt_cv_prog_compiler_c_o_GO \
16437 export_dynamic_flag_spec_GO \
16438 whole_archive_flag_spec_GO \
16439 compiler_needs_object_GO \
16441 allow_undefined_flag_GO \
16442 no_undefined_flag_GO \
16443 hardcode_libdir_flag_spec_GO \
16444 hardcode_libdir_flag_spec_ld_GO \
16445 hardcode_libdir_separator_GO \
16446 fix_srcfile_path_GO \
16447 exclude_expsyms_GO \
16448 include_expsyms_GO \
16449 file_list_spec_GO; do
16450 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16451 *[\\\\\\\`\\"\\\$]*)
16452 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16455 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16460 # Double-quote double-evaled strings.
16461 for var in reload_cmds \
16462 old_postinstall_cmds \
16463 old_postuninstall_cmds \
16465 extract_expsyms_cmds \
16466 old_archive_from_new_cmds \
16467 old_archive_from_expsyms_cmds \
16469 archive_expsym_cmds \
16471 module_expsym_cmds \
16472 export_symbols_cmds \
16475 postuninstall_cmds \
16477 sys_lib_search_path_spec \
16478 sys_lib_dlsearch_path_spec \
16480 old_archive_cmds_GO \
16481 old_archive_from_new_cmds_GO \
16482 old_archive_from_expsyms_cmds_GO \
16484 archive_expsym_cmds_GO \
16486 module_expsym_cmds_GO \
16487 export_symbols_cmds_GO \
16488 prelink_cmds_GO; do
16489 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16490 *[\\\\\\\`\\"\\\$]*)
16491 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16494 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16499 ac_aux_dir='$ac_aux_dir'
16500 xsi_shell='$xsi_shell'
16501 lt_shell_append='$lt_shell_append'
16503 # See if we are running on zsh, and set the options which allow our
16504 # commands through without removal of \ escapes INIT.
16505 if test -n "\${ZSH_VERSION+set}" ; then
16506 setopt NO_GLOB_SUBST
16512 TIMESTAMP='$TIMESTAMP'
16521 # Variables needed in config.status (file generation) which aren't already
16522 # passed by autoconf.
16528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16530 # Handling of arguments.
16531 for ac_config_target
in $ac_config_targets
16533 case $ac_config_target in
16534 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16535 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16536 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16537 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16538 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16539 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16540 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16542 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16547 # If the user did not use the arguments to specify the items to instantiate,
16548 # then the envvar interface is used. Set only those that are not.
16549 # We use the long form for the default assignment because of an extremely
16550 # bizarre bug on SunOS 4.1.3.
16551 if $ac_need_defaults; then
16552 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16553 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16554 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16557 # Have a temporary directory for convenience. Make it in the build tree
16558 # simply because there is no reason against having it here, and in addition,
16559 # creating and moving files from /tmp can sometimes cause problems.
16560 # Hook for its removal unless debugging.
16561 # Note that there is a small window in which the directory will not be cleaned:
16562 # after its creation but before its name has been assigned to `$tmp'.
16566 trap 'exit_status=$?
16567 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16569 trap 'as_fn_exit 1' 1 2 13 15
16571 # Create a (secure) tmp directory for tmp files.
16574 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16575 test -n "$tmp" && test -d "$tmp"
16578 tmp
=.
/conf$$
-$RANDOM
16579 (umask 077 && mkdir
"$tmp")
16580 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16582 # Set up the scripts for CONFIG_FILES section.
16583 # No need to generate them if there are no CONFIG_FILES.
16584 # This happens for instance with `./config.status config.h'.
16585 if test -n "$CONFIG_FILES"; then
16588 ac_cr
=`echo X | tr X '\015'`
16589 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16590 # But we know of no other shell where ac_cr would be empty at this
16591 # point, so we can use a bashism as a fallback.
16592 if test "x$ac_cr" = x
; then
16593 eval ac_cr
=\$
\'\\r
\'
16595 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16596 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16599 ac_cs_awk_cr
=$ac_cr
16602 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16607 echo "cat >conf$$subs.awk <<_ACEOF" &&
16608 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16610 } >conf$$subs.sh ||
16611 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16612 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16614 for ac_last_try in false false false false false :; do
16615 . ./conf$$subs.sh ||
16616 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16618 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16619 if test $ac_delim_n = $ac_delim_num; then
16621 elif $ac_last_try; then
16622 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16624 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16627 rm -f conf$$subs.sh
16629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16630 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16634 s/^/S["/; s
/!.
*/"]=/
16644 s/\(.\{148\}\).*/\1/
16646 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16651 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16658 s/\(.\{148\}\).*/\1/
16660 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16664 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16669 ' <conf$$subs.awk | sed '
16674 ' >>$CONFIG_STATUS || ac_write_fail=1
16675 rm -f conf$$subs.awk
16676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16678 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16679 for (key in S) S_is_set[key] = 1
16685 nfields = split(line, field, "@
")
16687 len = length(field[1])
16688 for (i = 2; i < nfields; i++) {
16690 keylen = length(key)
16691 if (S_is_set[key]) {
16693 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16694 len += length(value) + length(field[++i])
16705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16706 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16707 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16710 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16711 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16714 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16715 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16716 # trailing colons and then remove the whole line if VPATH becomes empty
16717 # (actually we leave an empty line to preserve line numbers).
16718 if test "x
$srcdir" = x.; then
16719 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16720 s/:*\$(srcdir):*/:/
16721 s/:*\${srcdir}:*/:/
16723 s/^\([^=]*=[ ]*\):*/\1/
16729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16730 fi # test -n "$CONFIG_FILES"
16732 # Set up the scripts for CONFIG_HEADERS section.
16733 # No need to generate them if there are no CONFIG_HEADERS.
16734 # This happens for instance with `./config.status Makefile'.
16735 if test -n "$CONFIG_HEADERS"; then
16736 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16740 # Transform confdefs.h into an awk script `defines.awk', embedded as
16741 # here-document in config.status, that substitutes the proper values into
16742 # config.h.in to produce config.h.
16744 # Create a delimiter string that does not exist in confdefs.h, to ease
16745 # handling of long lines.
16747 for ac_last_try in false false :; do
16748 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16749 if test -z "$ac_t"; then
16751 elif $ac_last_try; then
16752 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16754 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16758 # For the awk script, D is an array of macro values keyed by name,
16759 # likewise P contains macro parameters if any. Preserve backslash
16760 # newline sequences.
16762 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16764 s/.\{148\}/&'"$ac_delim"'/g
16767 s/^[ ]*#[ ]*define[ ][ ]*/ /
16774 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16776 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16781 D["\
1"]=" \
3\\\\\\n
"\\/p
16783 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16788 s/.\{148\}/&'"$ac_delim"'/g
16793 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16796 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16798 ' <confdefs.h | sed '
16799 s/'"$ac_delim"'/"\\\
16800 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16803 for (key in D) D_is_set[key] = 1
16806 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16808 split(line, arg, " ")
16809 if (arg[1] == "#") {
16813 defundef
= substr
(arg
[1], 2)
16816 split(mac1
, mac2
, "(") #)
16818 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16819 if (D_is_set
[macro
]) {
16820 # Preserve the white space surrounding the "#".
16821 print prefix
"define", macro P
[macro
] D
[macro
]
16824 # Replace #undef with comments. This is necessary, for example,
16825 # in the case of _POSIX_SOURCE, which is predefined and required
16826 # on some systems where configure will not decide to define it.
16827 if (defundef
== "undef") {
16828 print
"/*", prefix defundef
, macro
, "*/"
16836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16837 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16838 fi # test -n "$CONFIG_HEADERS"
16841 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16846 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16848 case $ac_mode$ac_tag in
16850 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16851 :[FH
]-) ac_tag
=-:-;;
16852 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16869 -) ac_f
="$tmp/stdin";;
16870 *) # Look for the file first in the build tree, then in the source tree
16871 # (if the path is not absolute). The absolute path cannot be DOS-style,
16872 # because $ac_f cannot contain `:'.
16876 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16878 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16880 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16881 as_fn_append ac_file_inputs
" '$ac_f'"
16884 # Let's still pretend it is `configure' which instantiates (i.e., don't
16885 # use $as_me), people would be surprised to read:
16886 # /* config.h. Generated by config.status. */
16887 configure_input
='Generated from '`
16888 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16890 if test x
"$ac_file" != x-
; then
16891 configure_input
="$ac_file. $configure_input"
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16893 $as_echo "$as_me: creating $ac_file" >&6;}
16895 # Neutralize special characters interpreted by sed in replacement strings.
16896 case $configure_input in #(
16897 *\
&* |
*\|
* |
*\\* )
16898 ac_sed_conf_input
=`$as_echo "$configure_input" |
16899 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16900 *) ac_sed_conf_input
=$configure_input;;
16904 *:-:* |
*:-) cat >"$tmp/stdin" \
16905 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16910 ac_dir
=`$as_dirname -- "$ac_file" ||
16911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16912 X"$ac_file" : 'X\(//\)[^/]' \| \
16913 X"$ac_file" : 'X\(//\)$' \| \
16914 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16915 $as_echo X"$ac_file" |
16916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16920 /^X\(\/\/\)[^/].*/{
16933 as_dir
="$ac_dir"; as_fn_mkdir_p
16937 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16939 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16940 # A ".." for each directory in $ac_dir_suffix.
16941 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16942 case $ac_top_builddir_sub in
16943 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16944 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16947 ac_abs_top_builddir
=$ac_pwd
16948 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16949 # for backward compatibility:
16950 ac_top_builddir
=$ac_top_build_prefix
16953 .
) # We are building in place.
16955 ac_top_srcdir
=$ac_top_builddir_sub
16956 ac_abs_top_srcdir
=$ac_pwd ;;
16957 [\\/]* | ?
:[\\/]* ) # Absolute name.
16958 ac_srcdir
=$srcdir$ac_dir_suffix;
16959 ac_top_srcdir
=$srcdir
16960 ac_abs_top_srcdir
=$srcdir ;;
16961 *) # Relative name.
16962 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16963 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16964 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16966 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16976 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16977 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16979 ac_MKDIR_P
=$MKDIR_P
16981 [\\/$
]* | ?
:[\\/]* ) ;;
16982 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16987 # If the template does not know about datarootdir, expand it.
16988 # FIXME: This hack should be removed a few years after 2.60.
16989 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17000 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17001 *datarootdir
*) ac_datarootdir_seen
=yes;;
17002 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17004 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17007 ac_datarootdir_hack='
17008 s&@datadir@&$datadir&g
17009 s&@docdir@&$docdir&g
17010 s&@infodir@&$infodir&g
17011 s&@localedir@&$localedir&g
17012 s&@mandir@&$mandir&g
17013 s&\\\${datarootdir}&$datarootdir&g' ;;
17017 # Neutralize VPATH when `$srcdir' = `.'.
17018 # Shell code in configure.ac might set extrasub.
17019 # FIXME: do we really want to maintain this feature?
17020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17021 ac_sed_extra="$ac_vpsub
17024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17026 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17027 s|@configure_input@|
$ac_sed_conf_input|
;t t
17028 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17029 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17030 s
&@srcdir@
&$ac_srcdir&;t t
17031 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17032 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17033 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17034 s
&@builddir@
&$ac_builddir&;t t
17035 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17036 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17037 s
&@INSTALL@
&$ac_INSTALL&;t t
17038 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17039 $ac_datarootdir_hack
17041 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17042 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17044 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17045 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17046 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17048 which seems to be undefined. Please make sure it is defined." >&5
17049 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17050 which seems to be undefined. Please make sure it is defined." >&2;}
17054 -) cat "$tmp/out" && rm -f "$tmp/out";;
17055 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17057 || as_fn_error "could not create $ac_file" "$LINENO" 5
17063 if test x"$ac_file" != x-; then
17065 $as_echo "/* $configure_input */" \
17066 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17067 } >"$tmp/config.h" \
17068 || as_fn_error "could not create $ac_file" "$LINENO" 5
17069 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17071 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17074 mv "$tmp/config.h" "$ac_file" \
17075 || as_fn_error "could not create $ac_file" "$LINENO" 5
17078 $as_echo "/* $configure_input */" \
17079 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17080 || as_fn_error "could not create -" "$LINENO" 5
17082 # Compute "$ac_file"'s index
in $config_headers.
17085 for _am_header
in $config_headers :; do
17086 case $_am_header in
17087 $_am_arg |
$_am_arg:* )
17090 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17093 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17094 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17095 X"$_am_arg" : 'X\(//\)[^/]' \| \
17096 X"$_am_arg" : 'X\(//\)$' \| \
17097 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17098 $as_echo X"$_am_arg" |
17099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17103 /^X\(\/\/\)[^/].*/{
17115 s/.*/./; q'`/stamp-h
$_am_stamp_count
17118 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17119 $as_echo "$as_me: executing $ac_file commands" >&6;}
17124 case $ac_file$ac_mode in
17126 # Only add multilib support code if we just rebuilt the top-level
17128 case " $CONFIG_FILES " in
17130 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17133 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17134 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17135 # are listed without --file. Let's play safe and only enable the eval
17136 # if we detect the quoting.
17137 case $CONFIG_FILES in
17138 *\'*) eval set x
"$CONFIG_FILES" ;;
17139 *) set x
$CONFIG_FILES ;;
17144 # Strip MF so we end up with the name of the file.
17145 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17146 # Check whether this is an Automake generated Makefile or not.
17147 # We used to match only the files named `Makefile.in', but
17148 # some people rename them; so instead we look at the file content.
17149 # Grep'ing the first line is not enough: some people post-process
17150 # each Makefile.in and add a new line on top of each file to say so.
17151 # Grep'ing the whole file is not good either: AIX grep has a line
17152 # limit of 2048, but all sed's we know have understand at least 4000.
17153 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17154 dirpart
=`$as_dirname -- "$mf" ||
17155 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17156 X"$mf" : 'X\(//\)[^/]' \| \
17157 X"$mf" : 'X\(//\)$' \| \
17158 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17164 /^X\(\/\/\)[^/].*/{
17180 # Extract the definition of DEPDIR, am__include, and am__quote
17181 # from the Makefile without running `make'.
17182 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17183 test -z "$DEPDIR" && continue
17184 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17185 test -z "am__include" && continue
17186 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17187 # When using ansi2knr, U may be empty or an underscore; expand it
17188 U
=`sed -n 's/^U = //p' < "$mf"`
17189 # Find all dependency output files, they are included files with
17190 # $(DEPDIR) in their names. We invoke sed twice because it is the
17191 # simplest approach to changing $(DEPDIR) to its actual value in the
17193 for file in `sed -n "
17194 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17195 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17196 # Make sure the directory exists.
17197 test -f "$dirpart/$file" && continue
17198 fdir
=`$as_dirname -- "$file" ||
17199 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17200 X"$file" : 'X\(//\)[^/]' \| \
17201 X"$file" : 'X\(//\)$' \| \
17202 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17203 $as_echo X"$file" |
17204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17208 /^X\(\/\/\)[^/].*/{
17221 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17222 # echo "creating $dirpart/$file"
17223 echo '# dummy' > "$dirpart/$file"
17230 # See if we are running on zsh, and set the options which allow our
17231 # commands through without removal of \ escapes.
17232 if test -n "${ZSH_VERSION+set}" ; then
17233 setopt NO_GLOB_SUBST
17236 cfgfile
="${ofile}T"
17237 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17240 cat <<_LT_EOF >> "$cfgfile"
17243 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17244 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17245 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17246 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17248 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17249 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17250 # Written by Gordon Matzigkeit, 1996
17252 # This file is part of GNU Libtool.
17254 # GNU Libtool is free software; you can redistribute it and/or
17255 # modify it under the terms of the GNU General Public License as
17256 # published by the Free Software Foundation; either version 2 of
17257 # the License, or (at your option) any later version.
17259 # As a special exception to the GNU General Public License,
17260 # if you distribute this file as part of a program or library that
17261 # is built using GNU Libtool, you may include this file under the
17262 # same distribution terms that you use for the rest of that program.
17264 # GNU Libtool is distributed in the hope that it will be useful,
17265 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17266 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17267 # GNU General Public License for more details.
17269 # You should have received a copy of the GNU General Public License
17270 # along with GNU Libtool; see the file COPYING. If not, a copy
17271 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17272 # obtained by writing to the Free Software Foundation, Inc.,
17273 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17276 # The names of the tagged configurations supported by this script.
17277 available_tags="GO "
17279 # ### BEGIN LIBTOOL CONFIG
17281 # A sed program that does not truncate output.
17284 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17285 Xsed="\$SED -e 1s/^X//"
17287 # A grep program that handles long lines.
17293 # A literal string matcher.
17296 # Shell to use when invoking shell scripts.
17299 # An echo program that protects backslashes.
17302 # Which release of libtool.m4 was used?
17303 macro_version=$macro_version
17304 macro_revision=$macro_revision
17306 # Whether or not to build shared libraries.
17307 build_libtool_libs=$enable_shared
17309 # Whether or not to build static libraries.
17310 build_old_libs=$enable_static
17312 # What type of objects to build.
17315 # Whether or not to optimize for fast installation.
17316 fast_install=$enable_fast_install
17319 host_alias=$host_alias
17323 # The build system.
17324 build_alias=$build_alias
17328 # A BSD- or MS-compatible name lister.
17331 # Whether we need soft or hard links.
17334 # What is the maximum length of a command?
17335 max_cmd_len=$max_cmd_len
17337 # Object file suffix (normally "o").
17340 # Executable file suffix (normally "").
17343 # whether the shell understands "unset".
17346 # turn spaces into newlines.
17349 # turn newlines into spaces.
17352 # An object symbol dumper.
17353 OBJDUMP=$lt_OBJDUMP
17355 # Method to check whether dependent libraries are shared objects.
17356 deplibs_check_method=$lt_deplibs_check_method
17358 # Command to use when deplibs_check_method == "file_magic".
17359 file_magic_cmd=$lt_file_magic_cmd
17363 AR_FLAGS=$lt_AR_FLAGS
17365 # A symbol stripping program.
17368 # Commands used to install an old-style archive.
17370 old_postinstall_cmds=$lt_old_postinstall_cmds
17371 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17373 # Whether to use a lock for old archive extraction.
17374 lock_old_archive_extraction=$lock_old_archive_extraction
17379 # LTCC compiler flags.
17380 LTCFLAGS=$lt_CFLAGS
17382 # Take the output of nm and produce a listing of raw symbols and C names.
17383 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17385 # Transform the output of nm in a proper C declaration.
17386 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17388 # Transform the output of nm in a C name address pair.
17389 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17391 # Transform the output of nm in a C name address pair when lib prefix is needed.
17392 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17394 # The name of the directory that contains temporary libtool files.
17397 # Used to examine libraries when file_magic_cmd begins with "file".
17398 MAGIC_CMD=$MAGIC_CMD
17400 # Must we lock files when doing compilation?
17401 need_locks=$lt_need_locks
17403 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17404 DSYMUTIL=$lt_DSYMUTIL
17406 # Tool to change global to local symbols on Mac OS X.
17409 # Tool to manipulate fat objects and archives on Mac OS X.
17412 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17415 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17416 OTOOL64=$lt_OTOOL64
17418 # Old archive suffix (normally "a").
17421 # Shared library suffix (normally ".so").
17422 shrext_cmds=$lt_shrext_cmds
17424 # The commands to extract the exported symbol list from a shared archive.
17425 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17427 # Variables whose values should be saved in libtool wrapper scripts and
17428 # restored at link time.
17429 variables_saved_for_relink=$lt_variables_saved_for_relink
17431 # Do we need the "lib" prefix for modules?
17432 need_lib_prefix=$need_lib_prefix
17434 # Do we need a version for libraries?
17435 need_version=$need_version
17437 # Library versioning type.
17438 version_type=$version_type
17440 # Shared library runtime path variable.
17441 runpath_var=$runpath_var
17443 # Shared library path variable.
17444 shlibpath_var=$shlibpath_var
17446 # Is shlibpath searched before the hard-coded library search path?
17447 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17449 # Format of library name prefix.
17450 libname_spec=$lt_libname_spec
17452 # List of archive names. First name is the real one, the rest are links.
17453 # The last name is the one that the linker finds with -lNAME
17454 library_names_spec=$lt_library_names_spec
17456 # The coded name of the library, if different from the real name.
17457 soname_spec=$lt_soname_spec
17459 # Permission mode override for installation of shared libraries.
17460 install_override_mode=$lt_install_override_mode
17462 # Command to use after installation of a shared archive.
17463 postinstall_cmds=$lt_postinstall_cmds
17465 # Command to use after uninstallation of a shared archive.
17466 postuninstall_cmds=$lt_postuninstall_cmds
17468 # Commands used to finish a libtool library installation in a directory.
17469 finish_cmds=$lt_finish_cmds
17471 # As "finish_cmds", except a single script fragment to be evaled but
17473 finish_eval=$lt_finish_eval
17475 # Whether we should hardcode library paths into libraries.
17476 hardcode_into_libs=$hardcode_into_libs
17478 # Compile-time system search path for libraries.
17479 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17481 # Run-time system search path for libraries.
17482 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17484 # Whether dlopen is supported.
17485 dlopen_support=$enable_dlopen
17487 # Whether dlopen of programs is supported.
17488 dlopen_self=$enable_dlopen_self
17490 # Whether dlopen of statically linked programs is supported.
17491 dlopen_self_static=$enable_dlopen_self_static
17493 # Commands to strip libraries.
17494 old_striplib=$lt_old_striplib
17495 striplib=$lt_striplib
17498 # The linker used to build libraries.
17501 # How to create reloadable object files.
17502 reload_flag=$lt_reload_flag
17503 reload_cmds=$lt_reload_cmds
17505 # Commands used to build an old-style archive.
17506 old_archive_cmds=$lt_old_archive_cmds
17508 # A language specific compiler.
17511 # Is the compiler the GNU compiler?
17514 # Compiler flag to turn off builtin functions.
17515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17517 # How to pass a linker flag through the compiler.
17518 wl=$lt_lt_prog_compiler_wl
17520 # Additional compiler flags for building library objects.
17521 pic_flag=$lt_lt_prog_compiler_pic
17523 # Compiler flag to prevent dynamic linking.
17524 link_static_flag=$lt_lt_prog_compiler_static
17526 # Does compiler simultaneously support -c and -o options?
17527 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17529 # Whether or not to add -lc for building shared libraries.
17530 build_libtool_need_lc=$archive_cmds_need_lc
17532 # Whether or not to disallow shared libs when runtime libs are static.
17533 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17535 # Compiler flag to allow reflexive dlopens.
17536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17538 # Compiler flag to generate shared objects directly from archives.
17539 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17541 # Whether the compiler copes with passing no objects directly.
17542 compiler_needs_object=$lt_compiler_needs_object
17544 # Create an old-style archive from a shared archive.
17545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17547 # Create a temporary old-style archive to link instead of a shared archive.
17548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17550 # Commands used to build a shared archive.
17551 archive_cmds=$lt_archive_cmds
17552 archive_expsym_cmds=$lt_archive_expsym_cmds
17554 # Commands used to build a loadable module if different from building
17555 # a shared archive.
17556 module_cmds=$lt_module_cmds
17557 module_expsym_cmds=$lt_module_expsym_cmds
17559 # Whether we are building with GNU ld or not.
17560 with_gnu_ld=$lt_with_gnu_ld
17562 # Flag that allows shared libraries with undefined symbols to be built.
17563 allow_undefined_flag=$lt_allow_undefined_flag
17565 # Flag that enforces no undefined symbols.
17566 no_undefined_flag=$lt_no_undefined_flag
17568 # Flag to hardcode \$libdir into a binary during linking.
17569 # This must work even if \$libdir does not exist
17570 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17572 # If ld is used when linking, flag to hardcode \$libdir into a binary
17573 # during linking. This must work even if \$libdir does not exist.
17574 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17576 # Whether we need a single "-rpath" flag with a separated argument.
17577 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17579 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17580 # DIR into the resulting binary.
17581 hardcode_direct=$hardcode_direct
17583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17584 # DIR into the resulting binary and the resulting library dependency is
17585 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17586 # library is relocated.
17587 hardcode_direct_absolute=$hardcode_direct_absolute
17589 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17590 # into the resulting binary.
17591 hardcode_minus_L=$hardcode_minus_L
17593 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17594 # into the resulting binary.
17595 hardcode_shlibpath_var=$hardcode_shlibpath_var
17597 # Set to "yes" if building a shared library automatically hardcodes DIR
17598 # into the library and all subsequent libraries and executables linked
17600 hardcode_automatic=$hardcode_automatic
17602 # Set to yes if linker adds runtime paths of dependent libraries
17603 # to runtime path list.
17604 inherit_rpath=$inherit_rpath
17606 # Whether libtool must link a program against all its dependency libraries.
17607 link_all_deplibs=$link_all_deplibs
17609 # Fix the shell variable \$srcfile for the compiler.
17610 fix_srcfile_path=$lt_fix_srcfile_path
17612 # Set to "yes" if exported symbols are required.
17613 always_export_symbols=$always_export_symbols
17615 # The commands to list exported symbols.
17616 export_symbols_cmds=$lt_export_symbols_cmds
17618 # Symbols that should not be listed in the preloaded symbols.
17619 exclude_expsyms=$lt_exclude_expsyms
17621 # Symbols that must always be exported.
17622 include_expsyms=$lt_include_expsyms
17624 # Commands necessary for linking programs (against libraries) with templates.
17625 prelink_cmds=$lt_prelink_cmds
17627 # Specify filename containing input files.
17628 file_list_spec=$lt_file_list_spec
17630 # How to hardcode a shared library path into an executable.
17631 hardcode_action=$hardcode_action
17633 # ### END LIBTOOL CONFIG
17639 cat <<\_LT_EOF
>> "$cfgfile"
17640 # AIX sometimes has problems with the GCC collect2 program. For some
17641 # reason, if we set the COLLECT_NAMES environment variable, the problems
17642 # vanish in a puff of smoke.
17643 if test "X${COLLECT_NAMES+set}" != Xset
; then
17645 export COLLECT_NAMES
17652 ltmain
="$ac_aux_dir/ltmain.sh"
17655 # We use sed instead of cat because bash on DJGPP gets confused if
17656 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17657 # text mode, it properly converts lines to CR/LF. This bash problem
17658 # is reportedly fixed, but why not run on old versions too?
17659 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17660 ||
(rm -f "$cfgfile"; exit 1)
17664 cat << \_LT_EOF
>> "$cfgfile"
17666 # func_dirname file append nondir_replacement
17667 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17668 # otherwise set result to NONDIR_REPLACEMENT.
17672 */*) func_dirname_result
="${1%/*}${2}" ;;
17673 * ) func_dirname_result
="${3}" ;;
17677 # func_basename file
17680 func_basename_result
="${1##*/}"
17683 # func_dirname_and_basename file append nondir_replacement
17684 # perform func_basename and func_dirname in a single function
17686 # dirname: Compute the dirname of FILE. If nonempty,
17687 # add APPEND to the result, otherwise set result
17688 # to NONDIR_REPLACEMENT.
17689 # value returned in "$func_dirname_result"
17690 # basename: Compute filename of FILE.
17691 # value retuned in "$func_basename_result"
17692 # Implementation must be kept synchronized with func_dirname
17693 # and func_basename. For efficiency, we do not delegate to
17694 # those functions but instead duplicate the functionality here.
17695 func_dirname_and_basename
()
17698 */*) func_dirname_result
="${1%/*}${2}" ;;
17699 * ) func_dirname_result
="${3}" ;;
17701 func_basename_result
="${1##*/}"
17704 # func_stripname prefix suffix name
17705 # strip PREFIX and SUFFIX off of NAME.
17706 # PREFIX and SUFFIX must not contain globbing or regex special
17707 # characters, hashes, percent signs, but SUFFIX may contain a leading
17708 # dot (in which case that matches only a dot).
17711 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17712 # positional parameters, so assign one to ordinary parameter first.
17713 func_stripname_result
=${3}
17714 func_stripname_result
=${func_stripname_result#"${1}"}
17715 func_stripname_result
=${func_stripname_result%"${2}"}
17721 func_opt_split_opt
=${1%%=*}
17722 func_opt_split_arg
=${1#*=}
17729 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17730 *) func_lo2o_result
=${1} ;;
17734 # func_xform libobj-or-source
17737 func_xform_result
=${1%.*}.lo
17740 # func_arith arithmetic-term...
17743 func_arith_result
=$
(( $
* ))
17747 # STRING may not start with a hyphen.
17750 func_len_result
=${#1}
17755 *) # Bourne compatible functions.
17756 cat << \_LT_EOF
>> "$cfgfile"
17758 # func_dirname file append nondir_replacement
17759 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17760 # otherwise set result to NONDIR_REPLACEMENT.
17763 # Extract subdirectory from the argument.
17764 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17765 if test "X$func_dirname_result" = "X${1}"; then
17766 func_dirname_result
="${3}"
17768 func_dirname_result
="$func_dirname_result${2}"
17772 # func_basename file
17775 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17779 # func_stripname prefix suffix name
17780 # strip PREFIX and SUFFIX off of NAME.
17781 # PREFIX and SUFFIX must not contain globbing or regex special
17782 # characters, hashes, percent signs, but SUFFIX may contain a leading
17783 # dot (in which case that matches only a dot).
17784 # func_strip_suffix prefix name
17788 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17789 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17794 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17795 my_sed_long_arg
='1s/^-[^=]*=//'
17800 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17801 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17807 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17810 # func_xform libobj-or-source
17813 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17816 # func_arith arithmetic-term...
17819 func_arith_result
=`expr "$@"`
17823 # STRING may not start with a hyphen.
17826 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17832 case $lt_shell_append in
17834 cat << \_LT_EOF
>> "$cfgfile"
17836 # func_append var value
17837 # Append VALUE to the end of shell variable VAR.
17845 cat << \_LT_EOF
>> "$cfgfile"
17847 # func_append var value
17848 # Append VALUE to the end of shell variable VAR.
17859 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17860 ||
(rm -f "$cfgfile"; exit 1)
17862 mv -f "$cfgfile" "$ofile" ||
17863 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17867 cat <<_LT_EOF >> "$ofile"
17869 # ### BEGIN LIBTOOL TAG CONFIG: GO
17871 # The linker used to build libraries.
17874 # How to create reloadable object files.
17875 reload_flag=$lt_reload_flag_GO
17876 reload_cmds=$lt_reload_cmds_GO
17878 # Commands used to build an old-style archive.
17879 old_archive_cmds=$lt_old_archive_cmds_GO
17881 # A language specific compiler.
17884 # Is the compiler the GNU compiler?
17887 # Compiler flag to turn off builtin functions.
17888 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17890 # How to pass a linker flag through the compiler.
17891 wl=$lt_lt_prog_compiler_wl_GO
17893 # Additional compiler flags for building library objects.
17894 pic_flag=$lt_lt_prog_compiler_pic_GO
17896 # Compiler flag to prevent dynamic linking.
17897 link_static_flag=$lt_lt_prog_compiler_static_GO
17899 # Does compiler simultaneously support -c and -o options?
17900 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17902 # Whether or not to add -lc for building shared libraries.
17903 build_libtool_need_lc=$archive_cmds_need_lc_GO
17905 # Whether or not to disallow shared libs when runtime libs are static.
17906 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17908 # Compiler flag to allow reflexive dlopens.
17909 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17911 # Compiler flag to generate shared objects directly from archives.
17912 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17914 # Whether the compiler copes with passing no objects directly.
17915 compiler_needs_object=$lt_compiler_needs_object_GO
17917 # Create an old-style archive from a shared archive.
17918 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17920 # Create a temporary old-style archive to link instead of a shared archive.
17921 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17923 # Commands used to build a shared archive.
17924 archive_cmds=$lt_archive_cmds_GO
17925 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17927 # Commands used to build a loadable module if different from building
17928 # a shared archive.
17929 module_cmds=$lt_module_cmds_GO
17930 module_expsym_cmds=$lt_module_expsym_cmds_GO
17932 # Whether we are building with GNU ld or not.
17933 with_gnu_ld=$lt_with_gnu_ld_GO
17935 # Flag that allows shared libraries with undefined symbols to be built.
17936 allow_undefined_flag=$lt_allow_undefined_flag_GO
17938 # Flag that enforces no undefined symbols.
17939 no_undefined_flag=$lt_no_undefined_flag_GO
17941 # Flag to hardcode \$libdir into a binary during linking.
17942 # This must work even if \$libdir does not exist
17943 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17945 # If ld is used when linking, flag to hardcode \$libdir into a binary
17946 # during linking. This must work even if \$libdir does not exist.
17947 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17949 # Whether we need a single "-rpath" flag with a separated argument.
17950 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17952 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17953 # DIR into the resulting binary.
17954 hardcode_direct=$hardcode_direct_GO
17956 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17957 # DIR into the resulting binary and the resulting library dependency is
17958 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17959 # library is relocated.
17960 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17962 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17963 # into the resulting binary.
17964 hardcode_minus_L=$hardcode_minus_L_GO
17966 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17967 # into the resulting binary.
17968 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17970 # Set to "yes" if building a shared library automatically hardcodes DIR
17971 # into the library and all subsequent libraries and executables linked
17973 hardcode_automatic=$hardcode_automatic_GO
17975 # Set to yes if linker adds runtime paths of dependent libraries
17976 # to runtime path list.
17977 inherit_rpath=$inherit_rpath_GO
17979 # Whether libtool must link a program against all its dependency libraries.
17980 link_all_deplibs=$link_all_deplibs_GO
17982 # Fix the shell variable \$srcfile for the compiler.
17983 fix_srcfile_path=$lt_fix_srcfile_path_GO
17985 # Set to "yes" if exported symbols are required.
17986 always_export_symbols=$always_export_symbols_GO
17988 # The commands to list exported symbols.
17989 export_symbols_cmds=$lt_export_symbols_cmds_GO
17991 # Symbols that should not be listed in the preloaded symbols.
17992 exclude_expsyms=$lt_exclude_expsyms_GO
17994 # Symbols that must always be exported.
17995 include_expsyms=$lt_include_expsyms_GO
17997 # Commands necessary for linking programs (against libraries) with templates.
17998 prelink_cmds=$lt_prelink_cmds_GO
18000 # Specify filename containing input files.
18001 file_list_spec=$lt_file_list_spec_GO
18003 # How to hardcode a shared library path into an executable.
18004 hardcode_action=$hardcode_action_GO
18006 # ### END LIBTOOL TAG CONFIG: GO
18010 "default":C
) if test -n "$CONFIG_FILES"; then
18011 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
18012 # that multilib installs will end up installed in the correct place.
18013 # The testsuite needs it for multilib-aware ABI baseline files.
18014 # To work around this not being passed down from config-ml.in ->
18015 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
18016 # append it here. Only modify Makefiles that have just been created.
18018 # Also, get rid of this simulated-VPATH thing that automake does.
18019 cat > vpsed
<< \_EOF
18020 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18022 for i
in $SUBDIRS; do
18023 case $CONFIG_FILES in
18025 #echo "Adding MULTISUBDIR to $i/Makefile"
18026 sed -f vpsed
$i/Makefile
> tmp
18027 grep '^MULTISUBDIR =' Makefile
>> tmp
18042 ac_clean_files
=$ac_clean_files_save
18044 test $ac_write_fail = 0 ||
18045 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18048 # configure is writing to config.log, and then calls config.status.
18049 # config.status does its own redirection, appending to config.log.
18050 # Unfortunately, on DOS this fails, as config.log is still kept open
18051 # by configure, so config.status won't be able to write to it; its
18052 # output is simply discarded. So we exec the FD to /dev/null,
18053 # effectively closing config.log, so it can be properly (re)opened and
18054 # appended to by config.status. When coming back to configure, we
18055 # need to make the FD available again.
18056 if test "$no_create" != yes; then
18058 ac_config_status_args
=
18059 test "$silent" = yes &&
18060 ac_config_status_args
="$ac_config_status_args --quiet"
18062 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18064 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18065 # would make configure fail if this is the last instruction.
18066 $ac_cs_success || as_fn_exit $?
18068 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18070 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}