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=3:1: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
*|ppc
*-*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"
6522 ppc64-
*linux
*|powerpc64-
*linux
*)
6523 LD
="${LD-ld} -m elf32ppclinux"
6526 LD
="${LD-ld} -m elf_s390"
6529 LD
="${LD-ld} -m elf32_sparc"
6535 x86_64-
*kfreebsd
*-gnu)
6536 LD
="${LD-ld} -m elf_x86_64_fbsd"
6539 LD
="${LD-ld} -m elf_x86_64"
6541 ppc
*-*linux
*|powerpc
*-*linux
*)
6542 LD
="${LD-ld} -m elf64ppc"
6544 s390
*-*linux
*|s390
*-*tpf
*)
6545 LD
="${LD-ld} -m elf64_s390"
6548 LD
="${LD-ld} -m elf64_sparc"
6558 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6559 SAVE_CFLAGS
="$CFLAGS"
6560 CFLAGS
="$CFLAGS -belf"
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6562 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6563 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6564 $as_echo_n "(cached) " >&6
6567 ac_cpp
='$CPP $CPPFLAGS'
6568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6583 if ac_fn_c_try_link
"$LINENO"; then :
6584 lt_cv_cc_needs_belf
=yes
6586 lt_cv_cc_needs_belf
=no
6588 rm -f core conftest.err conftest.
$ac_objext \
6589 conftest
$ac_exeext conftest.
$ac_ext
6591 ac_cpp
='$CPP $CPPFLAGS'
6592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6598 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6599 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6600 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6601 CFLAGS
="$SAVE_CFLAGS"
6605 # Find out which ABI we are using.
6606 echo 'int i;' > conftest.
$ac_ext
6607 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6608 (eval $ac_compile) 2>&5
6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6611 test $ac_status = 0; }; then
6612 case `/usr/bin/file conftest.o` in
6614 case $lt_cv_prog_gnu_ld in
6617 i?
86-*-solaris* | x86_64-
*-solaris2.1
[0-9]*)
6618 LD
="${LD-ld} -m elf_x86_64"
6621 LD
="${LD-ld} -m elf64_sparc"
6624 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6625 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6630 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6642 need_locks
="$enable_libtool_lock"
6646 rhapsody
* | darwin
*)
6647 if test -n "$ac_tool_prefix"; then
6648 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6649 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6655 if test -n "$DSYMUTIL"; then
6656 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6662 test -z "$as_dir" && as_dir
=.
6663 for ac_exec_ext
in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6676 if test -n "$DSYMUTIL"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6678 $as_echo "$DSYMUTIL" >&6; }
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6686 if test -z "$ac_cv_prog_DSYMUTIL"; then
6687 ac_ct_DSYMUTIL
=$DSYMUTIL
6688 # Extract the first word of "dsymutil", so it can be a program name with args.
6689 set dummy dsymutil
; ac_word
=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 $as_echo_n "checking for $ac_word... " >&6; }
6692 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6693 $as_echo_n "(cached) " >&6
6695 if test -n "$ac_ct_DSYMUTIL"; then
6696 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6702 test -z "$as_dir" && as_dir
=.
6703 for ac_exec_ext
in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6715 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6716 if test -n "$ac_ct_DSYMUTIL"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6718 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 $as_echo "no" >&6; }
6724 if test "x$ac_ct_DSYMUTIL" = x
; then
6727 case $cross_compiling:$ac_tool_warned in
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6731 ac_tool_warned
=yes ;;
6733 DSYMUTIL
=$ac_ct_DSYMUTIL
6736 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6739 if test -n "$ac_tool_prefix"; then
6740 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6741 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6744 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6745 $as_echo_n "(cached) " >&6
6747 if test -n "$NMEDIT"; then
6748 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir
=.
6755 for ac_exec_ext
in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 NMEDIT
=$ac_cv_prog_NMEDIT
6768 if test -n "$NMEDIT"; then
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6770 $as_echo "$NMEDIT" >&6; }
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6773 $as_echo "no" >&6; }
6778 if test -z "$ac_cv_prog_NMEDIT"; then
6779 ac_ct_NMEDIT
=$NMEDIT
6780 # Extract the first word of "nmedit", so it can be a program name with args.
6781 set dummy nmedit
; ac_word
=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6785 $as_echo_n "(cached) " >&6
6787 if test -n "$ac_ct_NMEDIT"; then
6788 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir
=.
6795 for ac_exec_ext
in '' $ac_executable_extensions; do
6796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6808 if test -n "$ac_ct_NMEDIT"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6810 $as_echo "$ac_ct_NMEDIT" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6816 if test "x$ac_ct_NMEDIT" = x
; then
6819 case $cross_compiling:$ac_tool_warned in
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6823 ac_tool_warned
=yes ;;
6825 NMEDIT
=$ac_ct_NMEDIT
6828 NMEDIT
="$ac_cv_prog_NMEDIT"
6831 if test -n "$ac_tool_prefix"; then
6832 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6833 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6835 $as_echo_n "checking for $ac_word... " >&6; }
6836 if test "${ac_cv_prog_LIPO+set}" = set; then :
6837 $as_echo_n "(cached) " >&6
6839 if test -n "$LIPO"; then
6840 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir
=.
6847 for ac_exec_ext
in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 LIPO
=$ac_cv_prog_LIPO
6860 if test -n "$LIPO"; then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6862 $as_echo "$LIPO" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 $as_echo "no" >&6; }
6870 if test -z "$ac_cv_prog_LIPO"; then
6872 # Extract the first word of "lipo", so it can be a program name with args.
6873 set dummy lipo
; ac_word
=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6875 $as_echo_n "checking for $ac_word... " >&6; }
6876 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6877 $as_echo_n "(cached) " >&6
6879 if test -n "$ac_ct_LIPO"; then
6880 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir
=.
6887 for ac_exec_ext
in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_ac_ct_LIPO
="lipo"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6899 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6900 if test -n "$ac_ct_LIPO"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6902 $as_echo "$ac_ct_LIPO" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6905 $as_echo "no" >&6; }
6908 if test "x$ac_ct_LIPO" = x
; then
6911 case $cross_compiling:$ac_tool_warned in
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6915 ac_tool_warned
=yes ;;
6920 LIPO
="$ac_cv_prog_LIPO"
6923 if test -n "$ac_tool_prefix"; then
6924 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6925 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6927 $as_echo_n "checking for $ac_word... " >&6; }
6928 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6929 $as_echo_n "(cached) " >&6
6931 if test -n "$OTOOL"; then
6932 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6938 test -z "$as_dir" && as_dir
=.
6939 for ac_exec_ext
in '' $ac_executable_extensions; do
6940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6941 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6951 OTOOL
=$ac_cv_prog_OTOOL
6952 if test -n "$OTOOL"; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6954 $as_echo "$OTOOL" >&6; }
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 $as_echo "no" >&6; }
6962 if test -z "$ac_cv_prog_OTOOL"; then
6964 # Extract the first word of "otool", so it can be a program name with args.
6965 set dummy otool
; ac_word
=$2
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967 $as_echo_n "checking for $ac_word... " >&6; }
6968 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6969 $as_echo_n "(cached) " >&6
6971 if test -n "$ac_ct_OTOOL"; then
6972 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6978 test -z "$as_dir" && as_dir
=.
6979 for ac_exec_ext
in '' $ac_executable_extensions; do
6980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981 ac_cv_prog_ac_ct_OTOOL
="otool"
6982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6991 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6992 if test -n "$ac_ct_OTOOL"; then
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6994 $as_echo "$ac_ct_OTOOL" >&6; }
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997 $as_echo "no" >&6; }
7000 if test "x$ac_ct_OTOOL" = x
; then
7003 case $cross_compiling:$ac_tool_warned in
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7007 ac_tool_warned
=yes ;;
7012 OTOOL
="$ac_cv_prog_OTOOL"
7015 if test -n "$ac_tool_prefix"; then
7016 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7017 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7021 $as_echo_n "(cached) " >&6
7023 if test -n "$OTOOL64"; then
7024 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir
=.
7031 for ac_exec_ext
in '' $ac_executable_extensions; do
7032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043 OTOOL64
=$ac_cv_prog_OTOOL64
7044 if test -n "$OTOOL64"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7046 $as_echo "$OTOOL64" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7054 if test -z "$ac_cv_prog_OTOOL64"; then
7055 ac_ct_OTOOL64
=$OTOOL64
7056 # Extract the first word of "otool64", so it can be a program name with args.
7057 set dummy otool64
; ac_word
=$2
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7061 $as_echo_n "(cached) " >&6
7063 if test -n "$ac_ct_OTOOL64"; then
7064 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir
=.
7071 for ac_exec_ext
in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7084 if test -n "$ac_ct_OTOOL64"; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7086 $as_echo "$ac_ct_OTOOL64" >&6; }
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7092 if test "x$ac_ct_OTOOL64" = x
; then
7095 case $cross_compiling:$ac_tool_warned in
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 ac_tool_warned
=yes ;;
7101 OTOOL64
=$ac_ct_OTOOL64
7104 OTOOL64
="$ac_cv_prog_OTOOL64"
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7134 $as_echo_n "checking for -single_module linker flag... " >&6; }
7135 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7136 $as_echo_n "(cached) " >&6
7138 lt_cv_apple_cc_single_mod
=no
7139 if test -z "${LT_MULTI_MODULE}"; then
7140 # By default we will add the -single_module flag. You can override
7141 # by either setting the environment variable LT_MULTI_MODULE
7142 # non-empty at configure time, or by adding -multi_module to the
7144 rm -rf libconftest.dylib
*
7145 echo "int foo(void){return 1;}" > conftest.c
7146 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7147 -dynamiclib -Wl,-single_module conftest.c" >&5
7148 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7149 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7151 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7152 lt_cv_apple_cc_single_mod
=yes
7154 cat conftest.err
>&5
7156 rm -rf libconftest.dylib
*
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7161 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7163 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7164 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7165 $as_echo_n "(cached) " >&6
7167 lt_cv_ld_exported_symbols_list
=no
7168 save_LDFLAGS
=$LDFLAGS
7169 echo "_main" > conftest.sym
7170 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7182 if ac_fn_c_try_link
"$LINENO"; then :
7183 lt_cv_ld_exported_symbols_list
=yes
7185 lt_cv_ld_exported_symbols_list
=no
7187 rm -f core conftest.err conftest.
$ac_objext \
7188 conftest
$ac_exeext conftest.
$ac_ext
7189 LDFLAGS
="$save_LDFLAGS"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7193 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7195 $as_echo_n "checking for -force_load linker flag... " >&6; }
7196 if test "${lt_cv_ld_force_load+set}" = set; then :
7197 $as_echo_n "(cached) " >&6
7199 lt_cv_ld_force_load
=no
7200 cat > conftest.c
<< _LT_EOF
7201 int forced_loaded() { return 2;}
7203 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7204 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7205 echo "$AR cru libconftest.a conftest.o" >&5
7206 $AR cru libconftest.a conftest.o
2>&5
7207 cat > conftest.c
<< _LT_EOF
7208 int main() { return 0;}
7210 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7211 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7213 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7214 lt_cv_ld_force_load
=yes
7216 cat conftest.err
>&5
7218 rm -f conftest.err libconftest.a conftest conftest.c
7219 rm -rf conftest.dSYM
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7223 $as_echo "$lt_cv_ld_force_load" >&6; }
7225 rhapsody
* | darwin1.
[012])
7226 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7228 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7229 darwin
*) # darwin 5.x on
7230 # if running on 10.5 or later, the deployment target defaults
7231 # to the OS version, if on x86, and 10.4, the deployment
7232 # target defaults to 10.4. Don't you love it?
7233 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7234 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7235 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7237 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7239 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7243 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7244 _lt_dar_single_mod
='$single_module'
7246 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7247 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7249 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7251 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7252 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7260 ac_cpp
='$CPP $CPPFLAGS'
7261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7265 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7266 # On Suns, sometimes $CPP names a directory.
7267 if test -n "$CPP" && test -d "$CPP"; then
7270 if test -z "$CPP"; then
7271 if test "${ac_cv_prog_CPP+set}" = set; then :
7272 $as_echo_n "(cached) " >&6
7274 # Double quotes because CPP needs to be expanded
7275 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7278 for ac_c_preproc_warn_flag
in '' yes
7280 # Use a header file that comes with gcc, so configuring glibc
7281 # with a fresh cross-compiler works.
7282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7283 # <limits.h> exists even on freestanding compilers.
7284 # On the NeXT, cc -E runs the code through the compiler's parser,
7285 # not just through cpp. "Syntax error" is here to catch this case.
7286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7289 # include <limits.h>
7291 # include <assert.h>
7295 if ac_fn_c_try_cpp
"$LINENO"; then :
7298 # Broken: fails on valid input.
7301 rm -f conftest.err conftest.
$ac_ext
7303 # OK, works on sane cases. Now check whether nonexistent headers
7304 # can be detected and how.
7305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7307 #include <ac_nonexistent.h>
7309 if ac_fn_c_try_cpp
"$LINENO"; then :
7310 # Broken: success on invalid input.
7313 # Passes both tests.
7317 rm -f conftest.err conftest.
$ac_ext
7320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7321 rm -f conftest.err conftest.
$ac_ext
7322 if $ac_preproc_ok; then :
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7335 $as_echo "$CPP" >&6; }
7337 for ac_c_preproc_warn_flag
in '' yes
7339 # Use a header file that comes with gcc, so configuring glibc
7340 # with a fresh cross-compiler works.
7341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7342 # <limits.h> exists even on freestanding compilers.
7343 # On the NeXT, cc -E runs the code through the compiler's parser,
7344 # not just through cpp. "Syntax error" is here to catch this case.
7345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h. */
7348 # include <limits.h>
7350 # include <assert.h>
7354 if ac_fn_c_try_cpp
"$LINENO"; then :
7357 # Broken: fails on valid input.
7360 rm -f conftest.err conftest.
$ac_ext
7362 # OK, works on sane cases. Now check whether nonexistent headers
7363 # can be detected and how.
7364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7365 /* end confdefs.h. */
7366 #include <ac_nonexistent.h>
7368 if ac_fn_c_try_cpp
"$LINENO"; then :
7369 # Broken: success on invalid input.
7372 # Passes both tests.
7376 rm -f conftest.err conftest.
$ac_ext
7379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7380 rm -f conftest.err conftest.
$ac_ext
7381 if $ac_preproc_ok; then :
7384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7386 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7387 See \`config.log' for more details." "$LINENO" 5; }
7391 ac_cpp
='$CPP $CPPFLAGS'
7392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7398 $as_echo_n "checking for ANSI C header files... " >&6; }
7399 if test "${ac_cv_header_stdc+set}" = set; then :
7400 $as_echo_n "(cached) " >&6
7402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7403 /* end confdefs.h. */
7417 if ac_fn_c_try_compile
"$LINENO"; then :
7418 ac_cv_header_stdc
=yes
7420 ac_cv_header_stdc
=no
7422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7424 if test $ac_cv_header_stdc = yes; then
7425 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7432 $EGREP "memchr" >/dev
/null
2>&1; then :
7435 ac_cv_header_stdc
=no
7441 if test $ac_cv_header_stdc = yes; then
7442 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7449 $EGREP "free" >/dev
/null
2>&1; then :
7452 ac_cv_header_stdc
=no
7458 if test $ac_cv_header_stdc = yes; then
7459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7460 if test "$cross_compiling" = yes; then :
7463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7467 #if ((' ' & 0x0FF) == 0x020)
7468 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7469 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7471 # define ISLOWER(c) \
7472 (('a' <= (c) && (c) <= 'i') \
7473 || ('j' <= (c) && (c) <= 'r') \
7474 || ('s' <= (c) && (c) <= 'z'))
7475 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7478 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7483 for (i = 0; i < 256; i++)
7484 if (XOR (islower (i), ISLOWER (i))
7485 || toupper (i) != TOUPPER (i))
7490 if ac_fn_c_try_run
"$LINENO"; then :
7493 ac_cv_header_stdc
=no
7495 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7496 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7502 $as_echo "$ac_cv_header_stdc" >&6; }
7503 if test $ac_cv_header_stdc = yes; then
7505 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7509 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7510 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7511 inttypes.h stdint.h unistd.h
7513 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7514 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7516 eval as_val
=\$
$as_ac_Header
7517 if test "x$as_val" = x
""yes; then :
7518 cat >>confdefs.h
<<_ACEOF
7519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 for ac_header
in dlfcn.h
7529 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7531 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7532 cat >>confdefs.h
<<_ACEOF
7533 #define HAVE_DLFCN_H 1
7540 if test -n "$ac_tool_prefix"; then
7541 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7542 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if test "${ac_cv_prog_GOC+set}" = set; then :
7546 $as_echo_n "(cached) " >&6
7548 if test -n "$GOC"; then
7549 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7555 test -z "$as_dir" && as_dir
=.
7556 for ac_exec_ext
in '' $ac_executable_extensions; do
7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7558 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 if test -n "$GOC"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7571 $as_echo "$GOC" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7579 if test -z "$ac_cv_prog_GOC"; then
7581 # Extract the first word of "gccgo", so it can be a program name with args.
7582 set dummy gccgo
; ac_word
=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7588 if test -n "$ac_ct_GOC"; then
7589 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7595 test -z "$as_dir" && as_dir
=.
7596 for ac_exec_ext
in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_ac_ct_GOC
="gccgo"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7609 if test -n "$ac_ct_GOC"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7611 $as_echo "$ac_ct_GOC" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7617 if test "x$ac_ct_GOC" = x
; then
7620 case $cross_compiling:$ac_tool_warned in
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7624 ac_tool_warned
=yes ;;
7629 GOC
="$ac_cv_prog_GOC"
7645 # Check whether --enable-shared was given.
7646 if test "${enable_shared+set}" = set; then :
7647 enableval
=$enable_shared; p
=${PACKAGE-default}
7649 yes) enable_shared
=yes ;;
7650 no
) enable_shared
=no
;;
7653 # Look at the argument we got. We use all the common list separators.
7654 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7655 for pkg
in $enableval; do
7657 if test "X$pkg" = "X$p"; then
7676 # Check whether --enable-static was given.
7677 if test "${enable_static+set}" = set; then :
7678 enableval
=$enable_static; p
=${PACKAGE-default}
7680 yes) enable_static
=yes ;;
7681 no
) enable_static
=no
;;
7684 # Look at the argument we got. We use all the common list separators.
7685 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7686 for pkg
in $enableval; do
7688 if test "X$pkg" = "X$p"; then
7708 # Check whether --with-pic was given.
7709 if test "${with_pic+set}" = set; then :
7710 withval
=$with_pic; pic_mode
="$withval"
7716 test -z "$pic_mode" && pic_mode
=default
7724 # Check whether --enable-fast-install was given.
7725 if test "${enable_fast_install+set}" = set; then :
7726 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7728 yes) enable_fast_install
=yes ;;
7729 no
) enable_fast_install
=no
;;
7731 enable_fast_install
=no
7732 # Look at the argument we got. We use all the common list separators.
7733 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7734 for pkg
in $enableval; do
7736 if test "X$pkg" = "X$p"; then
7737 enable_fast_install
=yes
7744 enable_fast_install
=yes
7757 # This can be used to rebuild libtool when needed
7758 LIBTOOL_DEPS
="$ltmain"
7760 # Always use our own libtool.
7761 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7788 test -z "$LN_S" && LN_S
="ln -s"
7803 if test -n "${ZSH_VERSION+set}" ; then
7804 setopt NO_GLOB_SUBST
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7808 $as_echo_n "checking for objdir... " >&6; }
7809 if test "${lt_cv_objdir+set}" = set; then :
7810 $as_echo_n "(cached) " >&6
7812 rm -f .libs
2>/dev
/null
7813 mkdir .libs
2>/dev
/null
7814 if test -d .libs
; then
7817 # MS-DOS does not allow filenames that begin with a dot.
7820 rmdir .libs
2>/dev
/null
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7823 $as_echo "$lt_cv_objdir" >&6; }
7824 objdir
=$lt_cv_objdir
7830 cat >>confdefs.h
<<_ACEOF
7831 #define LT_OBJDIR "$lt_cv_objdir/"
7839 # AIX sometimes has problems with the GCC collect2 program. For some
7840 # reason, if we set the COLLECT_NAMES environment variable, the problems
7841 # vanish in a puff of smoke.
7842 if test "X${COLLECT_NAMES+set}" != Xset
; then
7844 export COLLECT_NAMES
7851 can_build_shared
=yes
7853 # All known linkers require a `.a' archive for static linking (except MSVC,
7854 # which needs '.lib').
7857 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7860 old_CFLAGS
="$CFLAGS"
7862 # Set sane defaults for various variables
7863 test -z "$CC" && CC
=cc
7864 test -z "$LTCC" && LTCC
=$CC
7865 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7866 test -z "$LD" && LD
=ld
7867 test -z "$ac_objext" && ac_objext
=o
7869 for cc_temp
in $compiler""; do
7871 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7872 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7877 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7880 # Only perform the check for file, if the check method requires it
7881 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7882 case $deplibs_check_method in
7884 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7886 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7887 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7892 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7895 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7896 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7897 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7898 for ac_dir
in $ac_dummy; do
7900 test -z "$ac_dir" && ac_dir
=.
7901 if test -f $ac_dir/${ac_tool_prefix}file; then
7902 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7903 if test -n "$file_magic_test_file"; then
7904 case $deplibs_check_method in
7906 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7907 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7908 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7909 $EGREP "$file_magic_regex" > /dev
/null
; then
7914 *** Warning: the command libtool uses to detect shared libraries,
7915 *** $file_magic_cmd, produces output that libtool cannot recognize.
7916 *** The result is that libtool may fail to recognize shared libraries
7917 *** as such. This will affect the creation of libtool libraries that
7918 *** depend on shared libraries, but programs linked with such libtool
7919 *** libraries will work regardless of this problem. Nevertheless, you
7920 *** may want to report the problem to your system manager and/or to
7921 *** bug-libtool@gnu.org
7931 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7936 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7937 if test -n "$MAGIC_CMD"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7939 $as_echo "$MAGIC_CMD" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7949 if test -z "$lt_cv_path_MAGIC_CMD"; then
7950 if test -n "$ac_tool_prefix"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7952 $as_echo_n "checking for file... " >&6; }
7953 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7954 $as_echo_n "(cached) " >&6
7958 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7961 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7962 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7963 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7964 for ac_dir
in $ac_dummy; do
7966 test -z "$ac_dir" && ac_dir
=.
7967 if test -f $ac_dir/file; then
7968 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7969 if test -n "$file_magic_test_file"; then
7970 case $deplibs_check_method in
7972 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7973 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7974 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7975 $EGREP "$file_magic_regex" > /dev
/null
; then
7980 *** Warning: the command libtool uses to detect shared libraries,
7981 *** $file_magic_cmd, produces output that libtool cannot recognize.
7982 *** The result is that libtool may fail to recognize shared libraries
7983 *** as such. This will affect the creation of libtool libraries that
7984 *** depend on shared libraries, but programs linked with such libtool
7985 *** libraries will work regardless of this problem. Nevertheless, you
7986 *** may want to report the problem to your system manager and/or to
7987 *** bug-libtool@gnu.org
7997 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8002 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8003 if test -n "$MAGIC_CMD"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8005 $as_echo "$MAGIC_CMD" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8021 # Use C for the default configuration in the libtool script
8025 ac_cpp
='$CPP $CPPFLAGS'
8026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8031 # Source file extension for C test sources.
8034 # Object file extension for compiled C test sources.
8038 # Code to be used in simple compile tests
8039 lt_simple_compile_test_code
="int some_variable = 0;"
8041 # Code to be used in simple link tests
8042 lt_simple_link_test_code
='int main(){return(0);}'
8050 # If no C compiler was specified, use CC.
8053 # If no C compiler flags were specified, use CFLAGS.
8054 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8056 # Allow CC to be a program name with arguments.
8059 # Save the default compiler, since it gets overwritten when the other
8060 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8061 compiler_DEFAULT
=$CC
8063 # save warnings/boilerplate of simple test code
8064 ac_outfile
=conftest.
$ac_objext
8065 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8066 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8067 _lt_compiler_boilerplate
=`cat conftest.err`
8070 ac_outfile
=conftest.
$ac_objext
8071 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8072 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8073 _lt_linker_boilerplate
=`cat conftest.err`
8078 ## There is no encapsulation within the following macros, do not change
8079 ## the running order or otherwise move them around unless you know exactly
8080 ## what you are doing...
8081 if test -n "$compiler"; then
8083 lt_prog_compiler_no_builtin_flag
=
8085 if test "$GCC" = yes; then
8086 case $cc_basename in
8088 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8090 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8094 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8095 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8096 $as_echo_n "(cached) " >&6
8098 lt_cv_prog_compiler_rtti_exceptions
=no
8099 ac_outfile
=conftest.
$ac_objext
8100 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8101 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8102 # Insert the option either (1) after the last *FLAGS variable, or
8103 # (2) before a word containing "conftest.", or (3) at the end.
8104 # Note that $ac_compile itself does not contain backslashes and begins
8105 # with a dollar sign (not a hyphen), so the echo should work correctly.
8106 # The option is referenced via a variable to avoid confusing sed.
8107 lt_compile
=`echo "$ac_compile" | $SED \
8108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8110 -e 's:$: $lt_compiler_flag:'`
8111 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8112 (eval "$lt_compile" 2>conftest.err
)
8114 cat conftest.err
>&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 if (exit $ac_status) && test -s "$ac_outfile"; then
8117 # The compiler can only warn and ignore the option if not recognized
8118 # So say no if there are warnings other than the usual output.
8119 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8120 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8121 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8122 lt_cv_prog_compiler_rtti_exceptions
=yes
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8129 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8131 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8132 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8144 lt_prog_compiler_wl
=
8145 lt_prog_compiler_pic
=
8146 lt_prog_compiler_static
=
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8149 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8151 if test "$GCC" = yes; then
8152 lt_prog_compiler_wl
='-Wl,'
8153 lt_prog_compiler_static
='-static'
8157 # All AIX code is PIC.
8158 if test "$host_cpu" = ia64
; then
8159 # AIX 5 now supports IA64 processor
8160 lt_prog_compiler_static
='-Bstatic'
8167 # see comment about AmigaOS4 .so support
8168 lt_prog_compiler_pic
='-fPIC'
8171 # FIXME: we need at least 68020 code to build shared libraries, but
8172 # adding the `-m68020' flag to GCC prevents building anything better,
8174 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8179 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8180 # PIC is the default for these OSes.
8183 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8184 # This hack is so that the source file can tell whether it is being
8185 # built for inclusion in a dll (and should export symbols for example).
8186 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8187 # (--disable-auto-import) libraries
8188 lt_prog_compiler_pic
='-DDLL_EXPORT'
8191 darwin
* | rhapsody
*)
8192 # PIC is the default on this platform
8193 # Common symbols not allowed in MH_DYLIB files
8194 lt_prog_compiler_pic
='-fno-common'
8198 # PIC is the default for Haiku.
8199 # The "-static" flag exists, but is broken.
8200 lt_prog_compiler_static
=
8204 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8205 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8206 # sets the default TLS model and affects inlining.
8212 lt_prog_compiler_pic
='-fPIC'
8218 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8219 # Instead, we relocate shared libraries at runtime.
8223 # Just because we use GCC doesn't mean we suddenly get shared libraries
8224 # on systems that don't support them.
8225 lt_prog_compiler_can_build_shared
=no
8230 # QNX uses GNU C++, but need to define -shared option too, otherwise
8232 lt_prog_compiler_pic
='-fPIC -shared'
8236 if test -d /usr
/nec
; then
8237 lt_prog_compiler_pic
=-Kconform_pic
8242 lt_prog_compiler_pic
='-fPIC'
8246 case $cc_basename in
8247 nvcc
*) # Cuda Compiler Driver 2.2
8248 lt_prog_compiler_wl
='-Xlinker '
8249 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8253 # PORTME Check for flag to pass linker flags through the system compiler.
8256 lt_prog_compiler_wl
='-Wl,'
8257 if test "$host_cpu" = ia64
; then
8258 # AIX 5 now supports IA64 processor
8259 lt_prog_compiler_static
='-Bstatic'
8261 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8265 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8266 # This hack is so that the source file can tell whether it is being
8267 # built for inclusion in a dll (and should export symbols for example).
8268 lt_prog_compiler_pic
='-DDLL_EXPORT'
8271 hpux9
* | hpux10
* | hpux11
*)
8272 lt_prog_compiler_wl
='-Wl,'
8273 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8280 lt_prog_compiler_pic
='+Z'
8283 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8284 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8287 irix5
* | irix6
* | nonstopux
*)
8288 lt_prog_compiler_wl
='-Wl,'
8289 # PIC (with -KPIC) is the default.
8290 lt_prog_compiler_static
='-non_shared'
8293 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8294 case $cc_basename in
8295 # old Intel for x86_64 which still supported -KPIC.
8297 lt_prog_compiler_wl
='-Wl,'
8298 lt_prog_compiler_pic
='-KPIC'
8299 lt_prog_compiler_static
='-static'
8301 # icc used to be incompatible with GCC.
8302 # ICC 10 doesn't accept -KPIC any more.
8304 lt_prog_compiler_wl
='-Wl,'
8305 lt_prog_compiler_pic
='-fPIC'
8306 lt_prog_compiler_static
='-static'
8308 # Lahey Fortran 8.1.
8310 lt_prog_compiler_wl
='-Wl,'
8311 lt_prog_compiler_pic
='--shared'
8312 lt_prog_compiler_static
='--static'
8314 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8315 # Portland Group compilers (*not* the Pentium gcc compiler,
8316 # which looks to be a dead project)
8317 lt_prog_compiler_wl
='-Wl,'
8318 lt_prog_compiler_pic
='-fpic'
8319 lt_prog_compiler_static
='-Bstatic'
8322 lt_prog_compiler_wl
='-Wl,'
8323 # All Alpha code is PIC.
8324 lt_prog_compiler_static
='-non_shared'
8326 xl
* | bgxl
* | bgf
* | mpixl
*)
8327 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8328 lt_prog_compiler_wl
='-Wl,'
8329 lt_prog_compiler_pic
='-qpic'
8330 lt_prog_compiler_static
='-qstaticlink'
8333 case `$CC -V 2>&1 | sed 5q` in
8334 *Sun\ F
* |
*Sun
*Fortran
*)
8335 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8336 lt_prog_compiler_pic
='-KPIC'
8337 lt_prog_compiler_static
='-Bstatic'
8338 lt_prog_compiler_wl
=''
8342 lt_prog_compiler_pic
='-KPIC'
8343 lt_prog_compiler_static
='-Bstatic'
8344 lt_prog_compiler_wl
='-Wl,'
8352 lt_prog_compiler_pic
='-KPIC'
8353 lt_prog_compiler_static
='-Bstatic'
8357 # QNX uses GNU C++, but need to define -shared option too, otherwise
8359 lt_prog_compiler_pic
='-fPIC -shared'
8362 osf3
* | osf4
* | osf5
*)
8363 lt_prog_compiler_wl
='-Wl,'
8364 # All OSF/1 code is PIC.
8365 lt_prog_compiler_static
='-non_shared'
8369 lt_prog_compiler_static
='-non_shared'
8373 lt_prog_compiler_pic
='-KPIC'
8374 lt_prog_compiler_static
='-Bstatic'
8375 case $cc_basename in
8377 lt_prog_compiler_wl
='-Qoption ld ';;
8379 lt_prog_compiler_wl
='-Wl,';;
8384 lt_prog_compiler_wl
='-Qoption ld '
8385 lt_prog_compiler_pic
='-PIC'
8386 lt_prog_compiler_static
='-Bstatic'
8389 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8390 lt_prog_compiler_wl
='-Wl,'
8391 lt_prog_compiler_pic
='-KPIC'
8392 lt_prog_compiler_static
='-Bstatic'
8396 if test -d /usr
/nec
;then
8397 lt_prog_compiler_pic
='-Kconform_pic'
8398 lt_prog_compiler_static
='-Bstatic'
8402 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8403 lt_prog_compiler_wl
='-Wl,'
8404 lt_prog_compiler_pic
='-KPIC'
8405 lt_prog_compiler_static
='-Bstatic'
8409 lt_prog_compiler_wl
='-Wl,'
8410 lt_prog_compiler_can_build_shared
=no
8414 lt_prog_compiler_pic
='-pic'
8415 lt_prog_compiler_static
='-Bstatic'
8419 lt_prog_compiler_can_build_shared
=no
8425 # For platforms which do not support PIC, -DPIC is meaningless:
8427 lt_prog_compiler_pic
=
8430 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8434 $as_echo "$lt_prog_compiler_pic" >&6; }
8442 # Check to make sure the PIC flag actually works.
8444 if test -n "$lt_prog_compiler_pic"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8446 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8447 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8450 lt_cv_prog_compiler_pic_works
=no
8451 ac_outfile
=conftest.
$ac_objext
8452 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8453 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8454 # Insert the option either (1) after the last *FLAGS variable, or
8455 # (2) before a word containing "conftest.", or (3) at the end.
8456 # Note that $ac_compile itself does not contain backslashes and begins
8457 # with a dollar sign (not a hyphen), so the echo should work correctly.
8458 # The option is referenced via a variable to avoid confusing sed.
8459 lt_compile
=`echo "$ac_compile" | $SED \
8460 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8461 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8462 -e 's:$: $lt_compiler_flag:'`
8463 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8464 (eval "$lt_compile" 2>conftest.err
)
8466 cat conftest.err
>&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 if (exit $ac_status) && test -s "$ac_outfile"; then
8469 # The compiler can only warn and ignore the option if not recognized
8470 # So say no if there are warnings other than the usual output.
8471 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8472 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8473 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8474 lt_cv_prog_compiler_pic_works
=yes
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8481 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8483 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8484 case $lt_prog_compiler_pic in
8486 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8489 lt_prog_compiler_pic
=
8490 lt_prog_compiler_can_build_shared
=no
8501 # Check to make sure the static flag actually works.
8503 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8505 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8506 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8507 $as_echo_n "(cached) " >&6
8509 lt_cv_prog_compiler_static_works
=no
8510 save_LDFLAGS
="$LDFLAGS"
8511 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8512 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8513 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8514 # The linker can only warn and ignore the option if not recognized
8515 # So say no if there are warnings
8516 if test -s conftest.err
; then
8517 # Append any errors to the config.log.
8518 cat conftest.err
1>&5
8519 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8520 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8521 if diff conftest.exp conftest.er2
>/dev
/null
; then
8522 lt_cv_prog_compiler_static_works
=yes
8525 lt_cv_prog_compiler_static_works
=yes
8529 LDFLAGS
="$save_LDFLAGS"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8533 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8535 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8538 lt_prog_compiler_static
=
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8548 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8549 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8550 $as_echo_n "(cached) " >&6
8552 lt_cv_prog_compiler_c_o
=no
8553 $RM -r conftest
2>/dev
/null
8557 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8559 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8560 # Insert the option either (1) after the last *FLAGS variable, or
8561 # (2) before a word containing "conftest.", or (3) at the end.
8562 # Note that $ac_compile itself does not contain backslashes and begins
8563 # with a dollar sign (not a hyphen), so the echo should work correctly.
8564 lt_compile
=`echo "$ac_compile" | $SED \
8565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8567 -e 's:$: $lt_compiler_flag:'`
8568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8569 (eval "$lt_compile" 2>out
/conftest.err
)
8571 cat out
/conftest.err
>&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8575 # The compiler can only warn and ignore the option if not recognized
8576 # So say no if there are warnings
8577 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8578 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8579 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8580 lt_cv_prog_compiler_c_o
=yes
8585 # SGI C++ compiler will create directory out/ii_files/ for
8586 # template instantiation
8587 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8588 $RM out
/* && rmdir out
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8595 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8603 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8604 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8605 $as_echo_n "(cached) " >&6
8607 lt_cv_prog_compiler_c_o
=no
8608 $RM -r conftest
2>/dev
/null
8612 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8614 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8615 # Insert the option either (1) after the last *FLAGS variable, or
8616 # (2) before a word containing "conftest.", or (3) at the end.
8617 # Note that $ac_compile itself does not contain backslashes and begins
8618 # with a dollar sign (not a hyphen), so the echo should work correctly.
8619 lt_compile
=`echo "$ac_compile" | $SED \
8620 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8621 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8622 -e 's:$: $lt_compiler_flag:'`
8623 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8624 (eval "$lt_compile" 2>out
/conftest.err
)
8626 cat out
/conftest.err
>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8630 # The compiler can only warn and ignore the option if not recognized
8631 # So say no if there are warnings
8632 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8633 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8634 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8635 lt_cv_prog_compiler_c_o
=yes
8640 # SGI C++ compiler will create directory out/ii_files/ for
8641 # template instantiation
8642 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8643 $RM out
/* && rmdir out
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8650 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8655 hard_links
="nottested"
8656 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8657 # do not overwrite the value of need_locks provided by the user
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8659 $as_echo_n "checking if we can lock with hard links... " >&6; }
8662 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8664 ln conftest.a conftest.b
2>&5 || hard_links
=no
8665 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8667 $as_echo "$hard_links" >&6; }
8668 if test "$hard_links" = no
; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8670 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8683 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8686 allow_undefined_flag
=
8687 always_export_symbols
=no
8689 archive_expsym_cmds
=
8690 compiler_needs_object
=no
8691 enable_shared_with_static_runtimes
=no
8692 export_dynamic_flag_spec
=
8693 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8694 hardcode_automatic
=no
8696 hardcode_direct_absolute
=no
8697 hardcode_libdir_flag_spec
=
8698 hardcode_libdir_flag_spec_ld
=
8699 hardcode_libdir_separator
=
8701 hardcode_shlibpath_var
=unsupported
8703 link_all_deplibs
=unknown
8706 old_archive_from_new_cmds
=
8707 old_archive_from_expsyms_cmds
=
8708 thread_safe_flag_spec
=
8709 whole_archive_flag_spec
=
8710 # include_expsyms should be a list of space-separated symbols to be *always*
8711 # included in the symbol list
8713 # exclude_expsyms can be an extended regexp of symbols to exclude
8714 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8715 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8716 # as well as any symbol that contains `d'.
8717 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8718 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8719 # platforms (ab)use it in PIC code, but their linkers get confused if
8720 # the symbol is explicitly referenced. Since portable code cannot
8721 # rely on this symbol name, it's probably fine to never include it in
8722 # preloaded symbol tables.
8723 # Exclude shared library initialization/finalization symbols.
8724 extract_expsyms_cmds
=
8727 cygwin
* | mingw
* | pw32
* | cegcc
*)
8728 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8729 # When not using gcc, we currently assume that we are using
8730 # Microsoft Visual C++.
8731 if test "$GCC" != yes; then
8736 # we just hope/assume this is gcc and not c89 (= MSVC++)
8746 # On some targets, GNU ld is compatible enough with the native linker
8747 # that we're better off using the native interface for both.
8748 lt_use_gnu_ld_interface
=no
8749 if test "$with_gnu_ld" = yes; then
8752 # The AIX port of GNU ld has always aspired to compatibility
8753 # with the native linker. However, as the warning in the GNU ld
8754 # block says, versions before 2.19.5* couldn't really create working
8755 # shared libraries, regardless of the interface used.
8756 case `$LD -v 2>&1` in
8757 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8758 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8759 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8761 lt_use_gnu_ld_interface
=yes
8766 lt_use_gnu_ld_interface
=yes
8771 if test "$lt_use_gnu_ld_interface" = yes; then
8772 # If archive_cmds runs LD, not CC, wlarc should be empty
8775 # Set some defaults for GNU ld with shared library support. These
8776 # are reset later if shared libraries are not supported. Putting them
8777 # here allows them to be overridden if necessary.
8778 runpath_var
=LD_RUN_PATH
8779 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8780 export_dynamic_flag_spec
='${wl}--export-dynamic'
8781 # ancient GNU ld didn't support --whole-archive et. al.
8782 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8783 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8785 whole_archive_flag_spec
=
8787 supports_anon_versioning
=no
8788 case `$LD -v 2>&1` in
8789 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8790 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8791 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8792 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8793 *\
2.11.
*) ;; # other 2.11 versions
8794 *) supports_anon_versioning
=yes ;;
8797 # See if GNU ld supports shared libraries.
8800 # On AIX/PPC, the GNU linker is very broken
8801 if test "$host_cpu" != ia64
; then
8805 *** Warning: the GNU linker, at least up to release 2.19, is reported
8806 *** to be unable to reliably create shared libraries on AIX.
8807 *** Therefore, libtool is disabling shared libraries support. If you
8808 *** really care for shared libraries, you may want to install binutils
8809 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8810 *** You will then need to restart the configuration process.
8819 # see comment about AmigaOS4 .so support
8820 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8821 archive_expsym_cmds
=''
8824 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)'
8825 hardcode_libdir_flag_spec
='-L$libdir'
8826 hardcode_minus_L
=yes
8832 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8833 allow_undefined_flag
=unsupported
8834 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8835 # support --undefined. This deserves some investigation. FIXME
8836 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8842 cygwin
* | mingw
* | pw32
* | cegcc
*)
8843 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8844 # as there is no search path for DLLs.
8845 hardcode_libdir_flag_spec
='-L$libdir'
8846 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8847 allow_undefined_flag
=unsupported
8848 always_export_symbols
=no
8849 enable_shared_with_static_runtimes
=yes
8850 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8852 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8854 # If the export-symbols file already is a .def file (1st line
8855 # is EXPORTS), use it as is; otherwise, prepend...
8856 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8857 cp $export_symbols $output_objdir/$soname.def;
8859 echo EXPORTS > $output_objdir/$soname.def;
8860 cat $export_symbols >> $output_objdir/$soname.def;
8862 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8869 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8870 link_all_deplibs
=yes
8875 hardcode_shlibpath_var
=no
8876 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8877 export_dynamic_flag_spec
='${wl}-E'
8878 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8879 # Instead, shared libraries are loaded at an image base (0x10000000 by
8880 # default) and relocated if they conflict, which is a slow very memory
8881 # consuming and fragmenting process. To avoid this, we pick a random,
8882 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8883 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8884 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8885 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'
8888 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8890 if test "$host_os" = linux-dietlibc
; then
8891 case $cc_basename in
8892 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8895 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8896 && test "$tmp_diet" = no
8899 tmp_sharedflag
='-shared'
8900 case $cc_basename,$host_cpu in
8901 pgcc
*) # Portland Group C compiler
8902 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'
8903 tmp_addflag
=' $pic_flag'
8905 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8906 # Portland Group f77 and f90 compilers
8907 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'
8908 tmp_addflag
=' $pic_flag -Mnomain' ;;
8909 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8910 tmp_addflag
=' -i_dynamic' ;;
8911 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8912 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8913 ifc
* | ifort
*) # Intel Fortran compiler
8914 tmp_addflag
=' -nofor_main' ;;
8915 lf95
*) # Lahey Fortran 8.1
8916 whole_archive_flag_spec
=
8917 tmp_sharedflag
='--shared' ;;
8918 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8919 tmp_sharedflag
='-qmkshrobj'
8921 nvcc
*) # Cuda Compiler Driver 2.2
8922 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'
8923 compiler_needs_object
=yes
8926 case `$CC -V 2>&1 | sed 5q` in
8927 *Sun\ C
*) # Sun C 5.9
8928 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'
8929 compiler_needs_object
=yes
8930 tmp_sharedflag
='-G' ;;
8931 *Sun\ F
*) # Sun Fortran 8.3
8932 tmp_sharedflag
='-G' ;;
8934 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8936 if test "x$supports_anon_versioning" = xyes
; then
8937 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8939 echo "local: *; };" >> $output_objdir/$libname.ver~
8940 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8943 case $cc_basename in
8944 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8945 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8946 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8947 hardcode_libdir_flag_spec
=
8948 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8949 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8950 if test "x$supports_anon_versioning" = xyes
; then
8951 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8952 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8953 echo "local: *; };" >> $output_objdir/$libname.ver~
8954 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8964 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8965 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8968 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8969 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8974 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8978 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8979 *** create shared libraries on Solaris systems. Therefore, libtool
8980 *** is disabling shared libraries support. We urge you to upgrade GNU
8981 *** binutils to release 2.9.1 or newer. Another option is to modify
8982 *** your PATH or compiler configuration so that the native linker is
8983 *** used, and then restart.
8986 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8987 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8988 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8994 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8995 case `$LD -v 2>&1` in
8996 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9000 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9001 *** reliably create shared libraries on SCO systems. Therefore, libtool
9002 *** is disabling shared libraries support. We urge you to upgrade GNU
9003 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9004 *** your PATH or compiler configuration so that the native linker is
9005 *** used, and then restart.
9010 # For security reasons, it is highly recommended that you always
9011 # use absolute paths for naming shared libraries, and exclude the
9012 # DT_RUNPATH tag from executables and libraries. But doing so
9013 # requires that you compile everything twice, which is a pain.
9014 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9015 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9016 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9026 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9029 hardcode_shlibpath_var
=no
9033 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9034 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9042 if test "$ld_shlibs" = no
; then
9044 hardcode_libdir_flag_spec
=
9045 export_dynamic_flag_spec
=
9046 whole_archive_flag_spec
=
9049 # PORTME fill in a description of your system's linker (not GNU ld)
9052 allow_undefined_flag
=unsupported
9053 always_export_symbols
=yes
9054 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'
9055 # Note: this linker hardcodes the directories in LIBPATH if there
9056 # are no directories specified by -L.
9057 hardcode_minus_L
=yes
9058 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9059 # Neither direct hardcoding nor static linking is supported with a
9061 hardcode_direct
=unsupported
9066 if test "$host_cpu" = ia64
; then
9067 # On IA64, the linker does run time linking by default, so we don't
9068 # have to do anything special.
9069 aix_use_runtimelinking
=no
9070 exp_sym_flag
='-Bexport'
9073 # If we're using GNU nm, then we don't want the "-C" option.
9074 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9075 # Also, AIX nm treats weak defined symbols like other global
9076 # defined symbols, whereas GNU nm marks them as "W".
9077 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9078 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'
9080 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'
9082 aix_use_runtimelinking
=no
9084 # Test if we are trying to use run time linking or normal
9085 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9086 # need to do runtime linking.
9087 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9088 for ld_flag
in $LDFLAGS; do
9089 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9090 aix_use_runtimelinking
=yes
9097 exp_sym_flag
='-bexport'
9098 no_entry_flag
='-bnoentry'
9101 # When large executables or shared objects are built, AIX ld can
9102 # have problems creating the table of contents. If linking a library
9103 # or program results in "error TOC overflow" add -mminimal-toc to
9104 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9105 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9109 hardcode_direct_absolute
=yes
9110 hardcode_libdir_separator
=':'
9111 link_all_deplibs
=yes
9112 file_list_spec
='${wl}-f,'
9114 if test "$GCC" = yes; then
9115 case $host_os in aix4.
[012]|aix4.
[012].
*)
9116 # We only want to do this on AIX 4.2 and lower, the check
9117 # below for broken collect2 doesn't work under 4.3+
9118 collect2name
=`${CC} -print-prog-name=collect2`
9119 if test -f "$collect2name" &&
9120 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9122 # We have reworked collect2
9125 # We have old collect2
9126 hardcode_direct
=unsupported
9127 # It fails to find uninstalled libraries when the uninstalled
9128 # path is not listed in the libpath. Setting hardcode_minus_L
9129 # to unsupported forces relinking
9130 hardcode_minus_L
=yes
9131 hardcode_libdir_flag_spec
='-L$libdir'
9132 hardcode_libdir_separator
=
9136 shared_flag
='-shared'
9137 if test "$aix_use_runtimelinking" = yes; then
9138 shared_flag
="$shared_flag "'${wl}-G'
9142 if test "$host_cpu" = ia64
; then
9143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9144 # chokes on -Wl,-G. The following line is correct:
9147 if test "$aix_use_runtimelinking" = yes; then
9148 shared_flag
='${wl}-G'
9150 shared_flag
='${wl}-bM:SRE'
9155 export_dynamic_flag_spec
='${wl}-bexpall'
9156 # It seems that -bexpall does not export symbols beginning with
9157 # underscore (_), so it is better to generate a list of symbols to export.
9158 always_export_symbols
=yes
9159 if test "$aix_use_runtimelinking" = yes; then
9160 # Warning - without using the other runtime loading flags (-brtl),
9161 # -berok will link without error, but may produce a broken library.
9162 allow_undefined_flag
='-berok'
9163 # Determine the default libpath from the value encoded in an
9165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9176 if ac_fn_c_try_link
"$LINENO"; then :
9178 lt_aix_libpath_sed
='
9179 /Import File Strings/,/^$/ {
9185 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9186 # Check for a 64-bit object if we didn't find anything.
9187 if test -z "$aix_libpath"; then
9188 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9191 rm -f core conftest.err conftest.
$ac_objext \
9192 conftest
$ac_exeext conftest.
$ac_ext
9193 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9195 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9196 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"
9198 if test "$host_cpu" = ia64
; then
9199 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9200 allow_undefined_flag
="-z nodefs"
9201 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"
9203 # Determine the default libpath from the value encoded in an
9205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9216 if ac_fn_c_try_link
"$LINENO"; then :
9218 lt_aix_libpath_sed
='
9219 /Import File Strings/,/^$/ {
9225 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9226 # Check for a 64-bit object if we didn't find anything.
9227 if test -z "$aix_libpath"; then
9228 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9231 rm -f core conftest.err conftest.
$ac_objext \
9232 conftest
$ac_exeext conftest.
$ac_ext
9233 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9235 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9236 # Warning - without using the other run time loading flags,
9237 # -berok will link without error, but may produce a broken library.
9238 no_undefined_flag
=' ${wl}-bernotok'
9239 allow_undefined_flag
=' ${wl}-berok'
9240 if test "$with_gnu_ld" = yes; then
9241 # We only use this code for GNU lds that support --whole-archive.
9242 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9244 # Exported symbols can be pulled into shared objects from archives
9245 whole_archive_flag_spec
='$convenience'
9247 archive_cmds_need_lc
=yes
9248 # This is similar to how AIX traditionally builds its shared libraries.
9249 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'
9257 # see comment about AmigaOS4 .so support
9258 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9259 archive_expsym_cmds
=''
9262 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)'
9263 hardcode_libdir_flag_spec
='-L$libdir'
9264 hardcode_minus_L
=yes
9270 export_dynamic_flag_spec
=-rdynamic
9273 cygwin
* | mingw
* | pw32
* | cegcc
*)
9274 # When not using gcc, we currently assume that we are using
9275 # Microsoft Visual C++.
9276 # hardcode_libdir_flag_spec is actually meaningless, as there is
9277 # no search path for DLLs.
9278 hardcode_libdir_flag_spec
=' '
9279 allow_undefined_flag
=unsupported
9280 # Tell ltmain to make .lib files, not .a files.
9282 # Tell ltmain to make .dll files, not .so files.
9284 # FIXME: Setting linknames here is a bad hack.
9285 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9286 # The linker will automatically build a .lib file if we build a DLL.
9287 old_archive_from_new_cmds
='true'
9288 # FIXME: Should let the user specify the lib program.
9289 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9290 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9291 enable_shared_with_static_runtimes
=yes
9294 darwin
* | rhapsody
*)
9297 archive_cmds_need_lc
=no
9299 hardcode_automatic
=yes
9300 hardcode_shlibpath_var
=unsupported
9301 if test "$lt_cv_ld_force_load" = "yes"; then
9302 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\"`'
9304 whole_archive_flag_spec
=''
9306 link_all_deplibs
=yes
9307 allow_undefined_flag
="$_lt_dar_allow_undefined"
9308 case $cc_basename in
9309 ifort
*) _lt_dar_can_shared
=yes ;;
9310 *) _lt_dar_can_shared
=$GCC ;;
9312 if test "$_lt_dar_can_shared" = "yes"; then
9313 output_verbose_link_cmd
=func_echo_all
9314 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9315 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9316 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}"
9317 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}"
9326 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9327 hardcode_libdir_flag_spec
='-L$libdir'
9328 hardcode_shlibpath_var
=no
9331 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9332 # support. Future versions do this automatically, but an explicit c++rt0.o
9333 # does not break anything, and helps significantly (at the cost of a little
9336 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9337 hardcode_libdir_flag_spec
='-R$libdir'
9339 hardcode_shlibpath_var
=no
9342 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9344 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9346 hardcode_minus_L
=yes
9347 hardcode_shlibpath_var
=no
9350 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9351 freebsd
* | dragonfly
*)
9352 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9353 hardcode_libdir_flag_spec
='-R$libdir'
9355 hardcode_shlibpath_var
=no
9359 if test "$GCC" = yes; then
9360 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'
9362 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'
9364 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9365 hardcode_libdir_separator
=:
9368 # hardcode_minus_L: Not really in the search PATH,
9369 # but as the default location of the library.
9370 hardcode_minus_L
=yes
9371 export_dynamic_flag_spec
='${wl}-E'
9375 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9376 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9378 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9380 if test "$with_gnu_ld" = no
; then
9381 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9382 hardcode_libdir_flag_spec_ld
='+b $libdir'
9383 hardcode_libdir_separator
=:
9385 hardcode_direct_absolute
=yes
9386 export_dynamic_flag_spec
='${wl}-E'
9387 # hardcode_minus_L: Not really in the search PATH,
9388 # but as the default location of the library.
9389 hardcode_minus_L
=yes
9394 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9397 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9400 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9403 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9409 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9412 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9416 # Older versions of the 11.00 compiler do not understand -b yet
9417 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9419 $as_echo_n "checking if $CC understands -b... " >&6; }
9420 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9421 $as_echo_n "(cached) " >&6
9423 lt_cv_prog_compiler__b
=no
9424 save_LDFLAGS
="$LDFLAGS"
9425 LDFLAGS
="$LDFLAGS -b"
9426 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9427 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9428 # The linker can only warn and ignore the option if not recognized
9429 # So say no if there are warnings
9430 if test -s conftest.err
; then
9431 # Append any errors to the config.log.
9432 cat conftest.err
1>&5
9433 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9434 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9435 if diff conftest.exp conftest.er2
>/dev
/null
; then
9436 lt_cv_prog_compiler__b
=yes
9439 lt_cv_prog_compiler__b
=yes
9443 LDFLAGS
="$save_LDFLAGS"
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9447 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9449 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9450 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9452 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9458 if test "$with_gnu_ld" = no
; then
9459 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9460 hardcode_libdir_separator
=:
9465 hardcode_shlibpath_var
=no
9469 hardcode_direct_absolute
=yes
9470 export_dynamic_flag_spec
='${wl}-E'
9472 # hardcode_minus_L: Not really in the search PATH,
9473 # but as the default location of the library.
9474 hardcode_minus_L
=yes
9480 irix5
* | irix6
* | nonstopux
*)
9481 if test "$GCC" = yes; then
9482 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'
9483 # Try to use the -exported_symbol ld option, if it does not
9484 # work, assume that -exports_file does not work either and
9485 # implicitly export all symbols.
9486 save_LDFLAGS
="$LDFLAGS"
9487 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9492 if ac_fn_c_try_link
"$LINENO"; then :
9493 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'
9496 rm -f core conftest.err conftest.
$ac_objext \
9497 conftest
$ac_exeext conftest.
$ac_ext
9498 LDFLAGS
="$save_LDFLAGS"
9500 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'
9501 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'
9503 archive_cmds_need_lc
='no'
9504 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9505 hardcode_libdir_separator
=:
9507 link_all_deplibs
=yes
9511 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9512 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9514 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9516 hardcode_libdir_flag_spec
='-R$libdir'
9518 hardcode_shlibpath_var
=no
9522 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9525 hardcode_libdir_separator
=:
9526 hardcode_shlibpath_var
=no
9533 if test -f /usr
/libexec
/ld.so
; then
9535 hardcode_shlibpath_var
=no
9536 hardcode_direct_absolute
=yes
9537 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9538 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9539 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9540 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9541 export_dynamic_flag_spec
='${wl}-E'
9544 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9545 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9546 hardcode_libdir_flag_spec
='-R$libdir'
9549 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9550 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9560 hardcode_libdir_flag_spec
='-L$libdir'
9561 hardcode_minus_L
=yes
9562 allow_undefined_flag
=unsupported
9563 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'
9564 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9568 if test "$GCC" = yes; then
9569 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9570 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'
9572 allow_undefined_flag
=' -expect_unresolved \*'
9573 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'
9575 archive_cmds_need_lc
='no'
9576 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9577 hardcode_libdir_separator
=:
9580 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9581 if test "$GCC" = yes; then
9582 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9583 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9584 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9586 allow_undefined_flag
=' -expect_unresolved \*'
9587 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'
9588 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~
9589 $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'
9591 # Both c and cxx compiler support -rpath directly
9592 hardcode_libdir_flag_spec
='-rpath $libdir'
9594 archive_cmds_need_lc
='no'
9595 hardcode_libdir_separator
=:
9599 no_undefined_flag
=' -z defs'
9600 if test "$GCC" = yes; then
9602 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9603 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9604 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9606 case `$CC -V 2>&1` in
9609 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9610 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9611 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9615 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9617 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9621 hardcode_libdir_flag_spec
='-R$libdir'
9622 hardcode_shlibpath_var
=no
9624 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9626 # The compiler driver will combine and reorder linker options,
9627 # but understands `-z linker_flag'. GCC discards it without `$wl',
9628 # but is careful enough not to reorder.
9629 # Supported since Solaris 2.6 (maybe 2.5.1?)
9630 if test "$GCC" = yes; then
9631 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9633 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9637 link_all_deplibs
=yes
9641 if test "x$host_vendor" = xsequent
; then
9642 # Use $CC to link under sequent, because it throws in some extra .o
9643 # files that make .init and .fini sections work.
9644 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9648 hardcode_libdir_flag_spec
='-L$libdir'
9650 hardcode_minus_L
=yes
9651 hardcode_shlibpath_var
=no
9655 case $host_vendor in
9657 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_direct
=yes # is this really true???
9661 ## LD is ld it makes a PLAMLIB
9662 ## CC just makes a GrossModule.
9663 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9664 reload_cmds
='$CC -r -o $output$reload_objs'
9668 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9672 runpath_var
='LD_RUN_PATH'
9673 hardcode_shlibpath_var
=no
9677 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678 hardcode_shlibpath_var
=no
9679 export_dynamic_flag_spec
='-Bexport'
9683 if test -d /usr
/nec
; then
9684 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_shlibpath_var
=no
9686 runpath_var
=LD_RUN_PATH
9687 hardcode_runpath_var
=yes
9692 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9693 no_undefined_flag
='${wl}-z,text'
9694 archive_cmds_need_lc
=no
9695 hardcode_shlibpath_var
=no
9696 runpath_var
='LD_RUN_PATH'
9698 if test "$GCC" = yes; then
9699 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9700 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9702 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9703 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9707 sysv5
* | sco3.2v5
* | sco5v6
*)
9708 # Note: We can NOT use -z defs as we might desire, because we do not
9709 # link with -lc, and that would cause any symbols used from libc to
9710 # always be unresolved, which means just about no library would
9711 # ever link correctly. If we're not using GNU ld we use -z text
9712 # though, which does catch some bad symbols but isn't as heavy-handed
9714 no_undefined_flag
='${wl}-z,text'
9715 allow_undefined_flag
='${wl}-z,nodefs'
9716 archive_cmds_need_lc
=no
9717 hardcode_shlibpath_var
=no
9718 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9719 hardcode_libdir_separator
=':'
9720 link_all_deplibs
=yes
9721 export_dynamic_flag_spec
='${wl}-Bexport'
9722 runpath_var
='LD_RUN_PATH'
9724 if test "$GCC" = yes; then
9725 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9726 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9734 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9735 hardcode_libdir_flag_spec
='-L$libdir'
9736 hardcode_shlibpath_var
=no
9744 if test x
$host_vendor = xsni
; then
9746 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9747 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9754 $as_echo "$ld_shlibs" >&6; }
9755 test "$ld_shlibs" = no
&& can_build_shared
=no
9757 with_gnu_ld
=$with_gnu_ld
9774 # Do we need to explicitly link libc?
9776 case "x$archive_cmds_need_lc" in
9778 # Assume -lc should be added
9779 archive_cmds_need_lc
=yes
9781 if test "$enable_shared" = yes && test "$GCC" = yes; then
9782 case $archive_cmds in
9784 # FIXME: we may have to deal with multi-command sequences.
9787 # Test whether the compiler implicitly links with -lc since on some
9788 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9789 # to ld, don't add -lc before -lgcc.
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9791 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9792 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9793 $as_echo_n "(cached) " >&6
9796 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9798 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9799 (eval $ac_compile) 2>&5
9801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9802 test $ac_status = 0; } 2>conftest.err
; then
9805 libobjs
=conftest.
$ac_objext
9807 wl
=$lt_prog_compiler_wl
9808 pic_flag
=$lt_prog_compiler_pic
9814 lt_save_allow_undefined_flag
=$allow_undefined_flag
9815 allow_undefined_flag
=
9816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9817 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9820 test $ac_status = 0; }
9822 lt_cv_archive_cmds_need_lc
=no
9824 lt_cv_archive_cmds_need_lc
=yes
9826 allow_undefined_flag
=$lt_save_allow_undefined_flag
9828 cat conftest.err
1>&5
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9834 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9835 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9999 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10001 if test "$GCC" = yes; then
10003 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10004 *) lt_awk_arg
="/^libraries:/" ;;
10007 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10008 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10010 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10011 case $lt_search_path_spec in
10013 # if the path contains ";" then we assume it to be the separator
10014 # otherwise default to the standard path separator (i.e. ":") - it is
10015 # assumed that no part of a normal pathname contains ";" but that should
10016 # okay in the real world where ";" in dirpaths is itself problematic.
10017 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10020 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10023 # Ok, now we have the path, separated by spaces, we can step through it
10024 # and add multilib dir if necessary.
10025 lt_tmp_lt_search_path_spec
=
10026 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10027 for lt_sys_path
in $lt_search_path_spec; do
10028 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10029 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10031 test -d "$lt_sys_path" && \
10032 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10035 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10036 BEGIN {RS=" "; FS="/|\n";} {
10039 for (lt_i = NF; lt_i > 0; lt_i--) {
10040 if ($lt_i != "" && $lt_i != ".") {
10041 if ($lt_i == "..") {
10044 if (lt_count == 0) {
10045 lt_foo="/" $lt_i lt_foo;
10052 if (lt_foo != "") { lt_freq[lt_foo]++; }
10053 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10055 # AWK program above erroneously prepends '/' to C:/dos/paths
10058 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10059 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10061 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10063 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10065 library_names_spec
=
10066 libname_spec
='lib$name'
10070 postuninstall_cmds
=
10074 shlibpath_overrides_runpath
=unknown
10076 dynamic_linker
="$host_os ld.so"
10077 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10078 need_lib_prefix
=unknown
10079 hardcode_into_libs
=no
10081 # when you set need_version to no, make sure it does not cause -set_version
10082 # flags to be left without arguments
10083 need_version
=unknown
10088 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10089 shlibpath_var
=LIBPATH
10091 # AIX 3 has no versioning support, so we append a major version to the name.
10092 soname_spec
='${libname}${release}${shared_ext}$major'
10099 hardcode_into_libs
=yes
10100 if test "$host_cpu" = ia64
; then
10101 # AIX 5 supports IA64
10102 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10103 shlibpath_var
=LD_LIBRARY_PATH
10105 # With GCC up to 2.95.x, collect2 would create an import file
10106 # for dependence libraries. The import file would start with
10107 # the line `#! .'. This would cause the generated library to
10108 # depend on `.', always an invalid library. This was fixed in
10109 # development snapshots of GCC prior to 3.0.
10111 aix4 | aix4.
[01] | aix4.
[01].
*)
10112 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10114 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10117 can_build_shared
=no
10121 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10122 # soname into executable. Probably we can add versioning support to
10123 # collect2, so additional links can be useful in future.
10124 if test "$aix_use_runtimelinking" = yes; then
10125 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10126 # instead of lib<name>.a to let people know that these are not
10127 # typical AIX shared libraries.
10128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10130 # We preserve .a as extension for shared libraries through AIX4.2
10131 # and later when we are not doing run time linking.
10132 library_names_spec
='${libname}${release}.a $libname.a'
10133 soname_spec
='${libname}${release}${shared_ext}$major'
10135 shlibpath_var
=LIBPATH
10142 # Since July 2007 AmigaOS4 officially supports .so libraries.
10143 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10147 library_names_spec
='$libname.ixlibrary $libname.a'
10148 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10149 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'
10155 library_names_spec
='${libname}${shared_ext}'
10156 dynamic_linker
="$host_os ld.so"
10157 shlibpath_var
=LIBRARY_PATH
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10164 soname_spec
='${libname}${release}${shared_ext}$major'
10165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10166 shlibpath_var
=LD_LIBRARY_PATH
10167 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10168 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10169 # the default ld.so.conf also contains /usr/contrib/lib and
10170 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10171 # libtool to hard-code these into programs
10174 cygwin
* | mingw
* | pw32
* | cegcc
*)
10175 version_type
=windows
10180 case $GCC,$host_os in
10181 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10182 library_names_spec
='$libname.dll.a'
10183 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10184 postinstall_cmds
='base_file=`basename \${file}`~
10185 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10186 dldir=$destdir/`dirname \$dlpath`~
10187 test -d \$dldir || mkdir -p \$dldir~
10188 $install_prog $dir/$dlname \$dldir/$dlname~
10189 chmod a+x \$dldir/$dlname~
10190 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10191 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10193 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10194 dlpath=$dir/\$dldll~
10196 shlibpath_overrides_runpath
=yes
10200 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10201 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10203 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10206 # MinGW DLLs use traditional 'lib' prefix
10207 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10210 # pw32 DLLs use 'pw' prefix rather than 'lib'
10211 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10217 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10220 dynamic_linker
='Win32 ld.exe'
10221 # FIXME: first we should search . and the directory the executable is in
10225 darwin
* | rhapsody
*)
10226 dynamic_linker
="$host_os dyld"
10227 version_type
=darwin
10230 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10231 soname_spec
='${libname}${release}${major}$shared_ext'
10232 shlibpath_overrides_runpath
=yes
10233 shlibpath_var
=DYLD_LIBRARY_PATH
10234 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10236 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10237 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10245 soname_spec
='${libname}${release}${shared_ext}$major'
10246 shlibpath_var
=LD_LIBRARY_PATH
10249 freebsd
* | dragonfly
*)
10250 # DragonFly does not have aout. When/if they implement a new
10251 # versioning mechanism, adjust this.
10252 if test -x /usr
/bin
/objformat
; then
10253 objformat
=`/usr/bin/objformat`
10256 freebsd
[123]*) objformat
=aout
;;
10257 *) objformat
=elf
;;
10260 version_type
=freebsd-
$objformat
10261 case $version_type in
10263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10268 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10272 shlibpath_var
=LD_LIBRARY_PATH
10275 shlibpath_overrides_runpath
=yes
10277 freebsd3.
[01]* | freebsdelf3.
[01]*)
10278 shlibpath_overrides_runpath
=yes
10279 hardcode_into_libs
=yes
10281 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10282 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10283 shlibpath_overrides_runpath
=no
10284 hardcode_into_libs
=yes
10286 *) # from 4.6 on, and DragonFly
10287 shlibpath_overrides_runpath
=yes
10288 hardcode_into_libs
=yes
10297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10298 soname_spec
='${libname}${release}${shared_ext}$major'
10299 shlibpath_var
=LD_LIBRARY_PATH
10300 hardcode_into_libs
=yes
10307 dynamic_linker
="$host_os runtime_loader"
10308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10309 soname_spec
='${libname}${release}${shared_ext}$major'
10310 shlibpath_var
=LIBRARY_PATH
10311 shlibpath_overrides_runpath
=yes
10312 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10313 hardcode_into_libs
=yes
10316 hpux9
* | hpux10
* | hpux11
*)
10317 # Give a soname corresponding to the major version so that dld.sl refuses to
10318 # link against other versions.
10325 hardcode_into_libs
=yes
10326 dynamic_linker
="$host_os dld.so"
10327 shlibpath_var
=LD_LIBRARY_PATH
10328 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 soname_spec
='${libname}${release}${shared_ext}$major'
10331 if test "X$HPUX_IA64_MODE" = X32
; then
10332 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10334 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10336 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10340 hardcode_into_libs
=yes
10341 dynamic_linker
="$host_os dld.sl"
10342 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10343 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345 soname_spec
='${libname}${release}${shared_ext}$major'
10346 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10347 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10351 dynamic_linker
="$host_os dld.sl"
10352 shlibpath_var
=SHLIB_PATH
10353 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10355 soname_spec
='${libname}${release}${shared_ext}$major'
10358 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10359 postinstall_cmds
='chmod 555 $lib'
10360 # or fails outright, so override atomically:
10361 install_override_mode
=555
10368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10369 soname_spec
='${libname}${release}${shared_ext}$major'
10370 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10371 shlibpath_var
=LD_LIBRARY_PATH
10372 shlibpath_overrides_runpath
=no
10373 hardcode_into_libs
=yes
10376 irix5
* | irix6
* | nonstopux
*)
10378 nonstopux
*) version_type
=nonstopux
;;
10380 if test "$lt_cv_prog_gnu_ld" = yes; then
10388 soname_spec
='${libname}${release}${shared_ext}$major'
10389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10391 irix5
* | nonstopux
*)
10392 libsuff
= shlibsuff
=
10395 case $LD in # libtool.m4 will add one of these switches to LD
10396 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10397 libsuff
= shlibsuff
= libmagic
=32-bit;;
10398 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10399 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10400 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10401 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10402 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10406 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10407 shlibpath_overrides_runpath
=no
10408 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10409 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10410 hardcode_into_libs
=yes
10413 # No shared lib support for Linux oldld, aout, or coff.
10414 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10418 # This must be Linux ELF.
10419 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10424 soname_spec
='${libname}${release}${shared_ext}$major'
10425 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10426 shlibpath_var
=LD_LIBRARY_PATH
10427 shlibpath_overrides_runpath
=no
10429 # Some binutils ld are patched to set DT_RUNPATH
10430 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10431 $as_echo_n "(cached) " >&6
10433 lt_cv_shlibpath_overrides_runpath
=no
10434 save_LDFLAGS
=$LDFLAGS
10435 save_libdir
=$libdir
10436 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10437 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10449 if ac_fn_c_try_link
"$LINENO"; then :
10450 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10451 lt_cv_shlibpath_overrides_runpath
=yes
10454 rm -f core conftest.err conftest.
$ac_objext \
10455 conftest
$ac_exeext conftest.
$ac_ext
10456 LDFLAGS
=$save_LDFLAGS
10457 libdir
=$save_libdir
10461 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10463 # This implies no fast_install, which is unacceptable.
10464 # Some rework will be needed to allow for fast_install
10465 # before this can be enabled.
10466 hardcode_into_libs
=yes
10468 # Append ld.so.conf contents to the search path
10469 if test -f /etc
/ld.so.conf
; then
10470 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' ' '`
10471 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10474 # We used to test for /lib/ld.so.1 and disable shared libraries on
10475 # powerpc, because MkLinux only supported shared libraries with the
10476 # GNU dynamic linker. Since this was broken with cross compilers,
10477 # most powerpc-linux boxes support dynamic linking these days and
10478 # people can always --disable-shared, the test was removed, and we
10479 # assume the GNU/Linux dynamic linker is in use.
10480 dynamic_linker
='GNU/Linux ld.so'
10487 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10489 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10490 dynamic_linker
='NetBSD (a.out) ld.so'
10492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10493 soname_spec
='${libname}${release}${shared_ext}$major'
10494 dynamic_linker
='NetBSD ld.elf_so'
10496 shlibpath_var
=LD_LIBRARY_PATH
10497 shlibpath_overrides_runpath
=yes
10498 hardcode_into_libs
=yes
10503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10504 shlibpath_var
=LD_LIBRARY_PATH
10505 shlibpath_overrides_runpath
=yes
10512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec
='${libname}${release}${shared_ext}$major'
10514 shlibpath_var
=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath
=no
10516 hardcode_into_libs
=yes
10517 dynamic_linker
='ldqnx.so'
10522 sys_lib_dlsearch_path_spec
="/usr/lib"
10524 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10526 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10527 *) need_version
=no
;;
10529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10530 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10531 shlibpath_var
=LD_LIBRARY_PATH
10532 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10534 openbsd2.
[89] | openbsd2.
[89].
*)
10535 shlibpath_overrides_runpath
=no
10538 shlibpath_overrides_runpath
=yes
10542 shlibpath_overrides_runpath
=yes
10547 libname_spec
='$name'
10550 library_names_spec
='$libname${shared_ext} $libname.a'
10551 dynamic_linker
='OS/2 ld.exe'
10552 shlibpath_var
=LIBPATH
10555 osf3
* | osf4
* | osf5
*)
10559 soname_spec
='${libname}${release}${shared_ext}$major'
10560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561 shlibpath_var
=LD_LIBRARY_PATH
10562 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10563 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 shlibpath_var
=LD_LIBRARY_PATH
10577 shlibpath_overrides_runpath
=yes
10578 hardcode_into_libs
=yes
10579 # ldd complains unless libraries are executable
10580 postinstall_cmds
='chmod +x $lib'
10585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10586 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10587 shlibpath_var
=LD_LIBRARY_PATH
10588 shlibpath_overrides_runpath
=yes
10589 if test "$with_gnu_ld" = yes; then
10597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10598 soname_spec
='${libname}${release}${shared_ext}$major'
10599 shlibpath_var
=LD_LIBRARY_PATH
10600 case $host_vendor in
10602 shlibpath_overrides_runpath
=no
10604 runpath_var
=LD_RUN_PATH
10612 shlibpath_overrides_runpath
=no
10613 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10619 if test -d /usr
/nec
;then
10621 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10622 soname_spec
='$libname${shared_ext}.$major'
10623 shlibpath_var
=LD_LIBRARY_PATH
10627 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10628 version_type
=freebsd-elf
10631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10632 soname_spec
='${libname}${release}${shared_ext}$major'
10633 shlibpath_var
=LD_LIBRARY_PATH
10634 shlibpath_overrides_runpath
=yes
10635 hardcode_into_libs
=yes
10636 if test "$with_gnu_ld" = yes; then
10637 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10639 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10642 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10646 sys_lib_dlsearch_path_spec
='/usr/lib'
10650 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 shlibpath_var
=LD_LIBRARY_PATH
10656 shlibpath_overrides_runpath
=no
10657 hardcode_into_libs
=yes
10662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663 soname_spec
='${libname}${release}${shared_ext}$major'
10664 shlibpath_var
=LD_LIBRARY_PATH
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10672 $as_echo "$dynamic_linker" >&6; }
10673 test "$dynamic_linker" = no
&& can_build_shared
=no
10675 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10676 if test "$GCC" = yes; then
10677 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10680 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10681 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10683 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10684 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10779 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10781 if test -n "$hardcode_libdir_flag_spec" ||
10782 test -n "$runpath_var" ||
10783 test "X$hardcode_automatic" = "Xyes" ; then
10785 # We can hardcode non-existent directories.
10786 if test "$hardcode_direct" != no
&&
10787 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10788 # have to relink, otherwise we might link with an installed library
10789 # when we should be linking with a yet-to-be-installed one
10790 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10791 test "$hardcode_minus_L" != no
; then
10792 # Linking always hardcodes the temporary library directory.
10793 hardcode_action
=relink
10795 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10796 hardcode_action
=immediate
10799 # We cannot hardcode anything, or else we can only hardcode existing
10801 hardcode_action
=unsupported
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10804 $as_echo "$hardcode_action" >&6; }
10806 if test "$hardcode_action" = relink ||
10807 test "$inherit_rpath" = yes; then
10808 # Fast installation is not supported
10809 enable_fast_install
=no
10810 elif test "$shlibpath_overrides_runpath" = yes ||
10811 test "$enable_shared" = no
; then
10812 # Fast installation is not necessary
10813 enable_fast_install
=needless
10821 if test "x$enable_dlopen" != xyes
; then
10822 enable_dlopen
=unknown
10823 enable_dlopen_self
=unknown
10824 enable_dlopen_self_static
=unknown
10831 lt_cv_dlopen
="load_add_on"
10833 lt_cv_dlopen_self
=yes
10836 mingw
* | pw32
* | cegcc
*)
10837 lt_cv_dlopen
="LoadLibrary"
10842 lt_cv_dlopen
="dlopen"
10847 # if libdl is installed we need to link against it
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10849 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10850 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10851 $as_echo_n "(cached) " >&6
10853 ac_check_lib_save_LIBS
=$LIBS
10855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10858 /* Override any GCC internal prototype to avoid an error.
10859 Use char because int might match the return type of a GCC
10860 builtin and then its argument prototype would still apply. */
10873 if ac_fn_c_try_link
"$LINENO"; then :
10874 ac_cv_lib_dl_dlopen
=yes
10876 ac_cv_lib_dl_dlopen
=no
10878 rm -f core conftest.err conftest.
$ac_objext \
10879 conftest
$ac_exeext conftest.
$ac_ext
10880 LIBS
=$ac_check_lib_save_LIBS
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10883 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10884 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10885 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10888 lt_cv_dlopen
="dyld"
10890 lt_cv_dlopen_self
=yes
10897 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10898 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10899 lt_cv_dlopen
="shl_load"
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10902 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10903 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10906 ac_check_lib_save_LIBS
=$LIBS
10908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10921 return shl_load ();
10926 if ac_fn_c_try_link
"$LINENO"; then :
10927 ac_cv_lib_dld_shl_load
=yes
10929 ac_cv_lib_dld_shl_load
=no
10931 rm -f core conftest.err conftest.
$ac_objext \
10932 conftest
$ac_exeext conftest.
$ac_ext
10933 LIBS
=$ac_check_lib_save_LIBS
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10936 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10937 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10938 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10940 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10941 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10942 lt_cv_dlopen
="dlopen"
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10945 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10946 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10947 $as_echo_n "(cached) " >&6
10949 ac_check_lib_save_LIBS
=$LIBS
10951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10969 if ac_fn_c_try_link
"$LINENO"; then :
10970 ac_cv_lib_dl_dlopen
=yes
10972 ac_cv_lib_dl_dlopen
=no
10974 rm -f core conftest.err conftest.
$ac_objext \
10975 conftest
$ac_exeext conftest.
$ac_ext
10976 LIBS
=$ac_check_lib_save_LIBS
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10979 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10980 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10981 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10984 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10985 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10986 $as_echo_n "(cached) " >&6
10988 ac_check_lib_save_LIBS
=$LIBS
10989 LIBS
="-lsvld $LIBS"
10990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10993 /* Override any GCC internal prototype to avoid an error.
10994 Use char because int might match the return type of a GCC
10995 builtin and then its argument prototype would still apply. */
11008 if ac_fn_c_try_link
"$LINENO"; then :
11009 ac_cv_lib_svld_dlopen
=yes
11011 ac_cv_lib_svld_dlopen
=no
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_lib_save_LIBS
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11018 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11019 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11020 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11023 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11024 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11025 $as_echo_n "(cached) " >&6
11027 ac_check_lib_save_LIBS
=$LIBS
11029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11042 return dld_link ();
11047 if ac_fn_c_try_link
"$LINENO"; then :
11048 ac_cv_lib_dld_dld_link
=yes
11050 ac_cv_lib_dld_dld_link
=no
11052 rm -f core conftest.err conftest.
$ac_objext \
11053 conftest
$ac_exeext conftest.
$ac_ext
11054 LIBS
=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11057 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11058 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11059 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11080 if test "x$lt_cv_dlopen" != xno
; then
11086 case $lt_cv_dlopen in
11088 save_CPPFLAGS
="$CPPFLAGS"
11089 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11091 save_LDFLAGS
="$LDFLAGS"
11092 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11095 LIBS
="$lt_cv_dlopen_libs $LIBS"
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11098 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11099 if test "${lt_cv_dlopen_self+set}" = set; then :
11100 $as_echo_n "(cached) " >&6
11102 if test "$cross_compiling" = yes; then :
11103 lt_cv_dlopen_self
=cross
11105 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11106 lt_status
=$lt_dlunknown
11107 cat > conftest.
$ac_ext <<_LT_EOF
11108 #line 11108 "configure"
11109 #include "confdefs.h"
11118 # define LT_DLGLOBAL RTLD_GLOBAL
11121 # define LT_DLGLOBAL DL_GLOBAL
11123 # define LT_DLGLOBAL 0
11127 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11128 find out it does not work in some platform. */
11129 #ifndef LT_DLLAZY_OR_NOW
11131 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11134 # define LT_DLLAZY_OR_NOW DL_LAZY
11137 # define LT_DLLAZY_OR_NOW RTLD_NOW
11140 # define LT_DLLAZY_OR_NOW DL_NOW
11142 # define LT_DLLAZY_OR_NOW 0
11149 /* When -fvisbility=hidden is used, assume the code has been annotated
11150 correspondingly for the symbols needed. */
11151 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11152 void fnord () __attribute__((visibility("default")));
11155 void fnord () { int i=42; }
11158 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11159 int status = $lt_dlunknown;
11163 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11166 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11167 else puts (dlerror ());
11169 /* dlclose (self); */
11177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11178 (eval $ac_link) 2>&5
11180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11181 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11182 (.
/conftest
; exit; ) >&5 2>/dev
/null
11184 case x
$lt_status in
11185 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11186 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11187 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11190 # compilation failed
11191 lt_cv_dlopen_self
=no
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11199 $as_echo "$lt_cv_dlopen_self" >&6; }
11201 if test "x$lt_cv_dlopen_self" = xyes
; then
11202 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11204 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11205 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11206 $as_echo_n "(cached) " >&6
11208 if test "$cross_compiling" = yes; then :
11209 lt_cv_dlopen_self_static
=cross
11211 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11212 lt_status
=$lt_dlunknown
11213 cat > conftest.
$ac_ext <<_LT_EOF
11214 #line 11214 "configure"
11215 #include "confdefs.h"
11224 # define LT_DLGLOBAL RTLD_GLOBAL
11227 # define LT_DLGLOBAL DL_GLOBAL
11229 # define LT_DLGLOBAL 0
11233 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11234 find out it does not work in some platform. */
11235 #ifndef LT_DLLAZY_OR_NOW
11237 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11240 # define LT_DLLAZY_OR_NOW DL_LAZY
11243 # define LT_DLLAZY_OR_NOW RTLD_NOW
11246 # define LT_DLLAZY_OR_NOW DL_NOW
11248 # define LT_DLLAZY_OR_NOW 0
11255 /* When -fvisbility=hidden is used, assume the code has been annotated
11256 correspondingly for the symbols needed. */
11257 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11258 void fnord () __attribute__((visibility("default")));
11261 void fnord () { int i=42; }
11264 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11265 int status = $lt_dlunknown;
11269 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11272 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11273 else puts (dlerror ());
11275 /* dlclose (self); */
11283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11284 (eval $ac_link) 2>&5
11286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11287 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11288 (.
/conftest
; exit; ) >&5 2>/dev
/null
11290 case x
$lt_status in
11291 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11292 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11293 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11296 # compilation failed
11297 lt_cv_dlopen_self_static
=no
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11305 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11308 CPPFLAGS
="$save_CPPFLAGS"
11309 LDFLAGS
="$save_LDFLAGS"
11314 case $lt_cv_dlopen_self in
11315 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11316 *) enable_dlopen_self
=unknown
;;
11319 case $lt_cv_dlopen_self_static in
11320 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11321 *) enable_dlopen_self_static
=unknown
;;
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11344 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11345 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11346 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11347 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11349 $as_echo "yes" >&6; }
11351 # FIXME - insert some real tests, host_os isn't really good enough
11354 if test -n "$STRIP" ; then
11355 striplib
="$STRIP -x"
11356 old_striplib
="$STRIP -S"
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11358 $as_echo "yes" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11361 $as_echo "no" >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11366 $as_echo "no" >&6; }
11382 # Report which library types will actually be built
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11384 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11386 $as_echo "$can_build_shared" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11389 $as_echo_n "checking whether to build shared libraries... " >&6; }
11390 test "$can_build_shared" = "no" && enable_shared
=no
11392 # On AIX, shared libraries and static libraries use the same namespace, and
11393 # are all built from PIC.
11396 test "$enable_shared" = yes && enable_static
=no
11397 if test -n "$RANLIB"; then
11398 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11399 postinstall_cmds
='$RANLIB $lib'
11404 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11405 test "$enable_shared" = yes && enable_static
=no
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11410 $as_echo "$enable_shared" >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11413 $as_echo_n "checking whether to build static libraries... " >&6; }
11414 # Make sure either enable_shared or enable_static is yes.
11415 test "$enable_shared" = yes || enable_static
=yes
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11417 $as_echo "$enable_static" >&6; }
11424 ac_cpp
='$CPP $CPPFLAGS'
11425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11443 # Source file extension for Go test sources.
11446 # Object file extension for compiled Go test sources.
11450 # Code to be used in simple compile tests
11451 lt_simple_compile_test_code
="package main; func main() { }"
11453 # Code to be used in simple link tests
11454 lt_simple_link_test_code
='package main; func main() { }'
11456 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11463 # If no C compiler was specified, use CC.
11466 # If no C compiler flags were specified, use CFLAGS.
11467 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11469 # Allow CC to be a program name with arguments.
11473 # save warnings/boilerplate of simple test code
11474 ac_outfile
=conftest.
$ac_objext
11475 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11476 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11477 _lt_compiler_boilerplate
=`cat conftest.err`
11480 ac_outfile
=conftest.
$ac_objext
11481 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11482 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11483 _lt_linker_boilerplate
=`cat conftest.err`
11487 # Allow CC to be a program name with arguments.
11495 for cc_temp
in $compiler""; do
11497 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11498 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11503 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11506 # Go did not exist at the time GCC didn't implicitly link libc in.
11507 archive_cmds_need_lc_GO
=no
11509 old_archive_cmds_GO
=$old_archive_cmds
11512 ## There is no encapsulation within the following macros, do not change
11513 ## the running order or otherwise move them around unless you know exactly
11514 ## what you are doing...
11515 if test -n "$compiler"; then
11517 lt_prog_compiler_no_builtin_flag_GO
=
11519 if test "$GCC" = yes; then
11520 case $cc_basename in
11522 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11524 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11528 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11529 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11530 $as_echo_n "(cached) " >&6
11532 lt_cv_prog_compiler_rtti_exceptions
=no
11533 ac_outfile
=conftest.
$ac_objext
11534 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11535 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11536 # Insert the option either (1) after the last *FLAGS variable, or
11537 # (2) before a word containing "conftest.", or (3) at the end.
11538 # Note that $ac_compile itself does not contain backslashes and begins
11539 # with a dollar sign (not a hyphen), so the echo should work correctly.
11540 # The option is referenced via a variable to avoid confusing sed.
11541 lt_compile
=`echo "$ac_compile" | $SED \
11542 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11543 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11544 -e 's:$: $lt_compiler_flag:'`
11545 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11546 (eval "$lt_compile" 2>conftest.err
)
11548 cat conftest.err
>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 if (exit $ac_status) && test -s "$ac_outfile"; then
11551 # The compiler can only warn and ignore the option if not recognized
11552 # So say no if there are warnings other than the usual output.
11553 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11554 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11555 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11556 lt_cv_prog_compiler_rtti_exceptions
=yes
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11563 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11565 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11566 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11575 lt_prog_compiler_wl_GO
=
11576 lt_prog_compiler_pic_GO
=
11577 lt_prog_compiler_static_GO
=
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11580 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11582 if test "$GCC" = yes; then
11583 lt_prog_compiler_wl_GO
='-Wl,'
11584 lt_prog_compiler_static_GO
='-static'
11588 # All AIX code is PIC.
11589 if test "$host_cpu" = ia64
; then
11590 # AIX 5 now supports IA64 processor
11591 lt_prog_compiler_static_GO
='-Bstatic'
11598 # see comment about AmigaOS4 .so support
11599 lt_prog_compiler_pic_GO
='-fPIC'
11602 # FIXME: we need at least 68020 code to build shared libraries, but
11603 # adding the `-m68020' flag to GCC prevents building anything better,
11605 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11610 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11611 # PIC is the default for these OSes.
11614 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11615 # This hack is so that the source file can tell whether it is being
11616 # built for inclusion in a dll (and should export symbols for example).
11617 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11618 # (--disable-auto-import) libraries
11619 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11622 darwin
* | rhapsody
*)
11623 # PIC is the default on this platform
11624 # Common symbols not allowed in MH_DYLIB files
11625 lt_prog_compiler_pic_GO
='-fno-common'
11629 # PIC is the default for Haiku.
11630 # The "-static" flag exists, but is broken.
11631 lt_prog_compiler_static_GO
=
11635 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11636 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11637 # sets the default TLS model and affects inlining.
11643 lt_prog_compiler_pic_GO
='-fPIC'
11649 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11650 # Instead, we relocate shared libraries at runtime.
11654 # Just because we use GCC doesn't mean we suddenly get shared libraries
11655 # on systems that don't support them.
11656 lt_prog_compiler_can_build_shared_GO
=no
11661 # QNX uses GNU C++, but need to define -shared option too, otherwise
11662 # it will coredump.
11663 lt_prog_compiler_pic_GO
='-fPIC -shared'
11667 if test -d /usr
/nec
; then
11668 lt_prog_compiler_pic_GO
=-Kconform_pic
11673 lt_prog_compiler_pic_GO
='-fPIC'
11677 case $cc_basename in
11678 nvcc
*) # Cuda Compiler Driver 2.2
11679 lt_prog_compiler_wl_GO
='-Xlinker '
11680 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11684 # PORTME Check for flag to pass linker flags through the system compiler.
11687 lt_prog_compiler_wl_GO
='-Wl,'
11688 if test "$host_cpu" = ia64
; then
11689 # AIX 5 now supports IA64 processor
11690 lt_prog_compiler_static_GO
='-Bstatic'
11692 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11696 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11697 # This hack is so that the source file can tell whether it is being
11698 # built for inclusion in a dll (and should export symbols for example).
11699 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11702 hpux9
* | hpux10
* | hpux11
*)
11703 lt_prog_compiler_wl_GO
='-Wl,'
11704 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11705 # not for PA HP-UX.
11711 lt_prog_compiler_pic_GO
='+Z'
11714 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11715 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11718 irix5
* | irix6
* | nonstopux
*)
11719 lt_prog_compiler_wl_GO
='-Wl,'
11720 # PIC (with -KPIC) is the default.
11721 lt_prog_compiler_static_GO
='-non_shared'
11724 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11725 case $cc_basename in
11726 # old Intel for x86_64 which still supported -KPIC.
11728 lt_prog_compiler_wl_GO
='-Wl,'
11729 lt_prog_compiler_pic_GO
='-KPIC'
11730 lt_prog_compiler_static_GO
='-static'
11732 # icc used to be incompatible with GCC.
11733 # ICC 10 doesn't accept -KPIC any more.
11735 lt_prog_compiler_wl_GO
='-Wl,'
11736 lt_prog_compiler_pic_GO
='-fPIC'
11737 lt_prog_compiler_static_GO
='-static'
11739 # Lahey Fortran 8.1.
11741 lt_prog_compiler_wl_GO
='-Wl,'
11742 lt_prog_compiler_pic_GO
='--shared'
11743 lt_prog_compiler_static_GO
='--static'
11745 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11746 # Portland Group compilers (*not* the Pentium gcc compiler,
11747 # which looks to be a dead project)
11748 lt_prog_compiler_wl_GO
='-Wl,'
11749 lt_prog_compiler_pic_GO
='-fpic'
11750 lt_prog_compiler_static_GO
='-Bstatic'
11753 lt_prog_compiler_wl_GO
='-Wl,'
11754 # All Alpha code is PIC.
11755 lt_prog_compiler_static_GO
='-non_shared'
11757 xl
* | bgxl
* | bgf
* | mpixl
*)
11758 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11759 lt_prog_compiler_wl_GO
='-Wl,'
11760 lt_prog_compiler_pic_GO
='-qpic'
11761 lt_prog_compiler_static_GO
='-qstaticlink'
11764 case `$CC -V 2>&1 | sed 5q` in
11765 *Sun\ F
* |
*Sun
*Fortran
*)
11766 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11767 lt_prog_compiler_pic_GO
='-KPIC'
11768 lt_prog_compiler_static_GO
='-Bstatic'
11769 lt_prog_compiler_wl_GO
=''
11773 lt_prog_compiler_pic_GO
='-KPIC'
11774 lt_prog_compiler_static_GO
='-Bstatic'
11775 lt_prog_compiler_wl_GO
='-Wl,'
11783 lt_prog_compiler_pic_GO
='-KPIC'
11784 lt_prog_compiler_static_GO
='-Bstatic'
11788 # QNX uses GNU C++, but need to define -shared option too, otherwise
11789 # it will coredump.
11790 lt_prog_compiler_pic_GO
='-fPIC -shared'
11793 osf3
* | osf4
* | osf5
*)
11794 lt_prog_compiler_wl_GO
='-Wl,'
11795 # All OSF/1 code is PIC.
11796 lt_prog_compiler_static_GO
='-non_shared'
11800 lt_prog_compiler_static_GO
='-non_shared'
11804 lt_prog_compiler_pic_GO
='-KPIC'
11805 lt_prog_compiler_static_GO
='-Bstatic'
11806 case $cc_basename in
11807 f77
* | f90
* | f95
*)
11808 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11810 lt_prog_compiler_wl_GO
='-Wl,';;
11815 lt_prog_compiler_wl_GO
='-Qoption ld '
11816 lt_prog_compiler_pic_GO
='-PIC'
11817 lt_prog_compiler_static_GO
='-Bstatic'
11820 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11821 lt_prog_compiler_wl_GO
='-Wl,'
11822 lt_prog_compiler_pic_GO
='-KPIC'
11823 lt_prog_compiler_static_GO
='-Bstatic'
11827 if test -d /usr
/nec
;then
11828 lt_prog_compiler_pic_GO
='-Kconform_pic'
11829 lt_prog_compiler_static_GO
='-Bstatic'
11833 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11834 lt_prog_compiler_wl_GO
='-Wl,'
11835 lt_prog_compiler_pic_GO
='-KPIC'
11836 lt_prog_compiler_static_GO
='-Bstatic'
11840 lt_prog_compiler_wl_GO
='-Wl,'
11841 lt_prog_compiler_can_build_shared_GO
=no
11845 lt_prog_compiler_pic_GO
='-pic'
11846 lt_prog_compiler_static_GO
='-Bstatic'
11850 lt_prog_compiler_can_build_shared_GO
=no
11856 # For platforms which do not support PIC, -DPIC is meaningless:
11858 lt_prog_compiler_pic_GO
=
11861 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11865 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11870 # Check to make sure the PIC flag actually works.
11872 if test -n "$lt_prog_compiler_pic_GO"; then
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11874 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11875 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11876 $as_echo_n "(cached) " >&6
11878 lt_cv_prog_compiler_pic_works_GO
=no
11879 ac_outfile
=conftest.
$ac_objext
11880 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11881 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11882 # Insert the option either (1) after the last *FLAGS variable, or
11883 # (2) before a word containing "conftest.", or (3) at the end.
11884 # Note that $ac_compile itself does not contain backslashes and begins
11885 # with a dollar sign (not a hyphen), so the echo should work correctly.
11886 # The option is referenced via a variable to avoid confusing sed.
11887 lt_compile
=`echo "$ac_compile" | $SED \
11888 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11890 -e 's:$: $lt_compiler_flag:'`
11891 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11892 (eval "$lt_compile" 2>conftest.err
)
11894 cat conftest.err
>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 if (exit $ac_status) && test -s "$ac_outfile"; then
11897 # The compiler can only warn and ignore the option if not recognized
11898 # So say no if there are warnings other than the usual output.
11899 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11900 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11901 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11902 lt_cv_prog_compiler_pic_works_GO
=yes
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11909 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11911 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11912 case $lt_prog_compiler_pic_GO in
11914 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11917 lt_prog_compiler_pic_GO
=
11918 lt_prog_compiler_can_build_shared_GO
=no
11926 # Check to make sure the static flag actually works.
11928 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11930 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11931 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11934 lt_cv_prog_compiler_static_works_GO
=no
11935 save_LDFLAGS
="$LDFLAGS"
11936 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11937 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11938 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11939 # The linker can only warn and ignore the option if not recognized
11940 # So say no if there are warnings
11941 if test -s conftest.err
; then
11942 # Append any errors to the config.log.
11943 cat conftest.err
1>&5
11944 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11945 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11946 if diff conftest.exp conftest.er2
>/dev
/null
; then
11947 lt_cv_prog_compiler_static_works_GO
=yes
11950 lt_cv_prog_compiler_static_works_GO
=yes
11954 LDFLAGS
="$save_LDFLAGS"
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11958 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11960 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11963 lt_prog_compiler_static_GO
=
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11971 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11972 $as_echo_n "(cached) " >&6
11974 lt_cv_prog_compiler_c_o_GO
=no
11975 $RM -r conftest
2>/dev
/null
11979 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11981 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11982 # Insert the option either (1) after the last *FLAGS variable, or
11983 # (2) before a word containing "conftest.", or (3) at the end.
11984 # Note that $ac_compile itself does not contain backslashes and begins
11985 # with a dollar sign (not a hyphen), so the echo should work correctly.
11986 lt_compile
=`echo "$ac_compile" | $SED \
11987 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11988 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11989 -e 's:$: $lt_compiler_flag:'`
11990 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11991 (eval "$lt_compile" 2>out
/conftest.err
)
11993 cat out
/conftest.err
>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11997 # The compiler can only warn and ignore the option if not recognized
11998 # So say no if there are warnings
11999 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12000 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12001 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12002 lt_cv_prog_compiler_c_o_GO
=yes
12007 # SGI C++ compiler will create directory out/ii_files/ for
12008 # template instantiation
12009 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12010 $RM out
/* && rmdir out
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12017 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12022 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12023 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
12024 $as_echo_n "(cached) " >&6
12026 lt_cv_prog_compiler_c_o_GO
=no
12027 $RM -r conftest
2>/dev
/null
12031 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12033 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12034 # Insert the option either (1) after the last *FLAGS variable, or
12035 # (2) before a word containing "conftest.", or (3) at the end.
12036 # Note that $ac_compile itself does not contain backslashes and begins
12037 # with a dollar sign (not a hyphen), so the echo should work correctly.
12038 lt_compile
=`echo "$ac_compile" | $SED \
12039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12041 -e 's:$: $lt_compiler_flag:'`
12042 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12043 (eval "$lt_compile" 2>out
/conftest.err
)
12045 cat out
/conftest.err
>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12049 # The compiler can only warn and ignore the option if not recognized
12050 # So say no if there are warnings
12051 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12052 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12053 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12054 lt_cv_prog_compiler_c_o_GO
=yes
12059 # SGI C++ compiler will create directory out/ii_files/ for
12060 # template instantiation
12061 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12062 $RM out
/* && rmdir out
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
12069 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
12074 hard_links
="nottested"
12075 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
12076 # do not overwrite the value of need_locks provided by the user
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12078 $as_echo_n "checking if we can lock with hard links... " >&6; }
12081 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12083 ln conftest.a conftest.b
2>&5 || hard_links
=no
12084 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12086 $as_echo "$hard_links" >&6; }
12087 if test "$hard_links" = no
; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12089 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12099 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12102 allow_undefined_flag_GO
=
12103 always_export_symbols_GO
=no
12105 archive_expsym_cmds_GO
=
12106 compiler_needs_object_GO
=no
12107 enable_shared_with_static_runtimes_GO
=no
12108 export_dynamic_flag_spec_GO
=
12109 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12110 hardcode_automatic_GO
=no
12111 hardcode_direct_GO
=no
12112 hardcode_direct_absolute_GO
=no
12113 hardcode_libdir_flag_spec_GO
=
12114 hardcode_libdir_flag_spec_ld_GO
=
12115 hardcode_libdir_separator_GO
=
12116 hardcode_minus_L_GO
=no
12117 hardcode_shlibpath_var_GO
=unsupported
12118 inherit_rpath_GO
=no
12119 link_all_deplibs_GO
=unknown
12121 module_expsym_cmds_GO
=
12122 old_archive_from_new_cmds_GO
=
12123 old_archive_from_expsyms_cmds_GO
=
12124 thread_safe_flag_spec_GO
=
12125 whole_archive_flag_spec_GO
=
12126 # include_expsyms should be a list of space-separated symbols to be *always*
12127 # included in the symbol list
12128 include_expsyms_GO
=
12129 # exclude_expsyms can be an extended regexp of symbols to exclude
12130 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12131 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12132 # as well as any symbol that contains `d'.
12133 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12134 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12135 # platforms (ab)use it in PIC code, but their linkers get confused if
12136 # the symbol is explicitly referenced. Since portable code cannot
12137 # rely on this symbol name, it's probably fine to never include it in
12138 # preloaded symbol tables.
12139 # Exclude shared library initialization/finalization symbols.
12140 extract_expsyms_cmds
=
12143 cygwin
* | mingw
* | pw32
* | cegcc
*)
12144 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12145 # When not using gcc, we currently assume that we are using
12146 # Microsoft Visual C++.
12147 if test "$GCC" != yes; then
12152 # we just hope/assume this is gcc and not c89 (= MSVC++)
12162 # On some targets, GNU ld is compatible enough with the native linker
12163 # that we're better off using the native interface for both.
12164 lt_use_gnu_ld_interface
=no
12165 if test "$with_gnu_ld" = yes; then
12168 # The AIX port of GNU ld has always aspired to compatibility
12169 # with the native linker. However, as the warning in the GNU ld
12170 # block says, versions before 2.19.5* couldn't really create working
12171 # shared libraries, regardless of the interface used.
12172 case `$LD -v 2>&1` in
12173 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12174 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12175 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12177 lt_use_gnu_ld_interface
=yes
12182 lt_use_gnu_ld_interface
=yes
12187 if test "$lt_use_gnu_ld_interface" = yes; then
12188 # If archive_cmds runs LD, not CC, wlarc should be empty
12191 # Set some defaults for GNU ld with shared library support. These
12192 # are reset later if shared libraries are not supported. Putting them
12193 # here allows them to be overridden if necessary.
12194 runpath_var
=LD_RUN_PATH
12195 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
12197 # ancient GNU ld didn't support --whole-archive et. al.
12198 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12199 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12201 whole_archive_flag_spec_GO
=
12203 supports_anon_versioning
=no
12204 case `$LD -v 2>&1` in
12205 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12206 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12207 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12208 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12209 *\
2.11.
*) ;; # other 2.11 versions
12210 *) supports_anon_versioning
=yes ;;
12213 # See if GNU ld supports shared libraries.
12216 # On AIX/PPC, the GNU linker is very broken
12217 if test "$host_cpu" != ia64
; then
12221 *** Warning: the GNU linker, at least up to release 2.19, is reported
12222 *** to be unable to reliably create shared libraries on AIX.
12223 *** Therefore, libtool is disabling shared libraries support. If you
12224 *** really care for shared libraries, you may want to install binutils
12225 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12226 *** You will then need to restart the configuration process.
12235 # see comment about AmigaOS4 .so support
12236 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12237 archive_expsym_cmds_GO
=''
12240 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)'
12241 hardcode_libdir_flag_spec_GO
='-L$libdir'
12242 hardcode_minus_L_GO
=yes
12248 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12249 allow_undefined_flag_GO
=unsupported
12250 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12251 # support --undefined. This deserves some investigation. FIXME
12252 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12258 cygwin
* | mingw
* | pw32
* | cegcc
*)
12259 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12260 # as there is no search path for DLLs.
12261 hardcode_libdir_flag_spec_GO
='-L$libdir'
12262 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12263 allow_undefined_flag_GO
=unsupported
12264 always_export_symbols_GO
=no
12265 enable_shared_with_static_runtimes_GO
=yes
12266 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12268 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12269 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12270 # If the export-symbols file already is a .def file (1st line
12271 # is EXPORTS), use it as is; otherwise, prepend...
12272 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12273 cp $export_symbols $output_objdir/$soname.def;
12275 echo EXPORTS > $output_objdir/$soname.def;
12276 cat $export_symbols >> $output_objdir/$soname.def;
12278 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12285 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12286 link_all_deplibs_GO
=yes
12290 hardcode_direct_GO
=no
12291 hardcode_shlibpath_var_GO
=no
12292 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12293 export_dynamic_flag_spec_GO
='${wl}-E'
12294 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12295 # Instead, shared libraries are loaded at an image base (0x10000000 by
12296 # default) and relocated if they conflict, which is a slow very memory
12297 # consuming and fragmenting process. To avoid this, we pick a random,
12298 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12299 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12300 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'
12301 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'
12304 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12306 if test "$host_os" = linux-dietlibc
; then
12307 case $cc_basename in
12308 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12311 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12312 && test "$tmp_diet" = no
12315 tmp_sharedflag
='-shared'
12316 case $cc_basename,$host_cpu in
12317 pgcc
*) # Portland Group C compiler
12318 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'
12319 tmp_addflag
=' $pic_flag'
12321 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12322 # Portland Group f77 and f90 compilers
12323 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'
12324 tmp_addflag
=' $pic_flag -Mnomain' ;;
12325 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12326 tmp_addflag
=' -i_dynamic' ;;
12327 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12328 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12329 ifc
* | ifort
*) # Intel Fortran compiler
12330 tmp_addflag
=' -nofor_main' ;;
12331 lf95
*) # Lahey Fortran 8.1
12332 whole_archive_flag_spec_GO
=
12333 tmp_sharedflag
='--shared' ;;
12334 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12335 tmp_sharedflag
='-qmkshrobj'
12337 nvcc
*) # Cuda Compiler Driver 2.2
12338 whole_archive_flag_spec_GO
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12339 compiler_needs_object_GO
=yes
12342 case `$CC -V 2>&1 | sed 5q` in
12343 *Sun\ C
*) # Sun C 5.9
12344 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'
12345 compiler_needs_object_GO
=yes
12346 tmp_sharedflag
='-G' ;;
12347 *Sun\ F
*) # Sun Fortran 8.3
12348 tmp_sharedflag
='-G' ;;
12350 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12352 if test "x$supports_anon_versioning" = xyes
; then
12353 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12354 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12355 echo "local: *; };" >> $output_objdir/$libname.ver~
12356 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12359 case $cc_basename in
12360 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12361 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12362 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12363 hardcode_libdir_flag_spec_GO
=
12364 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12365 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12366 if test "x$supports_anon_versioning" = xyes
; then
12367 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12368 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12369 echo "local: *; };" >> $output_objdir/$libname.ver~
12370 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12380 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12381 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12384 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12385 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12390 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12394 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12395 *** create shared libraries on Solaris systems. Therefore, libtool
12396 *** is disabling shared libraries support. We urge you to upgrade GNU
12397 *** binutils to release 2.9.1 or newer. Another option is to modify
12398 *** your PATH or compiler configuration so that the native linker is
12399 *** used, and then restart.
12402 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12403 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12404 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12410 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12411 case `$LD -v 2>&1` in
12412 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12416 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12417 *** reliably create shared libraries on SCO systems. Therefore, libtool
12418 *** is disabling shared libraries support. We urge you to upgrade GNU
12419 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12420 *** your PATH or compiler configuration so that the native linker is
12421 *** used, and then restart.
12426 # For security reasons, it is highly recommended that you always
12427 # use absolute paths for naming shared libraries, and exclude the
12428 # DT_RUNPATH tag from executables and libraries. But doing so
12429 # requires that you compile everything twice, which is a pain.
12430 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12431 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12432 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12433 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12442 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12444 hardcode_direct_GO
=yes
12445 hardcode_shlibpath_var_GO
=no
12449 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12450 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12451 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12458 if test "$ld_shlibs_GO" = no
; then
12460 hardcode_libdir_flag_spec_GO
=
12461 export_dynamic_flag_spec_GO
=
12462 whole_archive_flag_spec_GO
=
12465 # PORTME fill in a description of your system's linker (not GNU ld)
12468 allow_undefined_flag_GO
=unsupported
12469 always_export_symbols_GO
=yes
12470 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'
12471 # Note: this linker hardcodes the directories in LIBPATH if there
12472 # are no directories specified by -L.
12473 hardcode_minus_L_GO
=yes
12474 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12475 # Neither direct hardcoding nor static linking is supported with a
12477 hardcode_direct_GO
=unsupported
12482 if test "$host_cpu" = ia64
; then
12483 # On IA64, the linker does run time linking by default, so we don't
12484 # have to do anything special.
12485 aix_use_runtimelinking
=no
12486 exp_sym_flag
='-Bexport'
12489 # If we're using GNU nm, then we don't want the "-C" option.
12490 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12491 # Also, AIX nm treats weak defined symbols like other global
12492 # defined symbols, whereas GNU nm marks them as "W".
12493 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12494 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'
12496 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'
12498 aix_use_runtimelinking
=no
12500 # Test if we are trying to use run time linking or normal
12501 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12502 # need to do runtime linking.
12503 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12504 for ld_flag
in $LDFLAGS; do
12505 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12506 aix_use_runtimelinking
=yes
12513 exp_sym_flag
='-bexport'
12514 no_entry_flag
='-bnoentry'
12517 # When large executables or shared objects are built, AIX ld can
12518 # have problems creating the table of contents. If linking a library
12519 # or program results in "error TOC overflow" add -mminimal-toc to
12520 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12521 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12524 hardcode_direct_GO
=yes
12525 hardcode_direct_absolute_GO
=yes
12526 hardcode_libdir_separator_GO
=':'
12527 link_all_deplibs_GO
=yes
12528 file_list_spec_GO
='${wl}-f,'
12530 if test "$GCC" = yes; then
12531 case $host_os in aix4.
[012]|aix4.
[012].
*)
12532 # We only want to do this on AIX 4.2 and lower, the check
12533 # below for broken collect2 doesn't work under 4.3+
12534 collect2name
=`${CC} -print-prog-name=collect2`
12535 if test -f "$collect2name" &&
12536 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12538 # We have reworked collect2
12541 # We have old collect2
12542 hardcode_direct_GO
=unsupported
12543 # It fails to find uninstalled libraries when the uninstalled
12544 # path is not listed in the libpath. Setting hardcode_minus_L
12545 # to unsupported forces relinking
12546 hardcode_minus_L_GO
=yes
12547 hardcode_libdir_flag_spec_GO
='-L$libdir'
12548 hardcode_libdir_separator_GO
=
12552 shared_flag
='-shared'
12553 if test "$aix_use_runtimelinking" = yes; then
12554 shared_flag
="$shared_flag "'${wl}-G'
12558 if test "$host_cpu" = ia64
; then
12559 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12560 # chokes on -Wl,-G. The following line is correct:
12563 if test "$aix_use_runtimelinking" = yes; then
12564 shared_flag
='${wl}-G'
12566 shared_flag
='${wl}-bM:SRE'
12571 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12572 # It seems that -bexpall does not export symbols beginning with
12573 # underscore (_), so it is better to generate a list of symbols to export.
12574 always_export_symbols_GO
=yes
12575 if test "$aix_use_runtimelinking" = yes; then
12576 # Warning - without using the other runtime loading flags (-brtl),
12577 # -berok will link without error, but may produce a broken library.
12578 allow_undefined_flag_GO
='-berok'
12579 # Determine the default libpath from the value encoded in an
12580 # empty executable.
12581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12592 if ac_fn_c_try_link
"$LINENO"; then :
12594 lt_aix_libpath_sed
='
12595 /Import File Strings/,/^$/ {
12601 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12602 # Check for a 64-bit object if we didn't find anything.
12603 if test -z "$aix_libpath"; then
12604 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12607 rm -f core conftest.err conftest.
$ac_objext \
12608 conftest
$ac_exeext conftest.
$ac_ext
12609 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12611 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12612 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"
12614 if test "$host_cpu" = ia64
; then
12615 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12616 allow_undefined_flag_GO
="-z nodefs"
12617 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"
12619 # Determine the default libpath from the value encoded in an
12620 # empty executable.
12621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12632 if ac_fn_c_try_link
"$LINENO"; then :
12634 lt_aix_libpath_sed
='
12635 /Import File Strings/,/^$/ {
12641 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12642 # Check for a 64-bit object if we didn't find anything.
12643 if test -z "$aix_libpath"; then
12644 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12651 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12652 # Warning - without using the other run time loading flags,
12653 # -berok will link without error, but may produce a broken library.
12654 no_undefined_flag_GO
=' ${wl}-bernotok'
12655 allow_undefined_flag_GO
=' ${wl}-berok'
12656 if test "$with_gnu_ld" = yes; then
12657 # We only use this code for GNU lds that support --whole-archive.
12658 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12660 # Exported symbols can be pulled into shared objects from archives
12661 whole_archive_flag_spec_GO
='$convenience'
12663 archive_cmds_need_lc_GO
=yes
12664 # This is similar to how AIX traditionally builds its shared libraries.
12665 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'
12673 # see comment about AmigaOS4 .so support
12674 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12675 archive_expsym_cmds_GO
=''
12678 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)'
12679 hardcode_libdir_flag_spec_GO
='-L$libdir'
12680 hardcode_minus_L_GO
=yes
12686 export_dynamic_flag_spec_GO
=-rdynamic
12689 cygwin
* | mingw
* | pw32
* | cegcc
*)
12690 # When not using gcc, we currently assume that we are using
12691 # Microsoft Visual C++.
12692 # hardcode_libdir_flag_spec is actually meaningless, as there is
12693 # no search path for DLLs.
12694 hardcode_libdir_flag_spec_GO
=' '
12695 allow_undefined_flag_GO
=unsupported
12696 # Tell ltmain to make .lib files, not .a files.
12698 # Tell ltmain to make .dll files, not .so files.
12700 # FIXME: Setting linknames here is a bad hack.
12701 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12702 # The linker will automatically build a .lib file if we build a DLL.
12703 old_archive_from_new_cmds_GO
='true'
12704 # FIXME: Should let the user specify the lib program.
12705 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12706 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12707 enable_shared_with_static_runtimes_GO
=yes
12710 darwin
* | rhapsody
*)
12713 archive_cmds_need_lc_GO
=no
12714 hardcode_direct_GO
=no
12715 hardcode_automatic_GO
=yes
12716 hardcode_shlibpath_var_GO
=unsupported
12717 if test "$lt_cv_ld_force_load" = "yes"; then
12718 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\"`'
12720 whole_archive_flag_spec_GO
=''
12722 link_all_deplibs_GO
=yes
12723 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12724 case $cc_basename in
12725 ifort
*) _lt_dar_can_shared
=yes ;;
12726 *) _lt_dar_can_shared
=$GCC ;;
12728 if test "$_lt_dar_can_shared" = "yes"; then
12729 output_verbose_link_cmd
=func_echo_all
12730 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}"
12731 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12732 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}"
12733 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}"
12742 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12743 hardcode_libdir_flag_spec_GO
='-L$libdir'
12744 hardcode_shlibpath_var_GO
=no
12747 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12748 # support. Future versions do this automatically, but an explicit c++rt0.o
12749 # does not break anything, and helps significantly (at the cost of a little
12752 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12753 hardcode_libdir_flag_spec_GO
='-R$libdir'
12754 hardcode_direct_GO
=yes
12755 hardcode_shlibpath_var_GO
=no
12758 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12760 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12761 hardcode_direct_GO
=yes
12762 hardcode_minus_L_GO
=yes
12763 hardcode_shlibpath_var_GO
=no
12766 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12767 freebsd
* | dragonfly
*)
12768 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12769 hardcode_libdir_flag_spec_GO
='-R$libdir'
12770 hardcode_direct_GO
=yes
12771 hardcode_shlibpath_var_GO
=no
12775 if test "$GCC" = yes; then
12776 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'
12778 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'
12780 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12781 hardcode_libdir_separator_GO
=:
12782 hardcode_direct_GO
=yes
12784 # hardcode_minus_L: Not really in the search PATH,
12785 # but as the default location of the library.
12786 hardcode_minus_L_GO
=yes
12787 export_dynamic_flag_spec_GO
='${wl}-E'
12791 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12792 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12794 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12796 if test "$with_gnu_ld" = no
; then
12797 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12798 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12799 hardcode_libdir_separator_GO
=:
12800 hardcode_direct_GO
=yes
12801 hardcode_direct_absolute_GO
=yes
12802 export_dynamic_flag_spec_GO
='${wl}-E'
12803 # hardcode_minus_L: Not really in the search PATH,
12804 # but as the default location of the library.
12805 hardcode_minus_L_GO
=yes
12810 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12813 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12816 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12819 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12825 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12828 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12831 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12835 if test "$with_gnu_ld" = no
; then
12836 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12837 hardcode_libdir_separator_GO
=:
12841 hardcode_direct_GO
=no
12842 hardcode_shlibpath_var_GO
=no
12845 hardcode_direct_GO
=yes
12846 hardcode_direct_absolute_GO
=yes
12847 export_dynamic_flag_spec_GO
='${wl}-E'
12849 # hardcode_minus_L: Not really in the search PATH,
12850 # but as the default location of the library.
12851 hardcode_minus_L_GO
=yes
12857 irix5
* | irix6
* | nonstopux
*)
12858 if test "$GCC" = yes; then
12859 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'
12860 # Try to use the -exported_symbol ld option, if it does not
12861 # work, assume that -exports_file does not work either and
12862 # implicitly export all symbols.
12863 save_LDFLAGS
="$LDFLAGS"
12864 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12869 if ac_fn_c_try_link
"$LINENO"; then :
12870 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'
12873 rm -f core conftest.err conftest.
$ac_objext \
12874 conftest
$ac_exeext conftest.
$ac_ext
12875 LDFLAGS
="$save_LDFLAGS"
12877 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'
12878 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'
12880 archive_cmds_need_lc_GO
='no'
12881 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12882 hardcode_libdir_separator_GO
=:
12883 inherit_rpath_GO
=yes
12884 link_all_deplibs_GO
=yes
12888 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12889 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12891 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12893 hardcode_libdir_flag_spec_GO
='-R$libdir'
12894 hardcode_direct_GO
=yes
12895 hardcode_shlibpath_var_GO
=no
12899 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12900 hardcode_direct_GO
=yes
12901 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12902 hardcode_libdir_separator_GO
=:
12903 hardcode_shlibpath_var_GO
=no
12910 if test -f /usr
/libexec
/ld.so
; then
12911 hardcode_direct_GO
=yes
12912 hardcode_shlibpath_var_GO
=no
12913 hardcode_direct_absolute_GO
=yes
12914 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12915 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12916 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12917 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12918 export_dynamic_flag_spec_GO
='${wl}-E'
12921 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12922 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12923 hardcode_libdir_flag_spec_GO
='-R$libdir'
12926 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12927 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12937 hardcode_libdir_flag_spec_GO
='-L$libdir'
12938 hardcode_minus_L_GO
=yes
12939 allow_undefined_flag_GO
=unsupported
12940 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'
12941 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12945 if test "$GCC" = yes; then
12946 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12947 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'
12949 allow_undefined_flag_GO
=' -expect_unresolved \*'
12950 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'
12952 archive_cmds_need_lc_GO
='no'
12953 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12954 hardcode_libdir_separator_GO
=:
12957 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12958 if test "$GCC" = yes; then
12959 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12960 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'
12961 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12963 allow_undefined_flag_GO
=' -expect_unresolved \*'
12964 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'
12965 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~
12966 $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'
12968 # Both c and cxx compiler support -rpath directly
12969 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12971 archive_cmds_need_lc_GO
='no'
12972 hardcode_libdir_separator_GO
=:
12976 no_undefined_flag_GO
=' -z defs'
12977 if test "$GCC" = yes; then
12979 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12980 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12981 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12983 case `$CC -V 2>&1` in
12986 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12987 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12988 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12992 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12993 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12994 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12998 hardcode_libdir_flag_spec_GO
='-R$libdir'
12999 hardcode_shlibpath_var_GO
=no
13001 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13003 # The compiler driver will combine and reorder linker options,
13004 # but understands `-z linker_flag'. GCC discards it without `$wl',
13005 # but is careful enough not to reorder.
13006 # Supported since Solaris 2.6 (maybe 2.5.1?)
13007 if test "$GCC" = yes; then
13008 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13010 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
13014 link_all_deplibs_GO
=yes
13018 if test "x$host_vendor" = xsequent
; then
13019 # Use $CC to link under sequent, because it throws in some extra .o
13020 # files that make .init and .fini sections work.
13021 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13023 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13025 hardcode_libdir_flag_spec_GO
='-L$libdir'
13026 hardcode_direct_GO
=yes
13027 hardcode_minus_L_GO
=yes
13028 hardcode_shlibpath_var_GO
=no
13032 case $host_vendor in
13034 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13035 hardcode_direct_GO
=yes # is this really true???
13038 ## LD is ld it makes a PLAMLIB
13039 ## CC just makes a GrossModule.
13040 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13041 reload_cmds_GO
='$CC -r -o $output$reload_objs'
13042 hardcode_direct_GO
=no
13045 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
13049 runpath_var
='LD_RUN_PATH'
13050 hardcode_shlibpath_var_GO
=no
13054 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13055 hardcode_shlibpath_var_GO
=no
13056 export_dynamic_flag_spec_GO
='-Bexport'
13060 if test -d /usr
/nec
; then
13061 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13062 hardcode_shlibpath_var_GO
=no
13063 runpath_var
=LD_RUN_PATH
13064 hardcode_runpath_var
=yes
13069 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13070 no_undefined_flag_GO
='${wl}-z,text'
13071 archive_cmds_need_lc_GO
=no
13072 hardcode_shlibpath_var_GO
=no
13073 runpath_var
='LD_RUN_PATH'
13075 if test "$GCC" = yes; then
13076 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13077 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13079 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13080 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13084 sysv5
* | sco3.2v5
* | sco5v6
*)
13085 # Note: We can NOT use -z defs as we might desire, because we do not
13086 # link with -lc, and that would cause any symbols used from libc to
13087 # always be unresolved, which means just about no library would
13088 # ever link correctly. If we're not using GNU ld we use -z text
13089 # though, which does catch some bad symbols but isn't as heavy-handed
13091 no_undefined_flag_GO
='${wl}-z,text'
13092 allow_undefined_flag_GO
='${wl}-z,nodefs'
13093 archive_cmds_need_lc_GO
=no
13094 hardcode_shlibpath_var_GO
=no
13095 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
13096 hardcode_libdir_separator_GO
=':'
13097 link_all_deplibs_GO
=yes
13098 export_dynamic_flag_spec_GO
='${wl}-Bexport'
13099 runpath_var
='LD_RUN_PATH'
13101 if test "$GCC" = yes; then
13102 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13112 hardcode_libdir_flag_spec_GO
='-L$libdir'
13113 hardcode_shlibpath_var_GO
=no
13121 if test x
$host_vendor = xsni
; then
13123 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13124 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
13131 $as_echo "$ld_shlibs_GO" >&6; }
13132 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
13134 with_gnu_ld_GO
=$with_gnu_ld
13142 # Do we need to explicitly link libc?
13144 case "x$archive_cmds_need_lc_GO" in
13146 # Assume -lc should be added
13147 archive_cmds_need_lc_GO
=yes
13149 if test "$enable_shared" = yes && test "$GCC" = yes; then
13150 case $archive_cmds_GO in
13152 # FIXME: we may have to deal with multi-command sequences.
13155 # Test whether the compiler implicitly links with -lc since on some
13156 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13157 # to ld, don't add -lc before -lgcc.
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13159 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13160 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
13161 $as_echo_n "(cached) " >&6
13164 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13167 (eval $ac_compile) 2>&5
13169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13170 test $ac_status = 0; } 2>conftest.err
; then
13173 libobjs
=conftest.
$ac_objext
13175 wl
=$lt_prog_compiler_wl_GO
13176 pic_flag
=$lt_prog_compiler_pic_GO
13182 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
13183 allow_undefined_flag_GO
=
13184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13185 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13188 test $ac_status = 0; }
13190 lt_cv_archive_cmds_need_lc_GO
=no
13192 lt_cv_archive_cmds_need_lc_GO
=yes
13194 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
13196 cat conftest.err
1>&5
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
13202 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
13203 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13274 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13275 hardcode_action_GO
=
13276 if test -n "$hardcode_libdir_flag_spec_GO" ||
13277 test -n "$runpath_var_GO" ||
13278 test "X$hardcode_automatic_GO" = "Xyes" ; then
13280 # We can hardcode non-existent directories.
13281 if test "$hardcode_direct_GO" != no
&&
13282 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13283 # have to relink, otherwise we might link with an installed library
13284 # when we should be linking with a yet-to-be-installed one
13285 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13286 test "$hardcode_minus_L_GO" != no
; then
13287 # Linking always hardcodes the temporary library directory.
13288 hardcode_action_GO
=relink
13290 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13291 hardcode_action_GO
=immediate
13294 # We cannot hardcode anything, or else we can only hardcode existing
13296 hardcode_action_GO
=unsupported
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13299 $as_echo "$hardcode_action_GO" >&6; }
13301 if test "$hardcode_action_GO" = relink ||
13302 test "$inherit_rpath_GO" = yes; then
13303 # Fast installation is not supported
13304 enable_fast_install
=no
13305 elif test "$shlibpath_overrides_runpath" = yes ||
13306 test "$enable_shared" = no
; then
13307 # Fast installation is not necessary
13308 enable_fast_install
=needless
13320 ac_cpp
='$CPP $CPPFLAGS'
13321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13332 ac_config_commands
="$ac_config_commands libtool"
13337 # Only expand once:
13343 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
13346 for ac_prog
in gawk mawk nawk
awk
13348 # Extract the first word of "$ac_prog", so it can be a program name with args.
13349 set dummy
$ac_prog; ac_word
=$2
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13351 $as_echo_n "checking for $ac_word... " >&6; }
13352 if test "${ac_cv_prog_AWK+set}" = set; then :
13353 $as_echo_n "(cached) " >&6
13355 if test -n "$AWK"; then
13356 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13359 for as_dir
in $PATH
13362 test -z "$as_dir" && as_dir
=.
13363 for ac_exec_ext
in '' $ac_executable_extensions; do
13364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13365 ac_cv_prog_AWK
="$ac_prog"
13366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13375 AWK
=$ac_cv_prog_AWK
13376 if test -n "$AWK"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13378 $as_echo "$AWK" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13381 $as_echo "no" >&6; }
13385 test -n "$AWK" && break
13389 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13392 # Check whether --enable-werror was given.
13393 if test "${enable_werror+set}" = set; then :
13394 enableval
=$enable_werror;
13397 if test "x$enable_werror" != "xno"; then
13402 glibgo_toolexecdir
=no
13403 glibgo_toolexeclibdir
=no
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13406 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13407 # Check whether --enable-version-specific-runtime-libs was given.
13408 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13409 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13410 yes) version_specific_libs
=yes ;;
13411 no
) version_specific_libs
=no
;;
13412 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13415 version_specific_libs
=no
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13419 $as_echo "$version_specific_libs" >&6; }
13421 # Version-specific runtime libs processing.
13422 if test $version_specific_libs = yes; then
13423 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13424 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13427 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13428 # Install a library built with a cross compiler in tooldir, not libdir.
13429 if test -n "$with_cross_host" &&
13430 test x
"$with_cross_host" != x
"no"; then
13431 nover_glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13432 nover_glibgo_toolexeclibdir
='${toolexecdir}/lib'
13434 nover_glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13435 nover_glibgo_toolexeclibdir
='${libdir}'
13437 multi_os_directory
=`$CC -print-multi-os-directory`
13438 case $multi_os_directory in
13439 .
) ;; # Avoid trailing /.
13440 *) nover_glibgo_toolexeclibdir
=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
13443 if test x
"$glibgo_toolexecdir" = x
"no"; then
13444 glibgo_toolexecdir
="${nover_glibgo_toolexecdir}"
13445 glibgo_toolexeclibdir
="${nover_glibgo_toolexeclibdir}"
13452 # See if the user wants to configure without libffi. Some
13453 # architectures don't support it. FIXME: We should set a default
13454 # based on the host.
13456 # Check whether --with-libffi was given.
13457 if test "${with_libffi+set}" = set; then :
13458 withval
=$with_libffi; :
13460 with_libffi
=${with_libffi_default-yes}
13466 if test "$with_libffi" != no
; then
13468 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13470 LIBFFI
=..
/libffi
/libffi_convenience.la
13471 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13476 # Used to tell GNU make to include a file without telling automake to
13478 go_include
="-include"
13491 *-*-darwin*) is_darwin
=yes; GOOS
=darwin
;;
13492 *-*-freebsd*) is_freebsd
=yes; GOOS
=freebsd
;;
13493 *-*-irix6*) is_irix
=yes; GOOS
=irix
;;
13494 *-*-linux*) is_linux
=yes; GOOS
=linux
;;
13495 *-*-netbsd*) is_netbsd
=yes; GOOS
=netbsd
;;
13496 *-*-openbsd*) is_openbsd
=yes; GOOS
=openbsd
;;
13497 *-*-rtems*) is_rtems
=yes; GOOS
=rtems
;;
13498 *-*-solaris2*) is_solaris
=yes; GOOS
=solaris
;;
13500 if test $is_darwin = yes; then
13501 LIBGO_IS_DARWIN_TRUE
=
13502 LIBGO_IS_DARWIN_FALSE
='#'
13504 LIBGO_IS_DARWIN_TRUE
='#'
13505 LIBGO_IS_DARWIN_FALSE
=
13508 if test $is_freebsd = yes; then
13509 LIBGO_IS_FREEBSD_TRUE
=
13510 LIBGO_IS_FREEBSD_FALSE
='#'
13512 LIBGO_IS_FREEBSD_TRUE
='#'
13513 LIBGO_IS_FREEBSD_FALSE
=
13516 if test $is_irix = yes; then
13517 LIBGO_IS_IRIX_TRUE
=
13518 LIBGO_IS_IRIX_FALSE
='#'
13520 LIBGO_IS_IRIX_TRUE
='#'
13521 LIBGO_IS_IRIX_FALSE
=
13524 if test $is_linux = yes; then
13525 LIBGO_IS_LINUX_TRUE
=
13526 LIBGO_IS_LINUX_FALSE
='#'
13528 LIBGO_IS_LINUX_TRUE
='#'
13529 LIBGO_IS_LINUX_FALSE
=
13532 if test $is_netbsd = yes; then
13533 LIBGO_IS_NETBSD_TRUE
=
13534 LIBGO_IS_NETBSD_FALSE
='#'
13536 LIBGO_IS_NETBSD_TRUE
='#'
13537 LIBGO_IS_NETBSD_FALSE
=
13540 if test $is_openbsd = yes; then
13541 LIBGO_IS_OPENBSD_TRUE
=
13542 LIBGO_IS_OPENBSD_FALSE
='#'
13544 LIBGO_IS_OPENBSD_TRUE
='#'
13545 LIBGO_IS_OPENBSD_FALSE
=
13548 if test $is_rtems = yes; then
13549 LIBGO_IS_RTEMS_TRUE
=
13550 LIBGO_IS_RTEMS_FALSE
='#'
13552 LIBGO_IS_RTEMS_TRUE
='#'
13553 LIBGO_IS_RTEMS_FALSE
=
13556 if test $is_solaris = yes; then
13557 LIBGO_IS_SOLARIS_TRUE
=
13558 LIBGO_IS_SOLARIS_FALSE
='#'
13560 LIBGO_IS_SOLARIS_TRUE
='#'
13561 LIBGO_IS_SOLARIS_FALSE
=
13568 *-*-rtems*) USE_DEJAGNU
=yes ;;
13570 *) USE_DEJAGNU
=yes ;;
13590 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13594 i
[34567]86-*-* | x86_64-
*-*)
13595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13602 if ac_fn_c_try_compile
"$LINENO"; then :
13607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13608 if test "$is_386" = "yes"; then
13619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13622 #if _MIPS_SIM != _ABIO32
13626 if ac_fn_c_try_compile
"$LINENO"; then :
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13632 #if _MIPS_SIM != _ABIN32
13636 if ac_fn_c_try_compile
"$LINENO"; then :
13639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13642 #if _MIPS_SIM != _ABI64
13646 if ac_fn_c_try_compile
"$LINENO"; then :
13649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13650 /* end confdefs.h. */
13652 #if _MIPS_SIM != _ABIO64
13656 if ac_fn_c_try_compile
"$LINENO"; then :
13659 as_fn_error
"unknown MIPS ABI" "$LINENO" 5
13662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13669 case "$mips_abi" in
13670 "o32") GOARCH
=mipso32
;;
13671 "n32") GOARCH
=mipsn32
;;
13672 "n64") GOARCH
=mipsn64
;;
13673 "o64") GOARCH
=mipso64
;;
13676 rs6000
*-*-* | powerpc
*-*-*)
13677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13678 /* end confdefs.h. */
13684 if ac_fn_c_try_compile
"$LINENO"; then :
13689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13690 if test "$is_ppc" = "yes"; then
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 #if defined(__sparcv9) || defined(__arch64__)
13704 if ac_fn_c_try_compile
"$LINENO"; then :
13709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 if test "$is_sparc" = "yes"; then
13717 if test $is_386 = yes; then
13719 LIBGO_IS_386_FALSE
='#'
13721 LIBGO_IS_386_TRUE
='#'
13722 LIBGO_IS_386_FALSE
=
13725 if test $is_alpha = yes; then
13726 LIBGO_IS_ALPHA_TRUE
=
13727 LIBGO_IS_ALPHA_FALSE
='#'
13729 LIBGO_IS_ALPHA_TRUE
='#'
13730 LIBGO_IS_ALPHA_FALSE
=
13733 if test $is_arm = yes; then
13735 LIBGO_IS_ARM_FALSE
='#'
13737 LIBGO_IS_ARM_TRUE
='#'
13738 LIBGO_IS_ARM_FALSE
=
13741 if test $is_m68k = yes; then
13742 LIBGO_IS_M68K_TRUE
=
13743 LIBGO_IS_M68K_FALSE
='#'
13745 LIBGO_IS_M68K_TRUE
='#'
13746 LIBGO_IS_M68K_FALSE
=
13749 if test $mips_abi != unknown
; then
13750 LIBGO_IS_MIPS_TRUE
=
13751 LIBGO_IS_MIPS_FALSE
='#'
13753 LIBGO_IS_MIPS_TRUE
='#'
13754 LIBGO_IS_MIPS_FALSE
=
13757 if test $mips_abi = o32
; then
13758 LIBGO_IS_MIPSO32_TRUE
=
13759 LIBGO_IS_MIPSO32_FALSE
='#'
13761 LIBGO_IS_MIPSO32_TRUE
='#'
13762 LIBGO_IS_MIPSO32_FALSE
=
13765 if test $mips_abi = n32
; then
13766 LIBGO_IS_MIPSN32_TRUE
=
13767 LIBGO_IS_MIPSN32_FALSE
='#'
13769 LIBGO_IS_MIPSN32_TRUE
='#'
13770 LIBGO_IS_MIPSN32_FALSE
=
13773 if test $mips_abi = n64
; then
13774 LIBGO_IS_MIPSN64_TRUE
=
13775 LIBGO_IS_MIPSN64_FALSE
='#'
13777 LIBGO_IS_MIPSN64_TRUE
='#'
13778 LIBGO_IS_MIPSN64_FALSE
=
13781 if test $mips_abi = o64
; then
13782 LIBGO_IS_MIPSO64_TRUE
=
13783 LIBGO_IS_MIPSO64_FALSE
='#'
13785 LIBGO_IS_MIPSO64_TRUE
='#'
13786 LIBGO_IS_MIPSO64_FALSE
=
13789 if test $is_ppc = yes; then
13791 LIBGO_IS_PPC_FALSE
='#'
13793 LIBGO_IS_PPC_TRUE
='#'
13794 LIBGO_IS_PPC_FALSE
=
13797 if test $is_ppc64 = yes; then
13798 LIBGO_IS_PPC64_TRUE
=
13799 LIBGO_IS_PPC64_FALSE
='#'
13801 LIBGO_IS_PPC64_TRUE
='#'
13802 LIBGO_IS_PPC64_FALSE
=
13805 if test $is_sparc = yes; then
13806 LIBGO_IS_SPARC_TRUE
=
13807 LIBGO_IS_SPARC_FALSE
='#'
13809 LIBGO_IS_SPARC_TRUE
='#'
13810 LIBGO_IS_SPARC_FALSE
=
13813 if test $is_sparc64 = yes; then
13814 LIBGO_IS_SPARC64_TRUE
=
13815 LIBGO_IS_SPARC64_FALSE
='#'
13817 LIBGO_IS_SPARC64_TRUE
='#'
13818 LIBGO_IS_SPARC64_FALSE
=
13821 if test $is_x86_64 = yes; then
13822 LIBGO_IS_X86_64_TRUE
=
13823 LIBGO_IS_X86_64_FALSE
='#'
13825 LIBGO_IS_X86_64_TRUE
='#'
13826 LIBGO_IS_X86_64_FALSE
=
13831 GO_LIBCALL_OS_FILE
=
13832 GO_LIBCALL_OS_ARCH_FILE
=
13833 GO_SYSCALL_OS_FILE
=
13834 GO_SYSCALL_OS_ARCH_FILE
=
13835 if test -f ${srcdir}/go
/syscall
/libcall_
${GOOS}.go
; then
13836 GO_LIBCALL_OS_FILE
=go
/syscall
/libcall_
${GOOS}.go
13838 if test -f ${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go
; then
13839 GO_LIBCALL_OS_ARCH_FILE
=go
/syscall
/libcall_
${GOOS}_
${GOARCH}.go
13841 if test -f ${srcdir}/go
/syscall
/syscall_
${GOOS}.go
; then
13842 GO_SYSCALL_OS_FILE
=go
/syscall
/syscall_
${GOOS}.go
13844 if test -f ${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go
; then
13845 GO_SYSCALL_OS_ARCH_FILE
=go
/syscall
/syscall_
${GOOS}_
${GOARCH}.go
13852 OSCFLAGS
="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
13855 # IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
13856 # msghdr in <sys/socket.h>.
13857 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500"
13860 # Solaris 8/9 need this so struct msghdr gets the msg_control
13861 # etc. fields in <sys/socket.h> (_XPG4_2).
13862 OSCFLAGS
="$OSCFLAGS -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__"
13864 *-*-solaris2.1
[01])
13865 # Solaris 10+ needs this so struct msghdr gets the msg_control
13866 # etc. fields in <sys/socket.h> (_XPG4_2). _XOPEN_SOURCE=600 as
13867 # above doesn't work with C99.
13868 OSCFLAGS
="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13874 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13875 if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
13876 $as_echo_n "(cached) " >&6
13878 CFLAGS_hold
=$CFLAGS
13879 CFLAGS
="$CFLAGS -fsplit-stack"
13880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13884 if ac_fn_c_try_compile
"$LINENO"; then :
13885 libgo_cv_c_split_stack_supported
=yes
13887 libgo_cv_c_split_stack_supported
=no
13889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13890 CFLAGS
=$CFLAGS_hold
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
13893 $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
13894 if test "$libgo_cv_c_split_stack_supported" = yes; then
13895 SPLIT_STACK
=-fsplit-stack
13897 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13903 if test "$libgo_cv_c_split_stack_supported" = yes; then
13904 USING_SPLIT_STACK_TRUE
=
13905 USING_SPLIT_STACK_FALSE
='#'
13907 USING_SPLIT_STACK_TRUE
='#'
13908 USING_SPLIT_STACK_FALSE
=
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13913 $as_echo_n "checking whether linker supports split stack... " >&6; }
13914 if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
13915 $as_echo_n "(cached) " >&6
13917 libgo_cv_c_linker_supports_split_stack
=no
13918 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13919 libgo_cv_c_linker_supports_split_stack
=yes
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
13923 $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
13924 if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
13926 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
13932 $as_echo_n "checking for sqrt in -lm... " >&6; }
13933 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
13934 $as_echo_n "(cached) " >&6
13936 ac_check_lib_save_LIBS
=$LIBS
13938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13941 /* Override any GCC internal prototype to avoid an error.
13942 Use char because int might match the return type of a GCC
13943 builtin and then its argument prototype would still apply. */
13956 if ac_fn_c_try_link
"$LINENO"; then :
13957 ac_cv_lib_m_sqrt
=yes
13959 ac_cv_lib_m_sqrt
=no
13961 rm -f core conftest.err conftest.
$ac_objext \
13962 conftest
$ac_exeext conftest.
$ac_ext
13963 LIBS
=$ac_check_lib_save_LIBS
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
13966 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
13967 if test "x$ac_cv_lib_m_sqrt" = x
""yes; then :
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
13974 $as_echo_n "checking for socket libraries... " >&6; }
13975 if test "${libgo_cv_lib_sockets+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13978 libgo_cv_lib_sockets
=
13979 libgo_check_both
=no
13980 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
13981 if test "x$ac_cv_func_connect" = x
""yes; then :
13982 libgo_check_socket
=no
13984 libgo_check_socket
=yes
13987 if test "$libgo_check_socket" = "yes"; then
13988 unset ac_cv_func_connect
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
13990 $as_echo_n "checking for main in -lsocket... " >&6; }
13991 if test "${ac_cv_lib_socket_main+set}" = set; then :
13992 $as_echo_n "(cached) " >&6
13994 ac_check_lib_save_LIBS
=$LIBS
13995 LIBS
="-lsocket $LIBS"
13996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
14008 if ac_fn_c_try_link
"$LINENO"; then :
14009 ac_cv_lib_socket_main
=yes
14011 ac_cv_lib_socket_main
=no
14013 rm -f core conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 LIBS
=$ac_check_lib_save_LIBS
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14018 $as_echo "$ac_cv_lib_socket_main" >&6; }
14019 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
14020 libgo_cv_lib_sockets
="-lsocket"
14022 libgo_check_both
=yes
14026 if test "$libgo_check_both" = "yes"; then
14027 libgo_old_libs
=$LIBS
14028 LIBS
="$LIBS -lsocket -lnsl"
14029 unset ac_cv_func_accept
14030 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14031 if test "x$ac_cv_func_accept" = x
""yes; then :
14033 libgo_cv_lib_sockets
="-lsocket -lnsl"
14036 unset ac_cv_func_accept
14037 LIBS
=$libgo_old_libs
14039 unset ac_cv_func_gethostbyname
14040 libgo_old_libs
="$LIBS"
14041 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14042 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14046 $as_echo_n "checking for main in -lnsl... " >&6; }
14047 if test "${ac_cv_lib_nsl_main+set}" = set; then :
14048 $as_echo_n "(cached) " >&6
14050 ac_check_lib_save_LIBS
=$LIBS
14052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14064 if ac_fn_c_try_link
"$LINENO"; then :
14065 ac_cv_lib_nsl_main
=yes
14067 ac_cv_lib_nsl_main
=no
14069 rm -f core conftest.err conftest.
$ac_objext \
14070 conftest
$ac_exeext conftest.
$ac_ext
14071 LIBS
=$ac_check_lib_save_LIBS
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14074 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14075 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
14076 libgo_cv_lib_sockets
="$libgo_cv_lib_sockets -lnsl"
14081 unset ac_cv_func_gethostbyname
14082 LIBS
=$libgo_old_libs
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
14086 $as_echo "$libgo_cv_lib_sockets" >&6; }
14087 NET_LIBS
="$libgo_cv_lib_sockets"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
14091 $as_echo_n "checking whether -pthread is supported... " >&6; }
14092 if test "${libgo_cv_lib_pthread+set}" = set; then :
14093 $as_echo_n "(cached) " >&6
14095 CFLAGS_hold
=$CFLAGS
14096 CFLAGS
="$CFLAGS -pthread"
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14101 if ac_fn_c_try_compile
"$LINENO"; then :
14102 libgo_cv_lib_pthread
=yes
14104 libgo_cv_lib_pthread
=no
14106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14107 CFLAGS
=$CFLAGS_hold
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
14110 $as_echo "$libgo_cv_lib_pthread" >&6; }
14112 if test "$libgo_cv_lib_pthread" = yes; then
14113 PTHREAD_CFLAGS
=-pthread
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
14119 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
14120 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
14121 $as_echo_n "(cached) " >&6
14123 ac_check_lib_save_LIBS
=$LIBS
14124 LIBS
="-lpthread $LIBS"
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14134 char pthread_create ();
14138 return pthread_create ();
14143 if ac_fn_c_try_link
"$LINENO"; then :
14144 ac_cv_lib_pthread_pthread_create
=yes
14146 ac_cv_lib_pthread_pthread_create
=no
14148 rm -f core conftest.err conftest.
$ac_objext \
14149 conftest
$ac_exeext conftest.
$ac_ext
14150 LIBS
=$ac_check_lib_save_LIBS
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
14153 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
14154 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
14155 PTHREAD_LIBS
=-lpthread
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
14161 $as_echo_n "checking for library containing sched_yield... " >&6; }
14162 if test "${ac_cv_search_sched_yield+set}" = set; then :
14163 $as_echo_n "(cached) " >&6
14165 ac_func_search_save_LIBS
=$LIBS
14166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14169 /* Override any GCC internal prototype to avoid an error.
14170 Use char because int might match the return type of a GCC
14171 builtin and then its argument prototype would still apply. */
14175 char sched_yield ();
14179 return sched_yield ();
14184 for ac_lib
in '' rt
; do
14185 if test -z "$ac_lib"; then
14186 ac_res
="none required"
14189 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14191 if ac_fn_c_try_link
"$LINENO"; then :
14192 ac_cv_search_sched_yield
=$ac_res
14194 rm -f core conftest.err conftest.
$ac_objext \
14196 if test "${ac_cv_search_sched_yield+set}" = set; then :
14200 if test "${ac_cv_search_sched_yield+set}" = set; then :
14203 ac_cv_search_sched_yield
=no
14205 rm conftest.
$ac_ext
14206 LIBS
=$ac_func_search_save_LIBS
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
14209 $as_echo "$ac_cv_search_sched_yield" >&6; }
14210 ac_res
=$ac_cv_search_sched_yield
14211 if test "$ac_res" != no
; then :
14212 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
14217 $as_echo_n "checking for library containing nanosleep... " >&6; }
14218 if test "${ac_cv_search_nanosleep+set}" = set; then :
14219 $as_echo_n "(cached) " >&6
14221 ac_func_search_save_LIBS
=$LIBS
14222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14225 /* Override any GCC internal prototype to avoid an error.
14226 Use char because int might match the return type of a GCC
14227 builtin and then its argument prototype would still apply. */
14235 return nanosleep ();
14240 for ac_lib
in '' rt
; do
14241 if test -z "$ac_lib"; then
14242 ac_res
="none required"
14245 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14247 if ac_fn_c_try_link
"$LINENO"; then :
14248 ac_cv_search_nanosleep
=$ac_res
14250 rm -f core conftest.err conftest.
$ac_objext \
14252 if test "${ac_cv_search_nanosleep+set}" = set; then :
14256 if test "${ac_cv_search_nanosleep+set}" = set; then :
14259 ac_cv_search_nanosleep
=no
14261 rm conftest.
$ac_ext
14262 LIBS
=$ac_func_search_save_LIBS
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
14265 $as_echo "$ac_cv_search_nanosleep" >&6; }
14266 ac_res
=$ac_cv_search_nanosleep
14267 if test "$ac_res" != no
; then :
14268 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14274 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14275 if test "${ac_cv_c_bigendian+set}" = set; then :
14276 $as_echo_n "(cached) " >&6
14278 ac_cv_c_bigendian
=unknown
14279 # See if we're dealing with a universal compiler.
14280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 #ifndef __APPLE_CC__
14283 not a universal capable compiler
14288 if ac_fn_c_try_compile
"$LINENO"; then :
14290 # Check for potential -arch flags. It is not universal unless
14291 # there are at least two -arch flags with different values.
14294 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14295 if test -n "$ac_prev"; then
14297 i?
86 | x86_64 | ppc | ppc64
)
14298 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
14301 ac_cv_c_bigendian
=universal
14307 elif test "x$ac_word" = "x-arch"; then
14312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14313 if test $ac_cv_c_bigendian = unknown
; then
14314 # See if sys/param.h defines the BYTE_ORDER macro.
14315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14317 #include <sys/types.h>
14318 #include <sys/param.h>
14323 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14324 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14326 bogus endian macros
14333 if ac_fn_c_try_compile
"$LINENO"; then :
14334 # It does; now see whether it defined to BIG_ENDIAN or not.
14335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 #include <sys/types.h>
14338 #include <sys/param.h>
14343 #if BYTE_ORDER != BIG_ENDIAN
14351 if ac_fn_c_try_compile
"$LINENO"; then :
14352 ac_cv_c_bigendian
=yes
14354 ac_cv_c_bigendian
=no
14356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14360 if test $ac_cv_c_bigendian = unknown
; then
14361 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 #include <limits.h>
14369 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14370 bogus endian macros
14377 if ac_fn_c_try_compile
"$LINENO"; then :
14378 # It does; now see whether it defined to _BIG_ENDIAN or not.
14379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14380 /* end confdefs.h. */
14381 #include <limits.h>
14386 #ifndef _BIG_ENDIAN
14394 if ac_fn_c_try_compile
"$LINENO"; then :
14395 ac_cv_c_bigendian
=yes
14397 ac_cv_c_bigendian
=no
14399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14403 if test $ac_cv_c_bigendian = unknown
; then
14404 # Compile a test program.
14405 if test "$cross_compiling" = yes; then :
14406 # Try to guess by grepping values from an object file.
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 short int ascii_mm[] =
14410 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14411 short int ascii_ii[] =
14412 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14413 int use_ascii (int i) {
14414 return ascii_mm[i] + ascii_ii[i];
14416 short int ebcdic_ii[] =
14417 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14418 short int ebcdic_mm[] =
14419 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14420 int use_ebcdic (int i) {
14421 return ebcdic_mm[i] + ebcdic_ii[i];
14428 return use_ascii (foo) == use_ebcdic (foo);
14433 if ac_fn_c_try_compile
"$LINENO"; then :
14434 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14435 ac_cv_c_bigendian
=yes
14437 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14438 if test "$ac_cv_c_bigendian" = unknown
; then
14439 ac_cv_c_bigendian
=no
14441 # finding both strings is unlikely to happen, but who knows?
14442 ac_cv_c_bigendian
=unknown
14446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 $ac_includes_default
14455 /* Are we little or big endian? From Harbison&Steele. */
14459 char c[sizeof (long int)];
14462 return u.c[sizeof (long int) - 1] == 1;
14468 if ac_fn_c_try_run
"$LINENO"; then :
14469 ac_cv_c_bigendian
=no
14471 ac_cv_c_bigendian
=yes
14473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14474 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14480 $as_echo "$ac_cv_c_bigendian" >&6; }
14481 case $ac_cv_c_bigendian in #(
14483 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14489 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14493 as_fn_error
"unknown endianness
14494 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14500 # Check whether --with-system-libunwind was given.
14501 if test "${with_system_libunwind+set}" = set; then :
14502 withval
=$with_system_libunwind;
14505 # If system-libunwind was not specifically set, pick a default setting.
14506 if test x
$with_system_libunwind = x
; then
14508 ia64-
*-hpux*) with_system_libunwind
=yes ;;
14509 *) with_system_libunwind
=no
;;
14512 # Based on system-libunwind and target, do we have ipinfo?
14513 if test x
$with_system_libunwind = xyes
; then
14515 ia64-
*-*) have_unwind_getipinfo
=no
;;
14516 *) have_unwind_getipinfo
=yes ;;
14519 # Darwin before version 9 does not have _Unwind_GetIPInfo.
14522 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
14523 *) have_unwind_getipinfo
=yes ;;
14528 if test x
$have_unwind_getipinfo = xyes
; then
14530 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
14535 # Check whether --enable-sjlj-exceptions was given.
14536 if test "${enable_sjlj_exceptions+set}" = set; then :
14537 enableval
=$enable_sjlj_exceptions; case "$enableval" in
14539 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
14542 enable_sjlj_exceptions
=auto
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
14547 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
14548 if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
14549 $as_echo_n "(cached) " >&6
14551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14555 void clean (int *);
14558 int i __attribute__ ((cleanup (clean)));
14563 CFLAGS_hold
=$CFLAGS
14564 CFLAGS
="--save-temps -fexceptions"
14565 libgo_cv_lib_sjlj_exceptions
=unknown
14566 if ac_fn_c_try_compile
; then :
14567 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
14568 libgo_cv_lib_sjlj_exceptions
=yes
14569 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
14570 libgo_cv_lib_sjlj_exceptions
=no
14573 CFLAGS
=$CFLAGS_hold
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
14578 $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
14580 if test "$enable_sjlj_exceptions" = "auto"; then
14581 enable_sjlj_exceptions
=$libgo_cv_lib_sjlj_exceptions
14584 case $enable_sjlj_exceptions in
14587 $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
14593 as_fn_error
"unable to detect exception model" "$LINENO" 5
14597 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
14599 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14600 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14601 eval as_val
=\$
$as_ac_Header
14602 if test "x$as_val" = x
""yes; then :
14603 cat >>confdefs.h
<<_ACEOF
14604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14612 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
14614 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14615 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
14616 #include <sys/socket.h>
14620 eval as_val
=\$
$as_ac_Header
14621 if test "x$as_val" = x
""yes; then :
14622 cat >>confdefs.h
<<_ACEOF
14623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
14632 $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
14633 if test "${libgo_cv_c_ustat_h+set}" = set; then :
14634 $as_echo_n "(cached) " >&6
14636 CFLAGS_hold
=$CFLAGS
14637 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
14638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 #include <sys/types.h>
14642 #ifdef HAVE_LINUX_FILTER_H
14643 #include <linux/filter.h>
14648 if ac_fn_c_try_compile
"$LINENO"; then :
14649 libgo_cv_c_ustat_h
=yes
14651 libgo_cv_c_ustat_h
=no
14653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14654 CFLAGS
=$CFLAGS_hold
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
14657 $as_echo "$libgo_cv_c_ustat_h" >&6; }
14658 if test $libgo_cv_c_ustat_h = yes; then
14660 $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
14664 if test "$ac_cv_header_sys_mman_h" = yes; then
14665 HAVE_SYS_MMAN_H_TRUE
=
14666 HAVE_SYS_MMAN_H_FALSE
='#'
14668 HAVE_SYS_MMAN_H_TRUE
='#'
14669 HAVE_SYS_MMAN_H_FALSE
=
14673 for ac_func
in strerror_r strsignal wait4 mincore setenv dl_iterate_phdr
14675 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14676 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14677 eval as_val
=\$
$as_ac_var
14678 if test "x$as_val" = x
""yes; then :
14679 cat >>confdefs.h
<<_ACEOF
14680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14686 if test "$ac_cv_func_strerror_r" = yes; then
14687 HAVE_STRERROR_R_TRUE
=
14688 HAVE_STRERROR_R_FALSE
='#'
14690 HAVE_STRERROR_R_TRUE
='#'
14691 HAVE_STRERROR_R_FALSE
=
14694 if test "$ac_cv_func_wait4" = yes; then
14696 HAVE_WAIT4_FALSE
='#'
14698 HAVE_WAIT4_TRUE
='#'
14703 for ac_func
in accept4 epoll_create1 faccessat fallocate fchmodat fchownat futimesat inotify_add_watch inotify_init inotify_init1 inotify_rm_watch mkdirat mknodat openat pipe2 renameat sync_file_range splice
tee unlinkat unshare utimensat
14705 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14706 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14707 eval as_val
=\$
$as_ac_var
14708 if test "x$as_val" = x
""yes; then :
14709 cat >>confdefs.h
<<_ACEOF
14710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14716 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14717 if test "x$ac_cv_type_off_t" = x
""yes; then :
14721 cat >>confdefs.h
<<_ACEOF
14722 #define off_t long int
14727 ac_fn_c_check_type
"$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
14728 if test "x$ac_cv_type_loff_t" = x
""yes; then :
14730 cat >>confdefs.h
<<_ACEOF
14731 #define HAVE_LOFF_T 1
14740 for ac_func
in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
14742 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14743 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14744 eval as_val
=\$
$as_ac_var
14745 if test "x$as_val" = x
""yes; then :
14746 cat >>confdefs.h
<<_ACEOF
14747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14755 CFLAGS_hold
="$CFLAGS"
14756 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
14758 LIBS
="$LIBS $PTHREAD_LIBS"
14759 for ac_func
in sem_timedwait
14761 ac_fn_c_check_func
"$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
14762 if test "x$ac_cv_func_sem_timedwait" = x
""yes; then :
14763 cat >>confdefs.h
<<_ACEOF
14764 #define HAVE_SEM_TIMEDWAIT 1
14770 CFLAGS
="$CFLAGS_hold"
14774 LIBS
="$LIBS $MATH_LIBS"
14775 for ac_func
in matherr
14777 ac_fn_c_check_func
"$LINENO" "matherr" "ac_cv_func_matherr"
14778 if test "x$ac_cv_func_matherr" = x
""yes; then :
14779 cat >>confdefs.h
<<_ACEOF
14780 #define HAVE_MATHERR 1
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
14789 $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
14790 if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
14791 $as_echo_n "(cached) " >&6
14793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14798 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14801 if ac_fn_c_try_link
"$LINENO"; then :
14802 libgo_cv_func___sync_bool_compare_and_swap_4
=yes
14804 libgo_cv_func___sync_bool_compare_and_swap_4
=no
14806 rm -f core conftest.err conftest.
$ac_objext \
14807 conftest
$ac_exeext conftest.
$ac_ext
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
14810 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
14811 if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
14813 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
14818 $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
14819 if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
14820 $as_echo_n "(cached) " >&6
14822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14823 /* end confdefs.h. */
14825 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14827 int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
14830 if ac_fn_c_try_link
"$LINENO"; then :
14831 libgo_cv_func___sync_bool_compare_and_swap_8
=yes
14833 libgo_cv_func___sync_bool_compare_and_swap_8
=no
14835 rm -f core conftest.err conftest.
$ac_objext \
14836 conftest
$ac_exeext conftest.
$ac_ext
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
14839 $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
14840 if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
14842 $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
14847 $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
14848 if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
14849 $as_echo_n "(cached) " >&6
14851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14854 typedef unsigned int uint32 __attribute__ ((mode (SI)));
14856 int main() { return __sync_fetch_and_add (&i, 1); }
14859 if ac_fn_c_try_link
"$LINENO"; then :
14860 libgo_cv_func___sync_fetch_and_add_4
=yes
14862 libgo_cv_func___sync_fetch_and_add_4
=no
14864 rm -f core conftest.err conftest.
$ac_objext \
14865 conftest
$ac_exeext conftest.
$ac_ext
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
14868 $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
14869 if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
14871 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
14876 $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
14877 if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
14878 $as_echo_n "(cached) " >&6
14880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 typedef unsigned int uint64 __attribute__ ((mode (DI)));
14885 int main() { return __sync_add_and_fetch (&i, 1); }
14888 if ac_fn_c_try_link
"$LINENO"; then :
14889 libgo_cv_func___sync_add_and_fetch_8
=yes
14891 libgo_cv_func___sync_add_and_fetch_8
=no
14893 rm -f core conftest.err conftest.
$ac_objext \
14894 conftest
$ac_exeext conftest.
$ac_ext
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
14897 $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
14898 if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
14900 $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
14905 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
14906 if test "${libgo_cv_c_stringops+set}" = set; then :
14907 $as_echo_n "(cached) " >&6
14909 CFLAGS_hold
=$CFLAGS
14910 CFLAGS
="$CFLAGS -minline-all-stringops"
14911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14915 if ac_fn_c_try_compile
"$LINENO"; then :
14916 libgo_cv_c_stringops
=yes
14918 libgo_cv_c_stringops
=no
14920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14921 CFLAGS
=$CFLAGS_hold
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
14924 $as_echo "$libgo_cv_c_stringops" >&6; }
14926 if test "$libgo_cv_c_stringops" = yes; then
14927 STRINGOPS_FLAG
=-minline-all-stringops
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
14932 $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
14933 if test "${libgo_cv_c_fancymath+set}" = set; then :
14934 $as_echo_n "(cached) " >&6
14936 CFLAGS_hold
=$CFLAGS
14937 CFLAGS
="$CFLAGS -mfancy-math-387"
14938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14942 if ac_fn_c_try_compile
"$LINENO"; then :
14943 libgo_cv_c_fancymath
=yes
14945 libgo_cv_c_fancymath
=no
14947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14948 CFLAGS
=$CFLAGS_hold
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
14951 $as_echo "$libgo_cv_c_fancymath" >&6; }
14953 if test "$libgo_cv_c_fancymath" = yes; then
14954 MATH_FLAG
="-mfancy-math-387 -funsafe-math-optimizations"
14958 CFLAGS_hold
=$CFLAGS
14959 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
14960 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
14961 if test "x$ac_cv_type_off64_t" = x
""yes; then :
14963 cat >>confdefs.h
<<_ACEOF
14964 #define HAVE_OFF64_T 1
14970 CFLAGS
=$CFLAGS_hold
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
14973 $as_echo_n "checking epoll_event size... " >&6; }
14974 if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
14975 $as_echo_n "(cached) " >&6
14977 if ac_fn_c_compute_int
"$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size" "#include <sys/epoll.h>"; then :
14980 libgo_cv_c_epoll_event_size
=0
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
14985 $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
14986 SIZEOF_STRUCT_EPOLL_EVENT
=${libgo_cv_c_epoll_event_size}
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
14990 $as_echo_n "checking epoll_event data.fd offset... " >&6; }
14991 if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
14992 $as_echo_n "(cached) " >&6
14994 if ac_fn_c_compute_int
"$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset" "#include <stddef.h>
14995 #include <sys/epoll.h>"; then :
14998 libgo_cv_c_epoll_event_fd_offset
=0
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
15003 $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
15004 STRUCT_EPOLL_EVENT_FD_OFFSET
=${libgo_cv_c_epoll_event_fd_offset}
15007 ac_fn_c_check_type
"$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
15009 if test "x$ac_cv_type_struct_exception" = x
""yes; then :
15010 libgo_has_struct_exception
=yes
15012 libgo_has_struct_exception
=no
15015 if test "$libgo_has_struct_exception" = "yes"; then
15017 $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
15022 sparc
*-*-solaris2.
[89]*)
15023 libgo_cv_lib_makecontext_stack_top
=yes
15026 libgo_cv_lib_makecontext_stack_top
=no
15029 if test "$libgo_cv_lib_makecontext_stack_top" = "yes"; then
15031 $as_echo "#define MAKECONTEXT_STACK_TOP 1" >>confdefs.h
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
15036 $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
15037 if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
15038 $as_echo_n "(cached) " >&6
15040 CFLAGS_hold
="$CFLAGS"
15041 CFLAGS
="$PTHREAD_CFLAGS"
15043 LIBS
="$LIBS $PTHREAD_LIBS"
15044 # The cast to long int works around a bug in the HP C Compiler
15045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15047 # This bug is HP SR number 8606223364.
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15049 $as_echo_n "checking size of void *... " >&6; }
15050 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15051 $as_echo_n "(cached) " >&6
15053 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
15056 if test "$ac_cv_type_void_p" = yes; then
15057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15059 { as_fn_set_status
77
15060 as_fn_error
"cannot compute sizeof (void *)
15061 See \`config.log' for more details." "$LINENO" 5; }; }
15063 ac_cv_sizeof_void_p
=0
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15069 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15073 cat >>confdefs.h
<<_ACEOF
15074 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15078 as_fn_arith
$ac_cv_sizeof_void_p \
* 8 && ptr_type_size
=$as_val
15079 if test "$cross_compiling" = yes; then :
15080 case "$target:$ptr_type_size" in
15081 i?
86-*-solaris2.1
[01]:64 | x86_64
*-*-solaris2.1
[01]:64)
15082 libgo_cv_lib_setcontext_clobbers_tls
=yes ;;
15084 libgo_cv_lib_setcontext_clobbers_tls
=no
;;
15088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15089 /* end confdefs.h. */
15091 #include <pthread.h>
15092 #include <stdlib.h>
15093 #include <ucontext.h>
15094 #include <unistd.h>
15098 static char stack[10 * 1024 * 1024];
15099 static ucontext_t c;
15101 /* Called via makecontext/setcontext. */
15109 /* Called via pthread_create. */
15114 /* The thread should still see this value after calling
15120 /* The call to setcontext should not return. */
15129 /* The thread should not see this value. */
15132 if (getcontext (&c) < 0)
15135 c.uc_stack.ss_sp = stack;
15136 #ifdef MAKECONTEXT_STACK_TOP
15137 c.uc_stack.ss_sp += sizeof stack;
15139 c.uc_stack.ss_flags = 0;
15140 c.uc_stack.ss_size = sizeof stack;
15142 makecontext (&c, cfn, 0);
15144 if (pthread_create (&tid, NULL, tfn, NULL) != 0)
15147 if (pthread_join (tid, NULL) != 0)
15150 /* The thread should have called exit. */
15155 if ac_fn_c_try_run
"$LINENO"; then :
15156 libgo_cv_lib_setcontext_clobbers_tls
=no
15158 libgo_cv_lib_setcontext_clobbers_tls
=yes
15160 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15161 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15164 CFLAGS
="$CFLAGS_hold"
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
15169 $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
15170 if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
15172 $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
15176 cat >confcache
<<\_ACEOF
15177 # This file is a shell script that caches the results of configure
15178 # tests run on this system so they can be shared between configure
15179 # scripts and configure runs, see configure's option --config-cache.
15180 # It is not useful on other systems. If it contains results you don't
15181 # want to keep, you may remove or edit it.
15183 # config.status only pays attention to the cache file if you give it
15184 # the --recheck option to rerun configure.
15186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15188 # following values.
15192 # The following way of writing the cache mishandles newlines in values,
15193 # but we know of no workaround that is simple, portable, and efficient.
15194 # So, we kill variables containing newlines.
15195 # Ultrix sh set writes to stderr and can't be redirected directly,
15196 # and sets the high bit in the cache file unless we assign to the vars.
15198 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15199 eval ac_val
=\$
$ac_var
15203 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15207 _ | IFS | as_nl
) ;; #(
15208 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15209 *) { eval $ac_var=; unset $ac_var;} ;;
15215 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15216 *${as_nl}ac_space
=\
*)
15217 # `set' does not quote correctly, so add quotes: double-quote
15218 # substitution turns \\\\ into \\, and sed turns \\ into \.
15221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15224 # `set' quotes correctly as required by POSIX, so do not add quotes.
15225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15236 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15238 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15239 if test -w "$cache_file"; then
15240 test "x$cache_file" != "x/dev/null" &&
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15242 $as_echo "$as_me: updating cache $cache_file" >&6;}
15243 cat confcache
>$cache_file
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15251 if test ${multilib} = yes; then
15252 multilib_arg
="--enable-multilib"
15257 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
15260 ac_config_commands
="$ac_config_commands default"
15263 cat >confcache
<<\_ACEOF
15264 # This file is a shell script that caches the results of configure
15265 # tests run on this system so they can be shared between configure
15266 # scripts and configure runs, see configure's option --config-cache.
15267 # It is not useful on other systems. If it contains results you don't
15268 # want to keep, you may remove or edit it.
15270 # config.status only pays attention to the cache file if you give it
15271 # the --recheck option to rerun configure.
15273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15275 # following values.
15279 # The following way of writing the cache mishandles newlines in values,
15280 # but we know of no workaround that is simple, portable, and efficient.
15281 # So, we kill variables containing newlines.
15282 # Ultrix sh set writes to stderr and can't be redirected directly,
15283 # and sets the high bit in the cache file unless we assign to the vars.
15285 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15286 eval ac_val
=\$
$ac_var
15290 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15294 _ | IFS | as_nl
) ;; #(
15295 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15296 *) { eval $ac_var=; unset $ac_var;} ;;
15302 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15303 *${as_nl}ac_space
=\
*)
15304 # `set' does not quote correctly, so add quotes: double-quote
15305 # substitution turns \\\\ into \\, and sed turns \\ into \.
15308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15311 # `set' quotes correctly as required by POSIX, so do not add quotes.
15312 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15321 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15323 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15325 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15326 if test -w "$cache_file"; then
15327 test "x$cache_file" != "x/dev/null" &&
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15329 $as_echo "$as_me: updating cache $cache_file" >&6;}
15330 cat confcache
>$cache_file
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15333 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15338 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15339 # Let make expand exec_prefix.
15340 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15342 DEFS
=-DHAVE_CONFIG_H
15346 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15347 # 1. Remove the extension, and $U if already installed.
15348 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15349 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15350 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15351 # will be set to the directory where LIBOBJS objects are built.
15352 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15353 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15355 LIBOBJS
=$ac_libobjs
15357 LTLIBOBJS
=$ac_ltlibobjs
15360 if test -n "$EXEEXT"; then
15362 am__EXEEXT_FALSE
='#'
15364 am__EXEEXT_TRUE
='#'
15368 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15369 as_fn_error
"conditional \"AMDEP\" was never defined.
15370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15372 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15373 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15376 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15377 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15380 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
15381 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
15382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15384 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
15385 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
15386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
15389 as_fn_error
"conditional \"LIBGO_IS_IRIX\" was never defined.
15390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15392 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
15393 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
15394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15396 if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
15397 as_fn_error
"conditional \"LIBGO_IS_NETBSD\" was never defined.
15398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15400 if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
15401 as_fn_error
"conditional \"LIBGO_IS_OPENBSD\" was never defined.
15402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15404 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
15405 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
15406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15408 if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
15409 as_fn_error
"conditional \"LIBGO_IS_SOLARIS\" was never defined.
15410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15412 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
15413 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
15414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15416 if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
15417 as_fn_error
"conditional \"LIBGO_IS_ALPHA\" was never defined.
15418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15420 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
15421 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
15422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15424 if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
15425 as_fn_error
"conditional \"LIBGO_IS_M68K\" was never defined.
15426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15428 if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
15429 as_fn_error
"conditional \"LIBGO_IS_MIPS\" was never defined.
15430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15432 if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
15433 as_fn_error
"conditional \"LIBGO_IS_MIPSO32\" was never defined.
15434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15436 if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
15437 as_fn_error
"conditional \"LIBGO_IS_MIPSN32\" was never defined.
15438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15440 if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
15441 as_fn_error
"conditional \"LIBGO_IS_MIPSN64\" was never defined.
15442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15444 if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
15445 as_fn_error
"conditional \"LIBGO_IS_MIPSO64\" was never defined.
15446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15448 if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
15449 as_fn_error
"conditional \"LIBGO_IS_PPC\" was never defined.
15450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15452 if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
15453 as_fn_error
"conditional \"LIBGO_IS_PPC64\" was never defined.
15454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15456 if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
15457 as_fn_error
"conditional \"LIBGO_IS_SPARC\" was never defined.
15458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15460 if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
15461 as_fn_error
"conditional \"LIBGO_IS_SPARC64\" was never defined.
15462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15464 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
15465 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
15466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15468 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
15469 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
15470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15473 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
15474 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
15475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15477 if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
15478 as_fn_error
"conditional \"HAVE_STRERROR_R\" was never defined.
15479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15481 if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
15482 as_fn_error
"conditional \"HAVE_WAIT4\" was never defined.
15483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15486 : ${CONFIG_STATUS=./config.status}
15488 ac_clean_files_save
=$ac_clean_files
15489 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15491 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15493 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15495 # Generated by $as_me.
15496 # Run this file to recreate the current configuration.
15497 # Compiler output produced by configure, useful for debugging
15498 # configure, is in config.log if it exists.
15501 ac_cs_recheck=false
15504 SHELL=\${CONFIG_SHELL-$SHELL}
15507 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15508 ## -------------------- ##
15509 ## M4sh Initialization. ##
15510 ## -------------------- ##
15512 # Be more Bourne compatible
15513 DUALCASE
=1; export DUALCASE
# for MKS sh
15514 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15517 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15518 # is contrary to our usage. Disable this feature.
15519 alias -g '${1+"$@"}'='"$@"'
15520 setopt NO_GLOB_SUBST
15522 case `(set -o) 2>/dev/null` in #(
15534 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15535 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15536 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15537 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15538 # Prefer a ksh shell builtin over an external printf program on Solaris,
15539 # but without wasting forks for bash or zsh.
15540 if test -z "$BASH_VERSION$ZSH_VERSION" \
15541 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15542 as_echo='print
-r --'
15543 as_echo_n='print
-rn --'
15544 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15545 as_echo='printf %s
\n'
15546 as_echo_n='printf %s
'
15548 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15549 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15550 as_echo_n='/usr
/ucb
/echo -n'
15552 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15553 as_echo_n_body='eval
15557 expr "X$arg" : "X\\(.*\\)$as_nl";
15558 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15560 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15562 export as_echo_n_body
15563 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15565 export as_echo_body
15566 as_echo='sh
-c $as_echo_body as_echo
'
15569 # The user is always right.
15570 if test "${PATH_SEPARATOR+set}" != set; then
15572 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15573 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15580 # We need space, tab and new line, in precisely that order. Quoting is
15581 # there to prevent editors from complaining about space-tab.
15582 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15583 # splitting by setting IFS to empty value.)
15586 # Find who we are. Look in the path if we contain no directory separator.
15588 *[\\/]* ) as_myself=$0 ;;
15589 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15590 for as_dir in $PATH
15593 test -z "$as_dir" && as_dir=.
15594 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15600 # We did not find ourselves, most probably we were run as `sh COMMAND'
15601 # in which case we are not to be found in the path.
15602 if test "x$as_myself" = x
; then
15605 if test ! -f "$as_myself"; then
15606 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15610 # Unset variables that we do not need and which cause bugs (e.g. in
15611 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15612 # suppresses any "Segmentation fault" message there. '((' could
15613 # trigger a bug in pdksh 5.2.14.
15614 for as_var
in BASH_ENV ENV MAIL MAILPATH
15615 do eval test x\
${$as_var+set} = xset \
15616 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15629 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15632 # as_fn_error ERROR [LINENO LOG_FD]
15633 # ---------------------------------
15634 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15635 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15636 # script with status $?, using 1 if that was 0.
15639 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15641 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15642 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15644 $as_echo "$as_me: error: $1" >&2
15645 as_fn_exit
$as_status
15649 # as_fn_set_status STATUS
15650 # -----------------------
15651 # Set $? to STATUS, without forking.
15652 as_fn_set_status
()
15655 } # as_fn_set_status
15657 # as_fn_exit STATUS
15658 # -----------------
15659 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15663 as_fn_set_status
$1
15669 # Portably unset VAR.
15672 { eval $1=; unset $1;}
15674 as_unset
=as_fn_unset
15675 # as_fn_append VAR VALUE
15676 # ----------------------
15677 # Append the text in VALUE to the end of the definition contained in VAR. Take
15678 # advantage of any shell optimizations that allow amortized linear growth over
15679 # repeated appends, instead of the typical quadratic growth present in naive
15681 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15682 eval 'as_fn_append ()
15693 # as_fn_arith ARG...
15694 # ------------------
15695 # Perform arithmetic evaluation on the ARGs, and store the result in the
15696 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15697 # must be portable across $(()) and expr.
15698 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15699 eval 'as_fn_arith ()
15706 as_val
=`expr "$@" || test $? -eq 1`
15711 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15712 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15718 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15719 as_basename
=basename
15724 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15730 as_me
=`$as_basename -- "$0" ||
15731 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15732 X"$0" : 'X\(//\)$' \| \
15733 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15735 sed '/^.*\/\([^/][^/]*\)\/*$/{
15749 # Avoid depending upon Character Ranges.
15750 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15751 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15752 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15753 as_cr_digits
='0123456789'
15754 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15756 ECHO_C
= ECHO_N
= ECHO_T
=
15757 case `echo -n x` in #(((((
15759 case `echo 'xy\c'` in
15760 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15762 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15769 rm -f conf$$ conf$$.exe conf$$.
file
15770 if test -d conf$$.dir
; then
15771 rm -f conf$$.dir
/conf$$.
file
15774 mkdir conf$$.dir
2>/dev
/null
15776 if (echo >conf$$.
file) 2>/dev
/null
; then
15777 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15779 # ... but there are two gotchas:
15780 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15781 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15782 # In both cases, we have to default to `cp -p'.
15783 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15785 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15793 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15794 rmdir conf$$.dir
2>/dev
/null
15799 # Create "$as_dir" as a directory, including parents if necessary.
15804 -*) as_dir
=.
/$as_dir;;
15806 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15810 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15811 *) as_qdir
=$as_dir;;
15813 as_dirs
="'$as_qdir' $as_dirs"
15814 as_dir
=`$as_dirname -- "$as_dir" ||
15815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15816 X"$as_dir" : 'X\(//\)[^/]' \| \
15817 X"$as_dir" : 'X\(//\)$' \| \
15818 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15819 $as_echo X"$as_dir" |
15820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15824 /^X\(\/\/\)[^/].*/{
15837 test -d "$as_dir" && break
15839 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15840 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15844 if mkdir
-p .
2>/dev
/null
; then
15845 as_mkdir_p
='mkdir -p "$as_dir"'
15847 test -d .
/-p && rmdir .
/-p
15851 if test -x / >/dev
/null
2>&1; then
15852 as_test_x
='test -x'
15854 if ls -dL / >/dev
/null
2>&1; then
15861 if test -d "$1"; then
15867 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15868 ???[sx]*):;;*)false;;esac;fi
15872 as_executable_p
=$as_test_x
15874 # Sed expression to map a string onto a valid CPP name.
15875 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15877 # Sed expression to map a string onto a valid variable name.
15878 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15882 ## ----------------------------------- ##
15883 ## Main body of $CONFIG_STATUS script. ##
15884 ## ----------------------------------- ##
15886 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15889 # Save the log message, to keep $0 and so on meaningful, and to
15890 # report actual input values of CONFIG_FILES etc. instead of their
15891 # values after options handling.
15893 This file was extended by package-unused $as_me version-unused, which was
15894 generated by GNU Autoconf 2.64. Invocation command line was
15896 CONFIG_FILES = $CONFIG_FILES
15897 CONFIG_HEADERS = $CONFIG_HEADERS
15898 CONFIG_LINKS = $CONFIG_LINKS
15899 CONFIG_COMMANDS = $CONFIG_COMMANDS
15902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15907 case $ac_config_files in *"
15908 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15911 case $ac_config_headers in *"
15912 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15917 # Files that config.status was made for.
15918 config_files="$ac_config_files"
15919 config_headers="$ac_config_headers"
15920 config_commands="$ac_config_commands"
15924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15926 \`$as_me' instantiates files and other configuration actions
15927 from templates according to the current configuration. Unless the files
15928 and actions are specified as TAGs, all are instantiated by default.
15930 Usage: $0 [OPTION]... [TAG]...
15932 -h, --help print this help, then exit
15933 -V, --version print version number and configuration settings, then exit
15934 -q, --quiet, --silent
15935 do not print progress messages
15936 -d, --debug don't remove temporary files
15937 --recheck update $as_me by reconfiguring in the same conditions
15938 --file=FILE[:TEMPLATE]
15939 instantiate the configuration file FILE
15940 --header=FILE[:TEMPLATE]
15941 instantiate the configuration header FILE
15943 Configuration files:
15946 Configuration headers:
15949 Configuration commands:
15952 Report bugs to the package provider."
15955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15957 package-unused config.status version-unused
15958 configured by $0, generated by GNU Autoconf 2.64,
15959 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15961 Copyright (C) 2009 Free Software Foundation, Inc.
15962 This config.status script is free software; the Free Software Foundation
15963 gives unlimited permission to copy, distribute and modify it."
15970 test -n "\$AWK" || AWK=awk
15973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15974 # The default lists apply if the user does not specify any file.
15980 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15981 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15992 # Handling of the options.
15993 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15995 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15996 $as_echo "$ac_cs_version"; exit ;;
15997 --debug |
--debu |
--deb |
--de |
--d |
-d )
15999 --file |
--fil |
--fi |
--f )
16002 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16004 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16005 ac_need_defaults
=false
;;
16006 --header |
--heade |
--head |
--hea )
16009 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16011 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16012 ac_need_defaults
=false
;;
16014 # Conflict between --help and --header
16015 as_fn_error
"ambiguous option: \`$1'
16016 Try \`$0 --help' for more information.";;
16017 --help |
--hel |
-h )
16018 $as_echo "$ac_cs_usage"; exit ;;
16019 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16020 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16023 # This is an error.
16024 -*) as_fn_error
"unrecognized option: \`$1'
16025 Try \`$0 --help' for more information." ;;
16027 *) as_fn_append ac_config_targets
" $1"
16028 ac_need_defaults
=false
;;
16034 ac_configure_extra_args
=
16036 if $ac_cs_silent; then
16038 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16043 if \$ac_cs_recheck; then
16044 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16047 CONFIG_SHELL='$SHELL'
16048 export CONFIG_SHELL
16053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16058 ## Running $as_me. ##
16064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 with_multisubdir="$with_multisubdir"
16073 with_multisrctop="$with_multisrctop"
16074 with_target_subdir="$with_target_subdir"
16075 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16076 multi_basedir="$multi_basedir"
16077 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16080 GFORTRAN="$GFORTRAN"
16082 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16085 # The HP-UX ksh and POSIX shell print the target directory to stdout
16086 # if CDPATH is set.
16087 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16089 sed_quote_subst='$sed_quote_subst'
16090 double_quote_subst='$double_quote_subst'
16091 delay_variable_subst='$delay_variable_subst'
16092 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16093 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16094 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16095 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16096 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16097 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16098 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16099 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16100 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16101 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16102 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16103 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16104 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16105 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16106 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16107 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16108 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16109 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16110 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16111 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16112 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16113 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16114 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16115 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16116 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16117 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16118 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16119 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16120 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16121 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16122 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16123 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16124 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16125 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16126 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16127 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16128 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16129 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16130 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16131 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16132 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16133 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16134 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16135 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16136 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16137 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16138 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16139 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16140 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"`'
16141 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16142 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16143 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16144 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16145 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16146 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16147 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16148 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16149 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16150 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16151 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16152 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16153 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16154 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16155 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16156 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16157 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16158 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16159 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16160 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16161 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16162 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16163 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16164 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16165 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16166 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16167 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16168 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16169 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16170 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16171 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16172 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16173 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16174 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16175 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16176 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16177 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16178 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16179 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16180 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16181 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16182 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16183 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16184 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16185 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16186 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16187 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16188 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16189 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16190 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16191 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16192 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16193 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16194 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16195 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16196 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16197 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16198 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16199 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16200 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16201 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16202 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16203 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16204 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16205 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16206 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16207 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16208 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16209 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16210 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16211 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16212 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
16213 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
16214 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
16215 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16216 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
16217 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
16218 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
16219 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
16220 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
16221 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
16222 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
16223 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
16224 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
16225 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16226 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16227 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
16228 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
16229 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
16230 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
16231 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16232 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
16233 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
16234 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
16235 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16236 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
16237 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
16238 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
16239 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
16240 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
16241 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
16242 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
16243 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
16244 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
16245 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
16246 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
16247 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
16248 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
16249 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
16250 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16251 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
16252 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
16253 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
16254 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
16257 LTCFLAGS='$LTCFLAGS'
16258 compiler='$compiler_DEFAULT'
16260 # A function that is used when there is no print builtin or printf.
16261 func_fallback_echo ()
16263 eval 'cat <<_LTECHO_EOF
16268 # Quote evaled strings.
16282 deplibs_check_method \
16291 lt_cv_sys_global_symbol_pipe \
16292 lt_cv_sys_global_symbol_to_cdecl \
16293 lt_cv_sys_global_symbol_to_c_name_address \
16294 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16295 lt_prog_compiler_no_builtin_flag \
16296 lt_prog_compiler_wl \
16297 lt_prog_compiler_pic \
16298 lt_prog_compiler_static \
16299 lt_cv_prog_compiler_c_o \
16307 export_dynamic_flag_spec \
16308 whole_archive_flag_spec \
16309 compiler_needs_object \
16311 allow_undefined_flag \
16312 no_undefined_flag \
16313 hardcode_libdir_flag_spec \
16314 hardcode_libdir_flag_spec_ld \
16315 hardcode_libdir_separator \
16320 variables_saved_for_relink \
16322 library_names_spec \
16324 install_override_mode \
16331 lt_prog_compiler_no_builtin_flag_GO \
16332 lt_prog_compiler_wl_GO \
16333 lt_prog_compiler_pic_GO \
16334 lt_prog_compiler_static_GO \
16335 lt_cv_prog_compiler_c_o_GO \
16336 export_dynamic_flag_spec_GO \
16337 whole_archive_flag_spec_GO \
16338 compiler_needs_object_GO \
16340 allow_undefined_flag_GO \
16341 no_undefined_flag_GO \
16342 hardcode_libdir_flag_spec_GO \
16343 hardcode_libdir_flag_spec_ld_GO \
16344 hardcode_libdir_separator_GO \
16345 fix_srcfile_path_GO \
16346 exclude_expsyms_GO \
16347 include_expsyms_GO \
16348 file_list_spec_GO; do
16349 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16350 *[\\\\\\\`\\"\\\$]*)
16351 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16354 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16359 # Double-quote double-evaled strings.
16360 for var in reload_cmds \
16361 old_postinstall_cmds \
16362 old_postuninstall_cmds \
16364 extract_expsyms_cmds \
16365 old_archive_from_new_cmds \
16366 old_archive_from_expsyms_cmds \
16368 archive_expsym_cmds \
16370 module_expsym_cmds \
16371 export_symbols_cmds \
16374 postuninstall_cmds \
16376 sys_lib_search_path_spec \
16377 sys_lib_dlsearch_path_spec \
16379 old_archive_cmds_GO \
16380 old_archive_from_new_cmds_GO \
16381 old_archive_from_expsyms_cmds_GO \
16383 archive_expsym_cmds_GO \
16385 module_expsym_cmds_GO \
16386 export_symbols_cmds_GO \
16387 prelink_cmds_GO; do
16388 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16389 *[\\\\\\\`\\"\\\$]*)
16390 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16393 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16398 ac_aux_dir='$ac_aux_dir'
16399 xsi_shell='$xsi_shell'
16400 lt_shell_append='$lt_shell_append'
16402 # See if we are running on zsh, and set the options which allow our
16403 # commands through without removal of \ escapes INIT.
16404 if test -n "\${ZSH_VERSION+set}" ; then
16405 setopt NO_GLOB_SUBST
16411 TIMESTAMP='$TIMESTAMP'
16420 # Variables needed in config.status (file generation) which aren't already
16421 # passed by autoconf.
16427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16429 # Handling of arguments.
16430 for ac_config_target
in $ac_config_targets
16432 case $ac_config_target in
16433 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16434 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16435 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16436 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16437 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16438 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16439 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16441 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16446 # If the user did not use the arguments to specify the items to instantiate,
16447 # then the envvar interface is used. Set only those that are not.
16448 # We use the long form for the default assignment because of an extremely
16449 # bizarre bug on SunOS 4.1.3.
16450 if $ac_need_defaults; then
16451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16456 # Have a temporary directory for convenience. Make it in the build tree
16457 # simply because there is no reason against having it here, and in addition,
16458 # creating and moving files from /tmp can sometimes cause problems.
16459 # Hook for its removal unless debugging.
16460 # Note that there is a small window in which the directory will not be cleaned:
16461 # after its creation but before its name has been assigned to `$tmp'.
16465 trap 'exit_status=$?
16466 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16468 trap 'as_fn_exit 1' 1 2 13 15
16470 # Create a (secure) tmp directory for tmp files.
16473 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16474 test -n "$tmp" && test -d "$tmp"
16477 tmp
=.
/conf$$
-$RANDOM
16478 (umask 077 && mkdir
"$tmp")
16479 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16481 # Set up the scripts for CONFIG_FILES section.
16482 # No need to generate them if there are no CONFIG_FILES.
16483 # This happens for instance with `./config.status config.h'.
16484 if test -n "$CONFIG_FILES"; then
16487 ac_cr
=`echo X | tr X '\015'`
16488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16489 # But we know of no other shell where ac_cr would be empty at this
16490 # point, so we can use a bashism as a fallback.
16491 if test "x$ac_cr" = x
; then
16492 eval ac_cr
=\$
\'\\r
\'
16494 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16498 ac_cs_awk_cr
=$ac_cr
16501 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16506 echo "cat >conf$$subs.awk <<_ACEOF" &&
16507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16509 } >conf$$subs.sh ||
16510 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16513 for ac_last_try in false false false false false :; do
16514 . ./conf$$subs.sh ||
16515 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16517 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16518 if test $ac_delim_n = $ac_delim_num; then
16520 elif $ac_last_try; then
16521 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16526 rm -f conf$$subs.sh
16528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16529 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16533 s/^/S["/; s
/!.
*/"]=/
16543 s/\(.\{148\}\).*/\1/
16545 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16550 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16557 s/\(.\{148\}\).*/\1/
16559 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16563 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16568 ' <conf$$subs.awk | sed '
16573 ' >>$CONFIG_STATUS || ac_write_fail=1
16574 rm -f conf$$subs.awk
16575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16577 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16578 for (key in S) S_is_set[key] = 1
16584 nfields = split(line, field, "@
")
16586 len = length(field[1])
16587 for (i = 2; i < nfields; i++) {
16589 keylen = length(key)
16590 if (S_is_set[key]) {
16592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16593 len += length(value) + length(field[++i])
16604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16605 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16606 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16609 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16610 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16615 # trailing colons and then remove the whole line if VPATH becomes empty
16616 # (actually we leave an empty line to preserve line numbers).
16617 if test "x
$srcdir" = x.; then
16618 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16619 s/:*\$(srcdir):*/:/
16620 s/:*\${srcdir}:*/:/
16622 s/^\([^=]*=[ ]*\):*/\1/
16628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16629 fi # test -n "$CONFIG_FILES"
16631 # Set up the scripts for CONFIG_HEADERS section.
16632 # No need to generate them if there are no CONFIG_HEADERS.
16633 # This happens for instance with `./config.status Makefile'.
16634 if test -n "$CONFIG_HEADERS"; then
16635 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16639 # Transform confdefs.h into an awk script `defines.awk', embedded as
16640 # here-document in config.status, that substitutes the proper values into
16641 # config.h.in to produce config.h.
16643 # Create a delimiter string that does not exist in confdefs.h, to ease
16644 # handling of long lines.
16646 for ac_last_try in false false :; do
16647 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16648 if test -z "$ac_t"; then
16650 elif $ac_last_try; then
16651 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16657 # For the awk script, D is an array of macro values keyed by name,
16658 # likewise P contains macro parameters if any. Preserve backslash
16659 # newline sequences.
16661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16663 s/.\{148\}/&'"$ac_delim"'/g
16666 s/^[ ]*#[ ]*define[ ][ ]*/ /
16673 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16675 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16680 D["\
1"]=" \
3\\\\\\n
"\\/p
16682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16687 s/.\{148\}/&'"$ac_delim"'/g
16692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16695 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16697 ' <confdefs.h | sed '
16698 s/'"$ac_delim"'/"\\\
16699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16702 for (key in D) D_is_set[key] = 1
16705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16707 split(line, arg, " ")
16708 if (arg[1] == "#") {
16712 defundef
= substr
(arg
[1], 2)
16715 split(mac1
, mac2
, "(") #)
16717 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16718 if (D_is_set
[macro
]) {
16719 # Preserve the white space surrounding the "#".
16720 print prefix
"define", macro P
[macro
] D
[macro
]
16723 # Replace #undef with comments. This is necessary, for example,
16724 # in the case of _POSIX_SOURCE, which is predefined and required
16725 # on some systems where configure will not decide to define it.
16726 if (defundef
== "undef") {
16727 print
"/*", prefix defundef
, macro
, "*/"
16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16736 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16737 fi # test -n "$CONFIG_HEADERS"
16740 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16745 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16747 case $ac_mode$ac_tag in
16749 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16750 :[FH
]-) ac_tag
=-:-;;
16751 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16768 -) ac_f
="$tmp/stdin";;
16769 *) # Look for the file first in the build tree, then in the source tree
16770 # (if the path is not absolute). The absolute path cannot be DOS-style,
16771 # because $ac_f cannot contain `:'.
16775 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16777 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16779 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16780 as_fn_append ac_file_inputs
" '$ac_f'"
16783 # Let's still pretend it is `configure' which instantiates (i.e., don't
16784 # use $as_me), people would be surprised to read:
16785 # /* config.h. Generated by config.status. */
16786 configure_input
='Generated from '`
16787 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16789 if test x
"$ac_file" != x-
; then
16790 configure_input
="$ac_file. $configure_input"
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16792 $as_echo "$as_me: creating $ac_file" >&6;}
16794 # Neutralize special characters interpreted by sed in replacement strings.
16795 case $configure_input in #(
16796 *\
&* |
*\|
* |
*\\* )
16797 ac_sed_conf_input
=`$as_echo "$configure_input" |
16798 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16799 *) ac_sed_conf_input
=$configure_input;;
16803 *:-:* |
*:-) cat >"$tmp/stdin" \
16804 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16809 ac_dir
=`$as_dirname -- "$ac_file" ||
16810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811 X"$ac_file" : 'X\(//\)[^/]' \| \
16812 X"$ac_file" : 'X\(//\)$' \| \
16813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$ac_file" |
16815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16819 /^X\(\/\/\)[^/].*/{
16832 as_dir
="$ac_dir"; as_fn_mkdir_p
16836 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16838 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16839 # A ".." for each directory in $ac_dir_suffix.
16840 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16841 case $ac_top_builddir_sub in
16842 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16843 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16846 ac_abs_top_builddir
=$ac_pwd
16847 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16848 # for backward compatibility:
16849 ac_top_builddir
=$ac_top_build_prefix
16852 .
) # We are building in place.
16854 ac_top_srcdir
=$ac_top_builddir_sub
16855 ac_abs_top_srcdir
=$ac_pwd ;;
16856 [\\/]* | ?
:[\\/]* ) # Absolute name.
16857 ac_srcdir
=$srcdir$ac_dir_suffix;
16858 ac_top_srcdir
=$srcdir
16859 ac_abs_top_srcdir
=$srcdir ;;
16860 *) # Relative name.
16861 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16862 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16863 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16865 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16875 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16876 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16878 ac_MKDIR_P
=$MKDIR_P
16880 [\\/$
]* | ?
:[\\/]* ) ;;
16881 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16886 # If the template does not know about datarootdir, expand it.
16887 # FIXME: This hack should be removed a few years after 2.60.
16888 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16900 *datarootdir
*) ac_datarootdir_seen
=yes;;
16901 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16906 ac_datarootdir_hack='
16907 s&@datadir@&$datadir&g
16908 s&@docdir@&$docdir&g
16909 s&@infodir@&$infodir&g
16910 s&@localedir@&$localedir&g
16911 s&@mandir@&$mandir&g
16912 s&\\\${datarootdir}&$datarootdir&g' ;;
16916 # Neutralize VPATH when `$srcdir' = `.'.
16917 # Shell code in configure.ac might set extrasub.
16918 # FIXME: do we really want to maintain this feature?
16919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16920 ac_sed_extra="$ac_vpsub
16923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16925 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16926 s|@configure_input@|
$ac_sed_conf_input|
;t t
16927 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16928 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16929 s
&@srcdir@
&$ac_srcdir&;t t
16930 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16931 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16932 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16933 s
&@builddir@
&$ac_builddir&;t t
16934 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16935 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16936 s
&@INSTALL@
&$ac_INSTALL&;t t
16937 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16938 $ac_datarootdir_hack
16940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16941 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16944 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16947 which seems to be undefined. Please make sure it is defined." >&5
16948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16949 which seems to be undefined. Please make sure it is defined." >&2;}
16953 -) cat "$tmp/out" && rm -f "$tmp/out";;
16954 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16956 || as_fn_error "could not create $ac_file" "$LINENO" 5
16962 if test x"$ac_file" != x-; then
16964 $as_echo "/* $configure_input */" \
16965 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16966 } >"$tmp/config.h" \
16967 || as_fn_error "could not create $ac_file" "$LINENO" 5
16968 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16973 mv "$tmp/config.h" "$ac_file" \
16974 || as_fn_error "could not create $ac_file" "$LINENO" 5
16977 $as_echo "/* $configure_input */" \
16978 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16979 || as_fn_error "could not create -" "$LINENO" 5
16981 # Compute "$ac_file"'s index
in $config_headers.
16984 for _am_header
in $config_headers :; do
16985 case $_am_header in
16986 $_am_arg |
$_am_arg:* )
16989 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16992 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16993 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16994 X"$_am_arg" : 'X\(//\)[^/]' \| \
16995 X"$_am_arg" : 'X\(//\)$' \| \
16996 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16997 $as_echo X"$_am_arg" |
16998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17002 /^X\(\/\/\)[^/].*/{
17014 s/.*/./; q'`/stamp-h
$_am_stamp_count
17017 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17018 $as_echo "$as_me: executing $ac_file commands" >&6;}
17023 case $ac_file$ac_mode in
17025 # Only add multilib support code if we just rebuilt the top-level
17027 case " $CONFIG_FILES " in
17029 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17032 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17033 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17034 # are listed without --file. Let's play safe and only enable the eval
17035 # if we detect the quoting.
17036 case $CONFIG_FILES in
17037 *\'*) eval set x
"$CONFIG_FILES" ;;
17038 *) set x
$CONFIG_FILES ;;
17043 # Strip MF so we end up with the name of the file.
17044 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17045 # Check whether this is an Automake generated Makefile or not.
17046 # We used to match only the files named `Makefile.in', but
17047 # some people rename them; so instead we look at the file content.
17048 # Grep'ing the first line is not enough: some people post-process
17049 # each Makefile.in and add a new line on top of each file to say so.
17050 # Grep'ing the whole file is not good either: AIX grep has a line
17051 # limit of 2048, but all sed's we know have understand at least 4000.
17052 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17053 dirpart
=`$as_dirname -- "$mf" ||
17054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17055 X"$mf" : 'X\(//\)[^/]' \| \
17056 X"$mf" : 'X\(//\)$' \| \
17057 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17063 /^X\(\/\/\)[^/].*/{
17079 # Extract the definition of DEPDIR, am__include, and am__quote
17080 # from the Makefile without running `make'.
17081 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17082 test -z "$DEPDIR" && continue
17083 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17084 test -z "am__include" && continue
17085 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17086 # When using ansi2knr, U may be empty or an underscore; expand it
17087 U
=`sed -n 's/^U = //p' < "$mf"`
17088 # Find all dependency output files, they are included files with
17089 # $(DEPDIR) in their names. We invoke sed twice because it is the
17090 # simplest approach to changing $(DEPDIR) to its actual value in the
17092 for file in `sed -n "
17093 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17094 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17095 # Make sure the directory exists.
17096 test -f "$dirpart/$file" && continue
17097 fdir
=`$as_dirname -- "$file" ||
17098 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17099 X"$file" : 'X\(//\)[^/]' \| \
17100 X"$file" : 'X\(//\)$' \| \
17101 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17102 $as_echo X"$file" |
17103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17107 /^X\(\/\/\)[^/].*/{
17120 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17121 # echo "creating $dirpart/$file"
17122 echo '# dummy' > "$dirpart/$file"
17129 # See if we are running on zsh, and set the options which allow our
17130 # commands through without removal of \ escapes.
17131 if test -n "${ZSH_VERSION+set}" ; then
17132 setopt NO_GLOB_SUBST
17135 cfgfile
="${ofile}T"
17136 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17139 cat <<_LT_EOF >> "$cfgfile"
17142 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17143 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17144 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17145 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17147 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17148 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17149 # Written by Gordon Matzigkeit, 1996
17151 # This file is part of GNU Libtool.
17153 # GNU Libtool is free software; you can redistribute it and/or
17154 # modify it under the terms of the GNU General Public License as
17155 # published by the Free Software Foundation; either version 2 of
17156 # the License, or (at your option) any later version.
17158 # As a special exception to the GNU General Public License,
17159 # if you distribute this file as part of a program or library that
17160 # is built using GNU Libtool, you may include this file under the
17161 # same distribution terms that you use for the rest of that program.
17163 # GNU Libtool is distributed in the hope that it will be useful,
17164 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17165 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17166 # GNU General Public License for more details.
17168 # You should have received a copy of the GNU General Public License
17169 # along with GNU Libtool; see the file COPYING. If not, a copy
17170 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17171 # obtained by writing to the Free Software Foundation, Inc.,
17172 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17175 # The names of the tagged configurations supported by this script.
17176 available_tags="GO "
17178 # ### BEGIN LIBTOOL CONFIG
17180 # A sed program that does not truncate output.
17183 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17184 Xsed="\$SED -e 1s/^X//"
17186 # A grep program that handles long lines.
17192 # A literal string matcher.
17195 # Shell to use when invoking shell scripts.
17198 # An echo program that protects backslashes.
17201 # Which release of libtool.m4 was used?
17202 macro_version=$macro_version
17203 macro_revision=$macro_revision
17205 # Whether or not to build shared libraries.
17206 build_libtool_libs=$enable_shared
17208 # Whether or not to build static libraries.
17209 build_old_libs=$enable_static
17211 # What type of objects to build.
17214 # Whether or not to optimize for fast installation.
17215 fast_install=$enable_fast_install
17218 host_alias=$host_alias
17222 # The build system.
17223 build_alias=$build_alias
17227 # A BSD- or MS-compatible name lister.
17230 # Whether we need soft or hard links.
17233 # What is the maximum length of a command?
17234 max_cmd_len=$max_cmd_len
17236 # Object file suffix (normally "o").
17239 # Executable file suffix (normally "").
17242 # whether the shell understands "unset".
17245 # turn spaces into newlines.
17248 # turn newlines into spaces.
17251 # An object symbol dumper.
17252 OBJDUMP=$lt_OBJDUMP
17254 # Method to check whether dependent libraries are shared objects.
17255 deplibs_check_method=$lt_deplibs_check_method
17257 # Command to use when deplibs_check_method == "file_magic".
17258 file_magic_cmd=$lt_file_magic_cmd
17262 AR_FLAGS=$lt_AR_FLAGS
17264 # A symbol stripping program.
17267 # Commands used to install an old-style archive.
17269 old_postinstall_cmds=$lt_old_postinstall_cmds
17270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17272 # Whether to use a lock for old archive extraction.
17273 lock_old_archive_extraction=$lock_old_archive_extraction
17278 # LTCC compiler flags.
17279 LTCFLAGS=$lt_CFLAGS
17281 # Take the output of nm and produce a listing of raw symbols and C names.
17282 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17284 # Transform the output of nm in a proper C declaration.
17285 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17287 # Transform the output of nm in a C name address pair.
17288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17290 # Transform the output of nm in a C name address pair when lib prefix is needed.
17291 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17293 # The name of the directory that contains temporary libtool files.
17296 # Used to examine libraries when file_magic_cmd begins with "file".
17297 MAGIC_CMD=$MAGIC_CMD
17299 # Must we lock files when doing compilation?
17300 need_locks=$lt_need_locks
17302 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17303 DSYMUTIL=$lt_DSYMUTIL
17305 # Tool to change global to local symbols on Mac OS X.
17308 # Tool to manipulate fat objects and archives on Mac OS X.
17311 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17314 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17315 OTOOL64=$lt_OTOOL64
17317 # Old archive suffix (normally "a").
17320 # Shared library suffix (normally ".so").
17321 shrext_cmds=$lt_shrext_cmds
17323 # The commands to extract the exported symbol list from a shared archive.
17324 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17326 # Variables whose values should be saved in libtool wrapper scripts and
17327 # restored at link time.
17328 variables_saved_for_relink=$lt_variables_saved_for_relink
17330 # Do we need the "lib" prefix for modules?
17331 need_lib_prefix=$need_lib_prefix
17333 # Do we need a version for libraries?
17334 need_version=$need_version
17336 # Library versioning type.
17337 version_type=$version_type
17339 # Shared library runtime path variable.
17340 runpath_var=$runpath_var
17342 # Shared library path variable.
17343 shlibpath_var=$shlibpath_var
17345 # Is shlibpath searched before the hard-coded library search path?
17346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17348 # Format of library name prefix.
17349 libname_spec=$lt_libname_spec
17351 # List of archive names. First name is the real one, the rest are links.
17352 # The last name is the one that the linker finds with -lNAME
17353 library_names_spec=$lt_library_names_spec
17355 # The coded name of the library, if different from the real name.
17356 soname_spec=$lt_soname_spec
17358 # Permission mode override for installation of shared libraries.
17359 install_override_mode=$lt_install_override_mode
17361 # Command to use after installation of a shared archive.
17362 postinstall_cmds=$lt_postinstall_cmds
17364 # Command to use after uninstallation of a shared archive.
17365 postuninstall_cmds=$lt_postuninstall_cmds
17367 # Commands used to finish a libtool library installation in a directory.
17368 finish_cmds=$lt_finish_cmds
17370 # As "finish_cmds", except a single script fragment to be evaled but
17372 finish_eval=$lt_finish_eval
17374 # Whether we should hardcode library paths into libraries.
17375 hardcode_into_libs=$hardcode_into_libs
17377 # Compile-time system search path for libraries.
17378 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17380 # Run-time system search path for libraries.
17381 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17383 # Whether dlopen is supported.
17384 dlopen_support=$enable_dlopen
17386 # Whether dlopen of programs is supported.
17387 dlopen_self=$enable_dlopen_self
17389 # Whether dlopen of statically linked programs is supported.
17390 dlopen_self_static=$enable_dlopen_self_static
17392 # Commands to strip libraries.
17393 old_striplib=$lt_old_striplib
17394 striplib=$lt_striplib
17397 # The linker used to build libraries.
17400 # How to create reloadable object files.
17401 reload_flag=$lt_reload_flag
17402 reload_cmds=$lt_reload_cmds
17404 # Commands used to build an old-style archive.
17405 old_archive_cmds=$lt_old_archive_cmds
17407 # A language specific compiler.
17410 # Is the compiler the GNU compiler?
17413 # Compiler flag to turn off builtin functions.
17414 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17416 # How to pass a linker flag through the compiler.
17417 wl=$lt_lt_prog_compiler_wl
17419 # Additional compiler flags for building library objects.
17420 pic_flag=$lt_lt_prog_compiler_pic
17422 # Compiler flag to prevent dynamic linking.
17423 link_static_flag=$lt_lt_prog_compiler_static
17425 # Does compiler simultaneously support -c and -o options?
17426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17428 # Whether or not to add -lc for building shared libraries.
17429 build_libtool_need_lc=$archive_cmds_need_lc
17431 # Whether or not to disallow shared libs when runtime libs are static.
17432 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17434 # Compiler flag to allow reflexive dlopens.
17435 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17437 # Compiler flag to generate shared objects directly from archives.
17438 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17440 # Whether the compiler copes with passing no objects directly.
17441 compiler_needs_object=$lt_compiler_needs_object
17443 # Create an old-style archive from a shared archive.
17444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17446 # Create a temporary old-style archive to link instead of a shared archive.
17447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17449 # Commands used to build a shared archive.
17450 archive_cmds=$lt_archive_cmds
17451 archive_expsym_cmds=$lt_archive_expsym_cmds
17453 # Commands used to build a loadable module if different from building
17454 # a shared archive.
17455 module_cmds=$lt_module_cmds
17456 module_expsym_cmds=$lt_module_expsym_cmds
17458 # Whether we are building with GNU ld or not.
17459 with_gnu_ld=$lt_with_gnu_ld
17461 # Flag that allows shared libraries with undefined symbols to be built.
17462 allow_undefined_flag=$lt_allow_undefined_flag
17464 # Flag that enforces no undefined symbols.
17465 no_undefined_flag=$lt_no_undefined_flag
17467 # Flag to hardcode \$libdir into a binary during linking.
17468 # This must work even if \$libdir does not exist
17469 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17471 # If ld is used when linking, flag to hardcode \$libdir into a binary
17472 # during linking. This must work even if \$libdir does not exist.
17473 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17475 # Whether we need a single "-rpath" flag with a separated argument.
17476 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17478 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17479 # DIR into the resulting binary.
17480 hardcode_direct=$hardcode_direct
17482 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17483 # DIR into the resulting binary and the resulting library dependency is
17484 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17485 # library is relocated.
17486 hardcode_direct_absolute=$hardcode_direct_absolute
17488 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17489 # into the resulting binary.
17490 hardcode_minus_L=$hardcode_minus_L
17492 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17493 # into the resulting binary.
17494 hardcode_shlibpath_var=$hardcode_shlibpath_var
17496 # Set to "yes" if building a shared library automatically hardcodes DIR
17497 # into the library and all subsequent libraries and executables linked
17499 hardcode_automatic=$hardcode_automatic
17501 # Set to yes if linker adds runtime paths of dependent libraries
17502 # to runtime path list.
17503 inherit_rpath=$inherit_rpath
17505 # Whether libtool must link a program against all its dependency libraries.
17506 link_all_deplibs=$link_all_deplibs
17508 # Fix the shell variable \$srcfile for the compiler.
17509 fix_srcfile_path=$lt_fix_srcfile_path
17511 # Set to "yes" if exported symbols are required.
17512 always_export_symbols=$always_export_symbols
17514 # The commands to list exported symbols.
17515 export_symbols_cmds=$lt_export_symbols_cmds
17517 # Symbols that should not be listed in the preloaded symbols.
17518 exclude_expsyms=$lt_exclude_expsyms
17520 # Symbols that must always be exported.
17521 include_expsyms=$lt_include_expsyms
17523 # Commands necessary for linking programs (against libraries) with templates.
17524 prelink_cmds=$lt_prelink_cmds
17526 # Specify filename containing input files.
17527 file_list_spec=$lt_file_list_spec
17529 # How to hardcode a shared library path into an executable.
17530 hardcode_action=$hardcode_action
17532 # ### END LIBTOOL CONFIG
17538 cat <<\_LT_EOF
>> "$cfgfile"
17539 # AIX sometimes has problems with the GCC collect2 program. For some
17540 # reason, if we set the COLLECT_NAMES environment variable, the problems
17541 # vanish in a puff of smoke.
17542 if test "X${COLLECT_NAMES+set}" != Xset
; then
17544 export COLLECT_NAMES
17551 ltmain
="$ac_aux_dir/ltmain.sh"
17554 # We use sed instead of cat because bash on DJGPP gets confused if
17555 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17556 # text mode, it properly converts lines to CR/LF. This bash problem
17557 # is reportedly fixed, but why not run on old versions too?
17558 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17559 ||
(rm -f "$cfgfile"; exit 1)
17563 cat << \_LT_EOF
>> "$cfgfile"
17565 # func_dirname file append nondir_replacement
17566 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17567 # otherwise set result to NONDIR_REPLACEMENT.
17571 */*) func_dirname_result
="${1%/*}${2}" ;;
17572 * ) func_dirname_result
="${3}" ;;
17576 # func_basename file
17579 func_basename_result
="${1##*/}"
17582 # func_dirname_and_basename file append nondir_replacement
17583 # perform func_basename and func_dirname in a single function
17585 # dirname: Compute the dirname of FILE. If nonempty,
17586 # add APPEND to the result, otherwise set result
17587 # to NONDIR_REPLACEMENT.
17588 # value returned in "$func_dirname_result"
17589 # basename: Compute filename of FILE.
17590 # value retuned in "$func_basename_result"
17591 # Implementation must be kept synchronized with func_dirname
17592 # and func_basename. For efficiency, we do not delegate to
17593 # those functions but instead duplicate the functionality here.
17594 func_dirname_and_basename
()
17597 */*) func_dirname_result
="${1%/*}${2}" ;;
17598 * ) func_dirname_result
="${3}" ;;
17600 func_basename_result
="${1##*/}"
17603 # func_stripname prefix suffix name
17604 # strip PREFIX and SUFFIX off of NAME.
17605 # PREFIX and SUFFIX must not contain globbing or regex special
17606 # characters, hashes, percent signs, but SUFFIX may contain a leading
17607 # dot (in which case that matches only a dot).
17610 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17611 # positional parameters, so assign one to ordinary parameter first.
17612 func_stripname_result
=${3}
17613 func_stripname_result
=${func_stripname_result#"${1}"}
17614 func_stripname_result
=${func_stripname_result%"${2}"}
17620 func_opt_split_opt
=${1%%=*}
17621 func_opt_split_arg
=${1#*=}
17628 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17629 *) func_lo2o_result
=${1} ;;
17633 # func_xform libobj-or-source
17636 func_xform_result
=${1%.*}.lo
17639 # func_arith arithmetic-term...
17642 func_arith_result
=$
(( $
* ))
17646 # STRING may not start with a hyphen.
17649 func_len_result
=${#1}
17654 *) # Bourne compatible functions.
17655 cat << \_LT_EOF
>> "$cfgfile"
17657 # func_dirname file append nondir_replacement
17658 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17659 # otherwise set result to NONDIR_REPLACEMENT.
17662 # Extract subdirectory from the argument.
17663 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17664 if test "X$func_dirname_result" = "X${1}"; then
17665 func_dirname_result
="${3}"
17667 func_dirname_result
="$func_dirname_result${2}"
17671 # func_basename file
17674 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17678 # func_stripname prefix suffix name
17679 # strip PREFIX and SUFFIX off of NAME.
17680 # PREFIX and SUFFIX must not contain globbing or regex special
17681 # characters, hashes, percent signs, but SUFFIX may contain a leading
17682 # dot (in which case that matches only a dot).
17683 # func_strip_suffix prefix name
17687 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17688 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17693 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17694 my_sed_long_arg
='1s/^-[^=]*=//'
17699 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17700 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17706 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17709 # func_xform libobj-or-source
17712 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17715 # func_arith arithmetic-term...
17718 func_arith_result
=`expr "$@"`
17722 # STRING may not start with a hyphen.
17725 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17731 case $lt_shell_append in
17733 cat << \_LT_EOF
>> "$cfgfile"
17735 # func_append var value
17736 # Append VALUE to the end of shell variable VAR.
17744 cat << \_LT_EOF
>> "$cfgfile"
17746 # func_append var value
17747 # Append VALUE to the end of shell variable VAR.
17758 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17759 ||
(rm -f "$cfgfile"; exit 1)
17761 mv -f "$cfgfile" "$ofile" ||
17762 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17766 cat <<_LT_EOF >> "$ofile"
17768 # ### BEGIN LIBTOOL TAG CONFIG: GO
17770 # The linker used to build libraries.
17773 # How to create reloadable object files.
17774 reload_flag=$lt_reload_flag_GO
17775 reload_cmds=$lt_reload_cmds_GO
17777 # Commands used to build an old-style archive.
17778 old_archive_cmds=$lt_old_archive_cmds_GO
17780 # A language specific compiler.
17783 # Is the compiler the GNU compiler?
17786 # Compiler flag to turn off builtin functions.
17787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
17789 # How to pass a linker flag through the compiler.
17790 wl=$lt_lt_prog_compiler_wl_GO
17792 # Additional compiler flags for building library objects.
17793 pic_flag=$lt_lt_prog_compiler_pic_GO
17795 # Compiler flag to prevent dynamic linking.
17796 link_static_flag=$lt_lt_prog_compiler_static_GO
17798 # Does compiler simultaneously support -c and -o options?
17799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
17801 # Whether or not to add -lc for building shared libraries.
17802 build_libtool_need_lc=$archive_cmds_need_lc_GO
17804 # Whether or not to disallow shared libs when runtime libs are static.
17805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
17807 # Compiler flag to allow reflexive dlopens.
17808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
17810 # Compiler flag to generate shared objects directly from archives.
17811 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
17813 # Whether the compiler copes with passing no objects directly.
17814 compiler_needs_object=$lt_compiler_needs_object_GO
17816 # Create an old-style archive from a shared archive.
17817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
17819 # Create a temporary old-style archive to link instead of a shared archive.
17820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
17822 # Commands used to build a shared archive.
17823 archive_cmds=$lt_archive_cmds_GO
17824 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
17826 # Commands used to build a loadable module if different from building
17827 # a shared archive.
17828 module_cmds=$lt_module_cmds_GO
17829 module_expsym_cmds=$lt_module_expsym_cmds_GO
17831 # Whether we are building with GNU ld or not.
17832 with_gnu_ld=$lt_with_gnu_ld_GO
17834 # Flag that allows shared libraries with undefined symbols to be built.
17835 allow_undefined_flag=$lt_allow_undefined_flag_GO
17837 # Flag that enforces no undefined symbols.
17838 no_undefined_flag=$lt_no_undefined_flag_GO
17840 # Flag to hardcode \$libdir into a binary during linking.
17841 # This must work even if \$libdir does not exist
17842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
17844 # If ld is used when linking, flag to hardcode \$libdir into a binary
17845 # during linking. This must work even if \$libdir does not exist.
17846 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
17848 # Whether we need a single "-rpath" flag with a separated argument.
17849 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
17851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17852 # DIR into the resulting binary.
17853 hardcode_direct=$hardcode_direct_GO
17855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17856 # DIR into the resulting binary and the resulting library dependency is
17857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17858 # library is relocated.
17859 hardcode_direct_absolute=$hardcode_direct_absolute_GO
17861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17862 # into the resulting binary.
17863 hardcode_minus_L=$hardcode_minus_L_GO
17865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17866 # into the resulting binary.
17867 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
17869 # Set to "yes" if building a shared library automatically hardcodes DIR
17870 # into the library and all subsequent libraries and executables linked
17872 hardcode_automatic=$hardcode_automatic_GO
17874 # Set to yes if linker adds runtime paths of dependent libraries
17875 # to runtime path list.
17876 inherit_rpath=$inherit_rpath_GO
17878 # Whether libtool must link a program against all its dependency libraries.
17879 link_all_deplibs=$link_all_deplibs_GO
17881 # Fix the shell variable \$srcfile for the compiler.
17882 fix_srcfile_path=$lt_fix_srcfile_path_GO
17884 # Set to "yes" if exported symbols are required.
17885 always_export_symbols=$always_export_symbols_GO
17887 # The commands to list exported symbols.
17888 export_symbols_cmds=$lt_export_symbols_cmds_GO
17890 # Symbols that should not be listed in the preloaded symbols.
17891 exclude_expsyms=$lt_exclude_expsyms_GO
17893 # Symbols that must always be exported.
17894 include_expsyms=$lt_include_expsyms_GO
17896 # Commands necessary for linking programs (against libraries) with templates.
17897 prelink_cmds=$lt_prelink_cmds_GO
17899 # Specify filename containing input files.
17900 file_list_spec=$lt_file_list_spec_GO
17902 # How to hardcode a shared library path into an executable.
17903 hardcode_action=$hardcode_action_GO
17905 # ### END LIBTOOL TAG CONFIG: GO
17909 "default":C
) if test -n "$CONFIG_FILES"; then
17910 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17911 # that multilib installs will end up installed in the correct place.
17912 # The testsuite needs it for multilib-aware ABI baseline files.
17913 # To work around this not being passed down from config-ml.in ->
17914 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
17915 # append it here. Only modify Makefiles that have just been created.
17917 # Also, get rid of this simulated-VPATH thing that automake does.
17918 cat > vpsed
<< \_EOF
17919 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17921 for i
in $SUBDIRS; do
17922 case $CONFIG_FILES in
17924 #echo "Adding MULTISUBDIR to $i/Makefile"
17925 sed -f vpsed
$i/Makefile
> tmp
17926 grep '^MULTISUBDIR =' Makefile
>> tmp
17941 ac_clean_files
=$ac_clean_files_save
17943 test $ac_write_fail = 0 ||
17944 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17947 # configure is writing to config.log, and then calls config.status.
17948 # config.status does its own redirection, appending to config.log.
17949 # Unfortunately, on DOS this fails, as config.log is still kept open
17950 # by configure, so config.status won't be able to write to it; its
17951 # output is simply discarded. So we exec the FD to /dev/null,
17952 # effectively closing config.log, so it can be properly (re)opened and
17953 # appended to by config.status. When coming back to configure, we
17954 # need to make the FD available again.
17955 if test "$no_create" != yes; then
17957 ac_config_status_args
=
17958 test "$silent" = yes &&
17959 ac_config_status_args
="$ac_config_status_args --quiet"
17961 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17963 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17964 # would make configure fail if this is the last instruction.
17965 $ac_cs_success || as_fn_exit $?
17967 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17969 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}