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
606 HAVE_SYS_MMAN_H_FALSE
610 USING_SPLIT_STACK_FALSE
611 USING_SPLIT_STACK_TRUE
615 LIBGO_IS_X86_64_FALSE
623 LIBGO_IS_FREEBSD_FALSE
624 LIBGO_IS_FREEBSD_TRUE
625 LIBGO_IS_DARWIN_FALSE
629 glibgo_toolexeclibdir
657 MAINTAINER_MODE_FALSE
685 INSTALL_STRIP_PROGRAM
741 program_transform_name
754 enable_option_checking
756 enable_dependency_tracking
757 enable_maintainer_mode
764 enable_version_specific_runtime_libs
766 with_system_libunwind
768 ac_precious_vars
='build_alias
775 # Initialize some variables set by options.
777 ac_init_version
=false
778 ac_unrecognized_opts
=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
789 program_transform_name
=s
,x
,x
,
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir
='${exec_prefix}/bin'
804 sbindir
='${exec_prefix}/sbin'
805 libexecdir
='${exec_prefix}/libexec'
806 datarootdir
='${prefix}/share'
807 datadir
='${datarootdir}'
808 sysconfdir
='${prefix}/etc'
809 sharedstatedir
='${prefix}/com'
810 localstatedir
='${prefix}/var'
811 includedir
='${prefix}/include'
812 oldincludedir
='/usr/include'
813 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
814 infodir
='${datarootdir}/info'
819 libdir
='${exec_prefix}/lib'
820 localedir
='${datarootdir}/locale'
821 mandir
='${datarootdir}/man'
827 # If the previous option needs an argument, assign it.
828 if test -n "$ac_prev"; then
829 eval $ac_prev=\
$ac_option
835 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 # Accept the important Cygnus configure options, so we can diagnose typos.
841 case $ac_dashdash$ac_option in
845 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
847 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
850 -build |
--build |
--buil |
--bui |
--bu)
851 ac_prev
=build_alias
;;
852 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
853 build_alias
=$ac_optarg ;;
855 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
856 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
857 ac_prev
=cache_file
;;
858 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
859 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
860 cache_file
=$ac_optarg ;;
863 cache_file
=config.cache
;;
865 -datadir |
--datadir |
--datadi |
--datad)
867 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
868 datadir
=$ac_optarg ;;
870 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
871 |
--dataroo |
--dataro |
--datar)
872 ac_prev
=datarootdir
;;
873 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
874 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
875 datarootdir
=$ac_optarg ;;
877 -disable-* |
--disable-*)
878 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
881 as_fn_error
"invalid feature name: $ac_useropt"
882 ac_useropt_orig
=$ac_useropt
883 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
888 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
889 ac_unrecognized_sep
=', ';;
891 eval enable_
$ac_useropt=no
;;
893 -docdir |
--docdir |
--docdi |
--doc |
--do)
895 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
898 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
900 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
903 -enable-* |
--enable-*)
904 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
907 as_fn_error
"invalid feature name: $ac_useropt"
908 ac_useropt_orig
=$ac_useropt
909 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
915 ac_unrecognized_sep
=', ';;
917 eval enable_
$ac_useropt=\
$ac_optarg ;;
919 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
920 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
921 |
--exec |
--exe |
--ex)
922 ac_prev
=exec_prefix
;;
923 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
924 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
925 |
--exec=* |
--exe=* |
--ex=*)
926 exec_prefix
=$ac_optarg ;;
928 -gas |
--gas |
--ga |
--g)
929 # Obsolete; use --with-gas.
932 -help |
--help |
--hel |
--he |
-h)
934 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
935 ac_init_help
=recursive
;;
936 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
937 ac_init_help
=short
;;
939 -host |
--host |
--hos |
--ho)
940 ac_prev
=host_alias
;;
941 -host=* |
--host=* |
--hos=* |
--ho=*)
942 host_alias
=$ac_optarg ;;
944 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
946 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
948 htmldir
=$ac_optarg ;;
950 -includedir |
--includedir |
--includedi |
--included |
--include \
951 |
--includ |
--inclu |
--incl |
--inc)
952 ac_prev
=includedir
;;
953 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
954 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
955 includedir
=$ac_optarg ;;
957 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
959 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
960 infodir
=$ac_optarg ;;
962 -libdir |
--libdir |
--libdi |
--libd)
964 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
967 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
968 |
--libexe |
--libex |
--libe)
969 ac_prev
=libexecdir
;;
970 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
971 |
--libexe=* |
--libex=* |
--libe=*)
972 libexecdir
=$ac_optarg ;;
974 -localedir |
--localedir |
--localedi |
--localed |
--locale)
976 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
977 localedir
=$ac_optarg ;;
979 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
980 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
981 ac_prev
=localstatedir
;;
982 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
983 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
984 localstatedir
=$ac_optarg ;;
986 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
988 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
992 # Obsolete; use --without-fp.
995 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
996 |
--no-cr |
--no-c |
-n)
999 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1000 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1003 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1004 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1005 |
--oldin |
--oldi |
--old |
--ol |
--o)
1006 ac_prev
=oldincludedir
;;
1007 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1008 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1009 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1010 oldincludedir
=$ac_optarg ;;
1012 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1014 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1015 prefix
=$ac_optarg ;;
1017 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1018 |
--program-pre |
--program-pr |
--program-p)
1019 ac_prev
=program_prefix
;;
1020 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1021 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1022 program_prefix
=$ac_optarg ;;
1024 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1025 |
--program-suf |
--program-su |
--program-s)
1026 ac_prev
=program_suffix
;;
1027 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1028 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1029 program_suffix
=$ac_optarg ;;
1031 -program-transform-name |
--program-transform-name \
1032 |
--program-transform-nam |
--program-transform-na \
1033 |
--program-transform-n |
--program-transform- \
1034 |
--program-transform |
--program-transfor \
1035 |
--program-transfo |
--program-transf \
1036 |
--program-trans |
--program-tran \
1037 |
--progr-tra |
--program-tr |
--program-t)
1038 ac_prev
=program_transform_name
;;
1039 -program-transform-name=* |
--program-transform-name=* \
1040 |
--program-transform-nam=* |
--program-transform-na=* \
1041 |
--program-transform-n=* |
--program-transform-=* \
1042 |
--program-transform=* |
--program-transfor=* \
1043 |
--program-transfo=* |
--program-transf=* \
1044 |
--program-trans=* |
--program-tran=* \
1045 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1046 program_transform_name
=$ac_optarg ;;
1048 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1050 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1051 pdfdir
=$ac_optarg ;;
1053 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1055 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1059 |
-silent |
--silent |
--silen |
--sile |
--sil)
1062 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1064 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1066 sbindir
=$ac_optarg ;;
1068 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1069 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1070 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1072 ac_prev
=sharedstatedir
;;
1073 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1074 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1075 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1077 sharedstatedir
=$ac_optarg ;;
1079 -site |
--site |
--sit)
1081 -site=* |
--site=* |
--sit=*)
1084 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1086 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1087 srcdir
=$ac_optarg ;;
1089 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1090 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1091 ac_prev
=sysconfdir
;;
1092 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1093 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1094 sysconfdir
=$ac_optarg ;;
1096 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1097 ac_prev
=target_alias
;;
1098 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1099 target_alias
=$ac_optarg ;;
1101 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1104 -version |
--version |
--versio |
--versi |
--vers |
-V)
1105 ac_init_version
=: ;;
1108 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1111 as_fn_error
"invalid package name: $ac_useropt"
1112 ac_useropt_orig
=$ac_useropt
1113 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1118 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1119 ac_unrecognized_sep
=', ';;
1121 eval with_
$ac_useropt=\
$ac_optarg ;;
1123 -without-* |
--without-*)
1124 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1127 as_fn_error
"invalid package name: $ac_useropt"
1128 ac_useropt_orig
=$ac_useropt
1129 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1135 ac_unrecognized_sep
=', ';;
1137 eval with_
$ac_useropt=no
;;
1140 # Obsolete; use --with-x.
1143 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1144 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1145 ac_prev
=x_includes
;;
1146 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1147 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1148 x_includes
=$ac_optarg ;;
1150 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1151 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1152 ac_prev
=x_libraries
;;
1153 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1154 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1155 x_libraries
=$ac_optarg ;;
1157 -*) as_fn_error
"unrecognized option: \`$ac_option'
1158 Try \`$0 --help' for more information."
1162 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1163 # Reject names that are not valid shell variable names.
1164 case $ac_envvar in #(
1165 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1166 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1168 eval $ac_envvar=\
$ac_optarg
1169 export $ac_envvar ;;
1172 # FIXME: should be removed in autoconf 3.0.
1173 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1174 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1175 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1176 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1182 if test -n "$ac_prev"; then
1183 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1184 as_fn_error
"missing argument to $ac_option"
1187 if test -n "$ac_unrecognized_opts"; then
1188 case $enable_option_checking in
1190 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1191 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195 # Check all directory arguments for consistency.
1196 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1197 datadir sysconfdir sharedstatedir localstatedir includedir \
1198 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1199 libdir localedir mandir
1201 eval ac_val
=\$
$ac_var
1202 # Remove trailing slashes.
1205 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1206 eval $ac_var=\
$ac_val;;
1208 # Be sure to have absolute directory names.
1210 [\\/$
]* | ?
:[\\/]* ) continue;;
1211 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1213 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1216 # There might be people who depend on the old broken behavior: `$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1221 target
=$target_alias
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x
; then
1225 if test "x$build_alias" = x
; then
1226 cross_compiling
=maybe
1227 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used." >&2
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1237 test "$silent" = yes && exec 6>/dev
/null
1240 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di
=`ls -di .` &&
1242 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1243 as_fn_error
"working directory cannot be determined"
1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1245 as_fn_error
"pwd does not report name of working directory"
1248 # Find the source files, if location was not specified.
1249 if test -z "$srcdir"; then
1250 ac_srcdir_defaulted
=yes
1251 # Try the directory containing this script, then the parent directory.
1252 ac_confdir
=`$as_dirname -- "$as_myself" ||
1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1254 X"$as_myself" : 'X\(//\)[^/]' \| \
1255 X"$as_myself" : 'X\(//\)$' \| \
1256 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1257 $as_echo X"$as_myself" |
1258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1280 ac_srcdir_defaulted
=no
1282 if test ! -r "$srcdir/$ac_unique_file"; then
1283 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1284 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1286 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1290 # When building in place, set srcdir=.
1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294 # Remove unnecessary trailing slashes from srcdir.
1295 # Double slashes in file names in object file debugging info
1296 # mess up M-x gdb in Emacs.
1298 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 for ac_var
in $ac_precious_vars; do
1301 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1302 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1303 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1304 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1308 # Report the --help message.
1310 if test "$ac_init_help" = "long"; then
1311 # Omit some internal or obsolete options to make the list less imposing.
1312 # This message is too long to be a string in the A/UX 3.1 sh.
1314 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1316 Usage: $0 [OPTION]... [VAR=VALUE]...
1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1319 VAR=VALUE. See below for descriptions of some of the useful variables.
1321 Defaults for the options are specified in brackets.
1324 -h, --help display this help and exit
1325 --help=short display options specific to this package
1326 --help=recursive display the short help of all the included packages
1327 -V, --version display version information and exit
1328 -q, --quiet, --silent do not print \`checking...' messages
1329 --cache-file=FILE cache test results in FILE [disabled]
1330 -C, --config-cache alias for \`--cache-file=config.cache'
1331 -n, --no-create do not create output files
1332 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1334 Installation directories:
1335 --prefix=PREFIX install architecture-independent files in PREFIX
1336 [$ac_default_prefix]
1337 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 By default, \`make install' will install all the files in
1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1343 for instance \`--prefix=\$HOME'.
1345 For better control, use the options below.
1347 Fine tuning of the installation directories:
1348 --bindir=DIR user executables [EPREFIX/bin]
1349 --sbindir=DIR system admin executables [EPREFIX/sbin]
1350 --libexecdir=DIR program executables [EPREFIX/libexec]
1351 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1352 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1353 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1354 --libdir=DIR object code libraries [EPREFIX/lib]
1355 --includedir=DIR C header files [PREFIX/include]
1356 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1357 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1358 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1359 --infodir=DIR info documentation [DATAROOTDIR/info]
1360 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1361 --mandir=DIR man documentation [DATAROOTDIR/man]
1362 --docdir=DIR documentation root [DATAROOTDIR/doc/libgo]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
1372 --program-prefix=PREFIX prepend PREFIX to installed program names
1373 --program-suffix=SUFFIX append SUFFIX to installed program names
1374 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1377 --build=BUILD configure
for building on BUILD
[guessed
]
1378 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1379 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive
) echo "Configuration of package-unused version-unused:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-multilib build many library versions
(default
)
1394 --disable-dependency-tracking speeds up one-time build
1395 --enable-dependency-tracking do not reject slow dependency extractors
1396 --enable-maintainer-mode enable make rules and dependencies not useful
1397 (and sometimes confusing
) to the casual installer
1398 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1399 --enable-static[=PKGS
] build static libraries
[default
=yes]
1400 --enable-fast-install[=PKGS
]
1401 optimize
for fast installation
[default
=yes]
1402 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1403 --enable-version-specific-runtime-libs
1404 Specify that runtime libraries should be installed
1405 in a compiler-specific directory
1408 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1409 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1410 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1411 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1413 --without-libffi don
't use libffi
1414 --with-system-libunwind use installed libunwind
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 GOC Go compiler command
1425 GOCFLAGS Go compiler flags
1428 Use these variables to override the choices made by `configure' or to
help
1429 it to
find libraries and programs with nonstandard names
/locations.
1431 Report bugs to the package provider.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1439 test -d "$ac_dir" ||
1440 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir
=$ac_pwd
1456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir
=$ac_top_build_prefix
1461 .
) # We are building in place.
1463 ac_top_srcdir
=$ac_top_builddir_sub
1464 ac_abs_top_srcdir
=$ac_pwd ;;
1465 [\\/]* | ?
:[\\/]* ) # Absolute name.
1466 ac_srcdir
=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir
=$srcdir
1468 ac_abs_top_srcdir
=$srcdir ;;
1470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1494 package-unused configure version-unused
1495 generated by GNU Autoconf
2.64
1497 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1498 This configure
script is free software
; the Free Software Foundation
1499 gives unlimited permission to copy
, distribute and modify it.
1504 ## ------------------------ ##
1505 ## Autoconf initialization. ##
1506 ## ------------------------ ##
1508 # ac_fn_c_try_compile LINENO
1509 # --------------------------
1510 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1511 ac_fn_c_try_compile
()
1513 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1514 rm -f conftest.
$ac_objext
1515 if { { ac_try
="$ac_compile"
1517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1518 *) ac_try_echo=$ac_try;;
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_compile") 2>conftest.err
1524 if test -s conftest.err; then
1525 grep -v '^ *+' conftest.err >conftest.er1
1526 cat conftest.er1 >&5
1527 mv -f conftest.er1 conftest.err
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530 test $ac_status = 0; } && {
1531 test -z "$ac_c_werror_flag" ||
1532 test ! -s conftest.err
1533 } && test -s conftest.$ac_objext; then :
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.$ac_ext >&5
1541 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1544 } # ac_fn_c_try_compile
1546 # ac_fn_c_try_link LINENO
1547 # -----------------------
1548 # Try to link conftest.$ac_ext, and return whether this succeeded.
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 rm -f conftest.$ac_objext conftest$ac_exeext
1553 if { { ac_try="$ac_link"
1555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1556 *) ac_try_echo
=$ac_try;;
1558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_link") 2>conftest.err
1562 if test -s conftest.err
; then
1563 grep -v '^ *+' conftest.err
>conftest.er1
1564 cat conftest.er1
>&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && {
1569 test -z "$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 } && test -s conftest
$ac_exeext && {
1572 test "$cross_compiling" = yes ||
1573 $as_test_x conftest
$ac_exeext
1577 $as_echo "$as_me: failed program was:" >&5
1578 sed 's/^/| /' conftest.
$ac_ext >&5
1582 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1583 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1584 # interfere with the next link command; also delete a directory that is
1585 # left behind by Apple's compiler. We do this before executing the actions.
1586 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1587 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1590 } # ac_fn_c_try_link
1592 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1593 # -------------------------------------------------------
1594 # Tests whether HEADER exists and can be compiled using the include files in
1595 # INCLUDES, setting the cache variable VAR accordingly.
1596 ac_fn_c_check_header_compile
()
1598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1602 $as_echo_n "(cached) " >&6
1604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1609 if ac_fn_c_try_compile
"$LINENO"; then :
1614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1621 } # ac_fn_c_check_header_compile
1623 # ac_fn_c_try_cpp LINENO
1624 # ----------------------
1625 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } >/dev/null && {
1645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1650 $as_echo "$as_me: failed program was:" >&5
1651 sed 's/^/| /' conftest.$ac_ext >&5
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1660 # ac_fn_c_try_run LINENO
1661 # ----------------------
1662 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1663 # that executables *can* be run.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if { { ac_try="$ac_link"
1669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_link") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1678 { { case "(($ac_try" in
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_try") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; }; }; then :
1690 $as_echo "$as_me: program exited with status $ac_status" >&5
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1694 ac_retval=$ac_status
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 # ac_fn_c_check_func LINENO FUNC VAR
1703 # ----------------------------------
1704 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1705 ac_fn_c_check_func ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711 $as_echo_n "(cached) " >&6
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1715 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1717 #define $2 innocuous_$2
1719 /* System header to define __stub macros and hopefully few prototypes,
1720 which can conflict with char $2 (); below.
1721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1722 <limits.h> exists even on freestanding compilers. */
1725 # include <limits.h>
1727 # include <assert.h>
1732 /* Override any GCC internal prototype to avoid an error.
1733 Use char because int might match the return type of a GCC
1734 builtin and then its argument prototype would still apply. */
1739 /* The GNU C library defines this for functions which it implements
1740 to always fail with ENOSYS. Some functions are actually named
1741 something starting with __ and the normal name is an alias. */
1742 #if defined __stub_$2 || defined __stub___$2
1754 if ac_fn_c_try_link "$LINENO"; then :
1759 rm -f core conftest.err conftest.$ac_objext \
1760 conftest$ac_exeext conftest.$ac_ext
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1767 } # ac_fn_c_check_func
1769 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1770 # -------------------------------------------------------
1771 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1772 # the include files in INCLUDES and setting the cache variable VAR
1774 ac_fn_c_check_header_mongrel ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781 $as_echo_n "(cached) " >&6
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1787 # Is the header compilable?
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1789 $as_echo_n "checking $2 usability... " >&6; }
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1795 if ac_fn_c_try_compile "$LINENO"; then :
1796 ac_header_compiler=yes
1798 ac_header_compiler=no
1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1802 $as_echo "$ac_header_compiler" >&6; }
1804 # Is the header present?
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1806 $as_echo_n "checking $2 presence... " >&6; }
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1811 if ac_fn_c_try_cpp "$LINENO"; then :
1812 ac_header_preproc=yes
1814 ac_header_preproc=no
1816 rm -f conftest.err conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1818 $as_echo "$ac_header_preproc" >&6; }
1820 # So? What about this header?
1821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1824 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1826 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1830 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1832 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1834 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1836 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1846 eval "$3=\$ac_header_compiler"
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854 } # ac_fn_c_check_header_mongrel
1856 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1857 # -------------------------------------------
1858 # Tests whether TYPE exists after having included INCLUDES, setting cache
1859 # variable VAR accordingly.
1860 ac_fn_c_check_type ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1866 $as_echo_n "(cached) " >&6
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1881 if ac_fn_c_try_compile "$LINENO"; then :
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1894 if ac_fn_c_try_compile "$LINENO"; then :
1899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $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_type
1909 cat >config.log <<_ACEOF
1910 This file contains any messages produced by compilers while
1911 running configure, to aid debugging if configure makes a mistake.
1913 It was created by package-unused $as_me version-unused, which was
1914 generated by GNU Autoconf 2.64. Invocation command line was
1926 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1927 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1928 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1929 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1930 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1932 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1933 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1935 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1936 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1937 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1938 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1939 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1940 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1941 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1949 test -z "$as_dir" && as_dir=.
1950 $as_echo "PATH: $as_dir"
1966 # Keep a trace of the command line.
1967 # Strip out --no-create and --no-recursion so they do not pile up.
1968 # Strip out --silent because we don't want to record it for future runs.
1969 # Also quote any args containing shell meta-characters.
1970 # Make two passes to allow for proper duplicate-argument suppression.
1974 ac_must_keep_next=false
1980 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1982 | -silent | --silent | --silen | --sile | --sil)
1985 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1988 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1990 as_fn_append ac_configure_args1 " '$ac_arg'"
1991 if test $ac_must_keep_next = true; then
1992 ac_must_keep_next=false # Got value, back to normal.
1995 *=* | --config-cache | -C | -disable-* | --disable-* \
1996 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1997 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1998 | -with-* | --with-* | -without-* | --without-* | --x)
1999 case "$ac_configure_args0 " in
2000 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2003 -* ) ac_must_keep_next=true ;;
2006 as_fn_append ac_configure_args " '$ac_arg'"
2011 { ac_configure_args0=; unset ac_configure_args0;}
2012 { ac_configure_args1=; unset ac_configure_args1;}
2014 # When interrupted or exit'd, cleanup temporary files, and complete
2015 # config.log. We remove comments because anyway the quotes in there
2016 # would cause problems or look ugly.
2017 # WARNING: Use '\'' to represent an apostrophe within the trap.
2018 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2019 trap 'exit_status=$?
2020 # Save into config.log some information that might help in debugging.
2025 ## ---------------- ##
2026 ## Cache variables. ##
2027 ## ---------------- ##
2030 # The following way of writing the cache mishandles newlines in values,
2032 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2033 eval ac_val=\$$ac_var
2037 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2041 _ | IFS | as_nl) ;; #(
2042 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2043 *) { eval $ac_var=; unset $ac_var;} ;;
2048 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2049 *${as_nl}ac_space=\ *)
2051 "s/'\''/'\''\\\\'\'''\''/g;
2052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2063 ## ----------------- ##
2064 ## Output variables. ##
2065 ## ----------------- ##
2068 for ac_var in $ac_subst_vars
2070 eval ac_val=\$$ac_var
2072 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2074 $as_echo "$ac_var='\''$ac_val'\''"
2078 if test -n "$ac_subst_files"; then
2080 ## ------------------- ##
2081 ## File substitutions. ##
2082 ## ------------------- ##
2085 for ac_var in $ac_subst_files
2087 eval ac_val=\$$ac_var
2089 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -s confdefs.h; then
2106 test "$ac_signal" != 0 &&
2107 $as_echo "$as_me: caught signal $ac_signal"
2108 $as_echo "$as_me: exit $exit_status"
2110 rm -f core *.core core.conftest.* &&
2111 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2114 for ac_signal in 1 2 13 15; do
2115 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2119 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2120 rm -f -r conftest* confdefs.h
2122 $as_echo "/* confdefs.h */" > confdefs.h
2124 # Predefined preprocessor variables.
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_NAME "$PACKAGE_NAME"
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_STRING "$PACKAGE_STRING"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_URL "$PACKAGE_URL"
2151 # Let the site file select an alternate cache file if it wants to.
2152 # Prefer an explicitly selected file to automatically selected ones.
2155 if test -n "$CONFIG_SITE"; then
2156 ac_site_file1=$CONFIG_SITE
2157 elif test "x$prefix" != xNONE; then
2158 ac_site_file1=$prefix/share/config.site
2159 ac_site_file2=$prefix/etc/config.site
2161 ac_site_file1=$ac_default_prefix/share/config.site
2162 ac_site_file2=$ac_default_prefix/etc/config.site
2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2166 test "x$ac_site_file" = xNONE && continue
2167 if test -r "$ac_site_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2169 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2170 sed 's/^/| /' "$ac_site_file" >&5
2175 if test -r "$cache_file"; then
2176 # Some versions of bash will fail to source /dev/null (special
2177 # files actually), so we avoid doing that.
2178 if test -f "$cache_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
2182 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2183 *) . "./$cache_file";;
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
2192 # Check that the precious variables saved in the cache have kept the same
2194 ac_cache_corrupted=false
2195 for ac_var in $ac_precious_vars; do
2196 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2197 eval ac_new_set=\$ac_env_${ac_var}_set
2198 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2199 eval ac_new_val=\$ac_env_${ac_var}_value
2200 case $ac_old_set,$ac_new_set in
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2203 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2204 ac_cache_corrupted=: ;;
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2207 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2208 ac_cache_corrupted=: ;;
2211 if test "x$ac_old_val" != "x$ac_new_val"; then
2212 # differences in whitespace do not lead to failure.
2213 ac_old_val_w=`echo x
$ac_old_val`
2214 ac_new_val_w=`echo x
$ac_new_val`
2215 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2218 ac_cache_corrupted=:
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2222 eval $ac_var=\$ac_old_val
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2225 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2227 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2230 # Pass precious variables to config.status.
2231 if test "$ac_new_set" = set; then
2233 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2234 *) ac_arg=$ac_var=$ac_new_val ;;
2236 case " $ac_configure_args " in
2237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2238 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2242 if $ac_cache_corrupted; then
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2247 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2249 ## -------------------- ##
2250 ## Main body of script. ##
2251 ## -------------------- ##
2254 ac_cpp='$CPP $CPPFLAGS'
2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2264 ac_config_headers="$ac_config_headers config.h"
2267 libtool_VERSION=1:0:0
2270 # Default to --enable-multilib
2271 # Check whether --enable-multilib was given.
2272 if test "${enable_multilib+set}" = set; then :
2273 enableval=$enable_multilib; case "$enableval" in
2274 yes) multilib=yes ;;
2276 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2283 # We may get other options which we leave undocumented:
2284 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2285 # See config-ml.in if you want the gory details.
2287 if test "$srcdir" = "."; then
2288 if test "$with_target_subdir" != "."; then
2289 multi_basedir="$srcdir/$with_multisrctop../.."
2291 multi_basedir="$srcdir/$with_multisrctop.."
2294 multi_basedir="$srcdir/.."
2298 # Even if the default multilib is not a cross compilation,
2299 # it may be that some of the other multilibs are.
2300 if test $cross_compiling = no && test $multilib = yes \
2301 && test "x${with_multisubdir}" != x ; then
2302 cross_compiling=maybe
2305 ac_config_commands="$ac_config_commands default-1"
2309 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2310 for ac_t in install-sh install.sh shtool; do
2311 if test -f "$ac_dir/$ac_t"; then
2313 ac_install_sh="$ac_aux_dir/$ac_t -c"
2318 if test -z "$ac_aux_dir"; then
2319 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2322 # These three variables are undocumented and unsupported,
2323 # and are intended to be withdrawn in a future Autoconf release.
2324 # They can cause serious problems if a builder's source tree is in a directory
2325 # whose full name contains unusual characters.
2326 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2327 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2328 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2331 # Make sure we can run config.sub.
2332 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2333 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2336 $as_echo_n "checking build system type... " >&6; }
2337 if test "${ac_cv_build+set}" = set; then :
2338 $as_echo_n "(cached) " >&6
2340 ac_build_alias=$build_alias
2341 test "x$ac_build_alias" = x &&
2342 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2343 test "x$ac_build_alias" = x &&
2344 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2345 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2346 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2350 $as_echo "$ac_cv_build" >&6; }
2351 case $ac_cv_build in
2353 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2356 ac_save_IFS=$IFS; IFS='-'
2362 # Remember, the first character of IFS is used to create $*,
2363 # except with old shells:
2366 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2370 $as_echo_n "checking host system type... " >&6; }
2371 if test "${ac_cv_host+set}" = set; then :
2372 $as_echo_n "(cached) " >&6
2374 if test "x$host_alias" = x; then
2375 ac_cv_host=$ac_cv_build
2377 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2378 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2383 $as_echo "$ac_cv_host" >&6; }
2386 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2389 ac_save_IFS=$IFS; IFS='-'
2395 # Remember, the first character of IFS is used to create $*,
2396 # except with old shells:
2399 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2403 $as_echo_n "checking target system type... " >&6; }
2404 if test "${ac_cv_target+set}" = set; then :
2405 $as_echo_n "(cached) " >&6
2407 if test "x$target_alias" = x; then
2408 ac_cv_target=$ac_cv_host
2410 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2411 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2416 $as_echo "$ac_cv_target" >&6; }
2417 case $ac_cv_target in
2419 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2421 target=$ac_cv_target
2422 ac_save_IFS=$IFS; IFS='-'
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2432 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2435 # The aliases save the names the user supplied, while $host etc.
2436 # will get canonicalized.
2437 test -n "$target_alias" &&
2438 test "$program_prefix$program_suffix$program_transform_name" = \
2440 program_prefix=${target_alias}-
2442 target_alias=${target_alias-$host_alias}
2444 am__api_version='1.11'
2446 # Find a good install program. We prefer a C program (faster),
2447 # so one script is as good as another. But avoid the broken or
2448 # incompatible versions:
2449 # SysV /etc/install, /usr/sbin/install
2450 # SunOS /usr/etc/install
2451 # IRIX /sbin/install
2453 # AmigaOS /C/install, which installs bootblocks on floppy discs
2454 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2455 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2456 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2457 # OS/2's system install, which has a completely different semantic
2458 # ./install, which can be erroneously created by make from ./install.sh.
2459 # Reject install programs that cannot install multiple files.
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2461 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2462 if test -z "$INSTALL"; then
2463 if test "${ac_cv_path_install+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir=.
2471 # Account for people who put trailing slashes in PATH elements.
2472 case $as_dir/ in #((
2473 ./ | .// | /[cC]/* | \
2474 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2475 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478 # OSF1 and SCO ODT 3.0 have their own names for install.
2479 # Don't use installbsd from OSF since it installs stuff as root
2481 for ac_prog in ginstall scoinst install; do
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2484 if test $ac_prog = install &&
2485 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2486 # AIX install. It has an incompatible calling convention.
2488 elif test $ac_prog = install &&
2489 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2490 # program-specific install script used by HP pwplus--don't use.
2493 rm -rf conftest.one conftest.two conftest.dir
2494 echo one > conftest.one
2495 echo two > conftest.two
2497 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2498 test -s conftest.one && test -s conftest.two &&
2499 test -s conftest.dir/conftest.one &&
2500 test -s conftest.dir/conftest.two
2502 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2515 rm -rf conftest.one conftest.two conftest.dir
2518 if test "${ac_cv_path_install+set}" = set; then
2519 INSTALL=$ac_cv_path_install
2521 # As a last resort, use the slow shell script. Don't cache a
2522 # value for INSTALL within a source directory, because that will
2523 # break other packages using the cache if that directory is
2524 # removed, or if the value is a relative name.
2525 INSTALL=$ac_install_sh
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2529 $as_echo "$INSTALL" >&6; }
2531 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2532 # It thinks the first close brace ends the variable substitution.
2533 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2535 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2537 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2540 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 echo timestamp > conftest.file
2544 # Reject unsafe characters in $srcdir or the absolute working directory
2545 # name. Accept space and tab only in the latter.
2549 *[\\\"\#\$\&\'\`$am_lf]*)
2550 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2553 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2554 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2557 # Do `set' in a subshell so we don't clobber the current shell's
2558 # arguments. Must try -L first in case configure is actually a
2559 # symlink; some systems play weird games with the mod time of symlinks
2560 # (eg FreeBSD returns the mod time of the symlink's containing
2563 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2564 if test "$*" = "X"; then
2566 set X
`ls -t "$srcdir/configure" conftest.file`
2569 if test "$*" != "X $srcdir/configure conftest.file" \
2570 && test "$*" != "X conftest.file $srcdir/configure"; then
2572 # If neither matched, then we have a broken ls. This can happen
2573 # if, for instance, CONFIG_SHELL is bash and it inherits a
2574 # broken ls alias from the environment. This has actually
2575 # happened. Such a system could not be considered "sane".
2576 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2577 alias in your environment" "$LINENO" 5
2580 test "$2" = conftest.
file
2586 as_fn_error
"newly created file is older than distributed files!
2587 Check your system clock" "$LINENO" 5
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2590 $as_echo "yes" >&6; }
2591 test "$program_prefix" != NONE
&&
2592 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2593 # Use a double $ so make ignores it.
2594 test "$program_suffix" != NONE
&&
2595 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2596 # Double any \ or $.
2597 # By default was `s,x,x', remove it if useless.
2598 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2599 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2601 # expand $ac_aux_dir to an absolute path
2602 am_aux_dir
=`cd $ac_aux_dir && pwd`
2604 if test x
"${MISSING+set}" != xset
; then
2607 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2609 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2612 # Use eval to expand $SHELL
2613 if eval "$MISSING --run true"; then
2614 am_missing_run
="$MISSING --run "
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2618 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2621 if test x
"${install_sh}" != xset
; then
2624 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2626 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2630 # Installed binaries are usually stripped using `strip' when the user
2631 # run `make install-strip'. However `strip' might not be the right
2632 # tool to use in cross-compilation environments, therefore Automake
2633 # will honor the `STRIP' environment variable to overrule this program.
2634 if test "$cross_compiling" != no
; then
2635 if test -n "$ac_tool_prefix"; then
2636 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2637 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_STRIP+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$STRIP"; then
2644 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir
=.
2651 for ac_exec_ext
in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 STRIP
=$ac_cv_prog_STRIP
2664 if test -n "$STRIP"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2666 $as_echo "$STRIP" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2674 if test -z "$ac_cv_prog_STRIP"; then
2676 # Extract the first word of "strip", so it can be a program name with args.
2677 set dummy strip
; ac_word
=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$ac_ct_STRIP"; then
2684 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_ac_ct_STRIP
="strip"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2704 if test -n "$ac_ct_STRIP"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2706 $as_echo "$ac_ct_STRIP" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2712 if test "x$ac_ct_STRIP" = x
; then
2715 case $cross_compiling:$ac_tool_warned in
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2719 ac_tool_warned
=yes ;;
2724 STRIP
="$ac_cv_prog_STRIP"
2728 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2731 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2732 if test -z "$MKDIR_P"; then
2733 if test "${ac_cv_path_mkdir+set}" = set; then :
2734 $as_echo_n "(cached) " >&6
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2737 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2740 test -z "$as_dir" && as_dir
=.
2741 for ac_prog
in mkdir gmkdir
; do
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2744 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2745 'mkdir (GNU coreutils) '* | \
2746 'mkdir (coreutils) '* | \
2747 'mkdir (fileutils) '4.1*)
2748 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2758 if test "${ac_cv_path_mkdir+set}" = set; then
2759 MKDIR_P
="$ac_cv_path_mkdir -p"
2761 # As a last resort, use the slow shell script. Don't cache a
2762 # value for MKDIR_P within a source directory, because that will
2763 # break other packages using the cache if that directory is
2764 # removed, or if the value is a relative name.
2765 test -d .
/--version && rmdir .
/--version
2766 MKDIR_P
="$ac_install_sh -d"
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2770 $as_echo "$MKDIR_P" >&6; }
2774 [\\/$
]* | ?
:[\\/]*) ;;
2775 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2778 for ac_prog
in gawk mawk nawk
awk
2780 # Extract the first word of "$ac_prog", so it can be a program name with args.
2781 set dummy
$ac_prog; ac_word
=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_AWK+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$AWK"; then
2788 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 ac_cv_prog_AWK
="$ac_prog"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test -n "$AWK"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2810 $as_echo "$AWK" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2817 test -n "$AWK" && break
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2821 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2823 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2824 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2825 $as_echo_n "(cached) " >&6
2827 cat >conftest.
make <<\_ACEOF
2830 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2832 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2833 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2835 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2837 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2841 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2843 $as_echo "yes" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2848 SET_MAKE
="MAKE=${MAKE-make}"
2851 rm -rf .tst
2>/dev
/null
2852 mkdir .tst
2>/dev
/null
2853 if test -d .tst
; then
2858 rmdir .tst
2>/dev
/null
2860 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2861 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2862 # is not polluted with repeated "-I."
2863 am__isrc
=' -I$(srcdir)'
2864 # test to see if srcdir already configured
2865 if test -f $srcdir/config.status
; then
2866 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2870 # test whether we have cygpath
2871 if test -z "$CYGPATH_W"; then
2872 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2873 CYGPATH_W
='cygpath -w'
2880 # Define the identity of the package.
2882 VERSION
='version-unused'
2885 # Some tools Automake needs.
2887 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2890 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2893 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2896 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2899 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2901 # We need awk for the "check" target. The system "awk" is bad on
2903 # Always define AMTAR for backward compatibility.
2905 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2907 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2919 ac_cpp
='$CPP $CPPFLAGS'
2920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2923 if test -n "$ac_tool_prefix"; then
2924 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2925 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_CC+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$CC"; then
2932 ac_cv_prog_CC
="$CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 if test -n "$CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2954 $as_echo "$CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2962 if test -z "$ac_cv_prog_CC"; then
2964 # Extract the first word of "gcc", so it can be a program name with args.
2965 set dummy gcc
; ac_word
=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$ac_ct_CC"; then
2972 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_ac_ct_CC
="gcc"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994 $as_echo "$ac_ct_CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3000 if test "x$ac_ct_CC" = x
; then
3003 case $cross_compiling:$ac_tool_warned in
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3007 ac_tool_warned
=yes ;;
3015 if test -z "$CC"; then
3016 if test -n "$ac_tool_prefix"; then
3017 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3018 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if test "${ac_cv_prog_CC+set}" = set; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$CC"; then
3025 ac_cv_prog_CC
="$CC" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 if test -n "$CC"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3047 $as_echo "$CC" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3056 if test -z "$CC"; then
3057 # Extract the first word of "cc", so it can be a program name with args.
3058 set dummy cc
; ac_word
=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if test "${ac_cv_prog_CC+set}" = set; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC
="$CC" # Let the user override the test.
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_exec_ext
in '' $ac_executable_extensions; do
3074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3075 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3076 ac_prog_rejected
=yes
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test $ac_prog_rejected = yes; then
3088 # We found a bogon in the path, so make sure we never use it.
3089 set dummy
$ac_cv_prog_CC
3091 if test $# != 0; then
3092 # We chose a different compiler from the bogus one.
3093 # However, it has the same basename, so the bogon will be chosen
3094 # first if we set CC to just the basename; use the full file name.
3096 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3102 if test -n "$CC"; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3104 $as_echo "$CC" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 $as_echo "no" >&6; }
3112 if test -z "$CC"; then
3113 if test -n "$ac_tool_prefix"; then
3114 for ac_prog
in cl.exe
3116 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3117 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 $as_echo_n "checking for $ac_word... " >&6; }
3120 if test "${ac_cv_prog_CC+set}" = set; then :
3121 $as_echo_n "(cached) " >&6
3123 if test -n "$CC"; then
3124 ac_cv_prog_CC
="$CC" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3133 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 if test -n "$CC"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3146 $as_echo "$CC" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3153 test -n "$CC" && break
3156 if test -z "$CC"; then
3158 for ac_prog
in cl.exe
3160 # Extract the first word of "$ac_prog", so it can be a program name with args.
3161 set dummy
$ac_prog; ac_word
=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$ac_ct_CC"; then
3168 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_ac_ct_CC
="$ac_prog"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3188 if test -n "$ac_ct_CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3190 $as_echo "$ac_ct_CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3197 test -n "$ac_ct_CC" && break
3200 if test "x$ac_ct_CC" = x
; then
3203 case $cross_compiling:$ac_tool_warned in
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3207 ac_tool_warned
=yes ;;
3216 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3218 as_fn_error
"no acceptable C compiler found in \$PATH
3219 See \`config.log' for more details." "$LINENO" 5; }
3221 # Provide some information about the compiler.
3222 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3225 for ac_option
in --version -v -V -qversion; do
3226 { { ac_try
="$ac_compiler $ac_option >&5"
3228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232 $as_echo "$ac_try_echo"; } >&5
3233 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3235 if test -s conftest.err; then
3237 ... rest of stderr output deleted ...
3238 10q' conftest.err >conftest.er1
3239 cat conftest.er1 >&5
3240 rm -f conftest.er1 conftest.err
3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; }
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 ac_clean_files_save=$ac_clean_files
3258 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3259 # Try to create an executable without -o first, disregard a.out.
3260 # It will help us diagnose broken compilers, and finding out an intuition
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3263 $as_echo_n "checking for C compiler default output file name... " >&6; }
3264 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3266 # The possible output files:
3267 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3270 for ac_file in $ac_files
3273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3274 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3279 if { { ac_try="$ac_link_default"
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_link_default") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; then :
3290 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3291 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3292 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3293 # so that the user can short-circuit this test for compilers unknown to
3295 for ac_file
in $ac_files ''
3297 test -f "$ac_file" ||
continue
3299 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3302 # We found the default executable, but exeext='' is most
3306 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3308 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3310 # We set ac_cv_exeext here because the later test for it is not
3311 # safe: cross compilers may not add the suffix if given an `-o'
3312 # argument, so we may need to know it at that point already.
3313 # Even if this section looks crufty: it has the advantage of
3320 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3326 $as_echo "$ac_file" >&6; }
3327 if test -z "$ac_file"; then :
3328 $as_echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.
$ac_ext >&5
3331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3333 { as_fn_set_status
77
3334 as_fn_error
"C compiler cannot create executables
3335 See \`config.log' for more details." "$LINENO" 5; }; }
3337 ac_exeext
=$ac_cv_exeext
3339 # Check that the compiler produces executables we can run. If not, either
3340 # the compiler is broken, or we cross compile.
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3342 $as_echo_n "checking whether the C compiler works... " >&6; }
3343 # If not cross compiling, check that we can run a simple program.
3344 if test "$cross_compiling" != yes; then
3345 if { ac_try
='./$ac_file'
3346 { { case "(($ac_try" in
3347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352 (eval "$ac_try") 2>&5
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }; }; then
3358 if test "$cross_compiling" = maybe; then
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error "cannot run C compiled programs.
3364 If you meant to cross compile
, use \
`--host'.
3365 See \`config.log
' for more details." "$LINENO" 5; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3370 $as_echo "yes" >&6; }
3372 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3373 ac_clean_files=$ac_clean_files_save
3374 # Check that the compiler produces executables we can run. If not, either
3375 # the compiler is broken, or we cross compile.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3377 $as_echo_n "checking whether we are cross compiling... " >&6; }
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3379 $as_echo "$cross_compiling" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3382 $as_echo_n "checking for suffix of executables... " >&6; }
3383 if { { ac_try="$ac_link"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3395 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3396 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3398 for ac_file
in conftest.exe conftest conftest.
*; do
3399 test -f "$ac_file" ||
continue
3401 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3402 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3411 See \`config.log' for more details." "$LINENO" 5; }
3413 rm -f conftest
$ac_cv_exeext
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3415 $as_echo "$ac_cv_exeext" >&6; }
3417 rm -f conftest.
$ac_ext
3418 EXEEXT
=$ac_cv_exeext
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3421 $as_echo_n "checking for suffix of object files... " >&6; }
3422 if test "${ac_cv_objext+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3436 rm -f conftest.o conftest.obj
3437 if { { ac_try
="$ac_compile"
3439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_compile") 2>&5
3446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447 test $ac_status = 0; }; then :
3448 for ac_file in conftest.o conftest.obj conftest.*; do
3449 test -f "$ac_file" || continue;
3451 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3452 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3457 $as_echo "$as_me: failed program was:" >&5
3458 sed 's/^/| /' conftest.$ac_ext >&5
3460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462 as_fn_error "cannot compute suffix of object files
: cannot compile
3463 See \
`config.log' for more details." "$LINENO" 5; }
3465 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3468 $as_echo "$ac_cv_objext" >&6; }
3469 OBJEXT=$ac_cv_objext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3472 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3473 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3474 $as_echo_n "(cached) " >&6
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3490 if ac_fn_c_try_compile "$LINENO"; then :
3495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3500 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3501 if test $ac_compiler_gnu = yes; then
3506 ac_test_CFLAGS=${CFLAGS+set}
3507 ac_save_CFLAGS=$CFLAGS
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3509 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3510 if test "${ac_cv_prog_cc_g+set}" = set; then :
3511 $as_echo_n "(cached) " >&6
3513 ac_save_c_werror_flag=$ac_c_werror_flag
3514 ac_c_werror_flag=yes
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3543 if ac_fn_c_try_compile "$LINENO"; then :
3546 ac_c_werror_flag=$ac_save_c_werror_flag
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 ac_c_werror_flag=$ac_save_c_werror_flag
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3570 $as_echo "$ac_cv_prog_cc_g" >&6; }
3571 if test "$ac_test_CFLAGS" = set; then
3572 CFLAGS=$ac_save_CFLAGS
3573 elif test $ac_cv_prog_cc_g = yes; then
3574 if test "$GCC" = yes; then
3580 if test "$GCC" = yes; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3587 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3588 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3589 $as_echo_n "(cached) " >&6
3591 ac_cv_prog_cc_c89=no
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3597 #include <sys/types.h>
3598 #include <sys/stat.h>
3599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3600 struct buf { int x; };
3601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3602 static char *e (p, i)
3608 static char *f (char * (*g) (char **, int), char **p, ...)
3613 s = g (p, va_arg (v,int));
3618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3619 function prototypes and stuff, but not '\xHH' hex character constants.
3620 These don't provoke an error unfortunately, instead are silently treated
3621 as 'x'. The following induces an error, until -std is added to get
3622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3623 array size at least. It's necessary to write '\x00'==0 to get something
3624 that's true only with -std. */
3625 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3627 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3628 inside strings and character constants. */
3630 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3632 int test (int i, double x);
3633 struct s1 {int (*f) (int a);};
3634 struct s2 {int (*f) (double a);};
3635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3641 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3646 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3647 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3649 CC="$ac_save_CC $ac_arg"
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_cv_prog_cc_c89=$ac_arg
3653 rm -f core conftest.err conftest.$ac_objext
3654 test "x$ac_cv_prog_cc_c89" != "xno" && break
3656 rm -f conftest.$ac_ext
3661 case "x$ac_cv_prog_cc_c89" in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3664 $as_echo "none needed" >&6; } ;;
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3667 $as_echo "unsupported" >&6; } ;;
3669 CC="$CC $ac_cv_prog_cc_c89"
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3671 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3673 if test "x$ac_cv_prog_cc_c89" != xno; then :
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 DEPDIR="${am__leading_dot}deps"
3684 ac_config_commands="$ac_config_commands depfiles"
3687 am_make=${MAKE-make}
3688 cat > confinc << 'END'
3690 @echo this is the am__doit target
3693 # If we don't find an include directive, just comment out the code.
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3695 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3699 # First try GNU make style include.
3700 echo "include confinc" > confmf
3701 # Ignore all kinds of additional output from `make'.
3702 case `$am_make -s -f confmf 2> /dev/null` in #(
3703 *the\ am__doit\ target*)
3709 # Now try BSD make style include.
3710 if test "$am__include" = "#"; then
3711 echo '.include
"confinc"' > confmf
3712 case `$am_make -s -f confmf 2> /dev/null` in #(
3713 *the\ am__doit\ target*)
3714 am__include=.include
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3723 $as_echo "$_am_result" >&6; }
3724 rm -f confinc confmf
3726 # Check whether --enable-dependency-tracking was given.
3727 if test "${enable_dependency_tracking+set}" = set; then :
3728 enableval=$enable_dependency_tracking;
3731 if test "x$enable_dependency_tracking" != xno; then
3732 am_depcomp="$ac_aux_dir/depcomp"
3735 if test "x$enable_dependency_tracking" != xno
; then
3745 depcc
="$CC" am_compiler_list
=
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3748 $as_echo_n "checking dependency style of $depcc... " >&6; }
3749 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3753 # We make a subdir and do the tests there. Otherwise we can end up
3754 # making bogus files that we don't know about and never remove. For
3755 # instance it was reported that on HP-UX the gcc test will end up
3756 # making a dummy file named `D' -- because `-MD' means `put the output
3759 # Copy depcomp to subdir because otherwise we won't find it if we're
3760 # using a relative directory.
3761 cp "$am_depcomp" conftest.dir
3763 # We will build objects and dependencies in a subdirectory because
3764 # it helps to detect inapplicable dependency modes. For instance
3765 # both Tru64's cc and ICC support -MD to output dependencies as a
3766 # side effect of compilation, but ICC will put the dependencies in
3767 # the current directory while Tru64 will put them in the object
3771 am_cv_CC_dependencies_compiler_type
=none
3772 if test "$am_compiler_list" = ""; then
3773 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3776 case " $depcc " in #(
3777 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3780 for depmode
in $am_compiler_list; do
3781 # Setup a source with many dependencies, because some compilers
3782 # like to wrap large dependency lists on column 80 (with \), and
3783 # we should not choose a depcomp mode which is confused by this.
3785 # We need to recreate these files for each test, as the compiler may
3786 # overwrite some of them when testing with obscure command lines.
3787 # This happens at least with the AIX C compiler.
3789 for i
in 1 2 3 4 5 6; do
3790 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3791 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3792 # Solaris 8's {/usr,}/bin/sh.
3793 touch sub
/conftst
$i.h
3795 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3797 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3798 # mode. It turns out that the SunPro C++ compiler does not properly
3799 # handle `-M -o', and we need to detect this. Also, some Intel
3800 # versions had trouble with output in subdirs
3801 am__obj
=sub
/conftest.
${OBJEXT-o}
3802 am__minus_obj
="-o $am__obj"
3805 # This depmode causes a compiler race in universal mode.
3806 test "$am__universal" = false ||
continue
3809 # after this tag, mechanisms are not by side-effect, so they'll
3810 # only be used when explicitly requested
3811 if test "x$enable_dependency_tracking" = xyes
; then
3817 msvisualcpp | msvcmsys
)
3818 # This compiler won't grok `-c -o', but also, the minuso test has
3819 # not run yet. These depmodes are late enough in the game, and
3820 # so weak that their functioning should not be impacted.
3821 am__obj
=conftest.
${OBJEXT-o}
3826 if depmode
=$depmode \
3827 source=sub
/conftest.c object
=$am__obj \
3828 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3829 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3830 >/dev
/null
2>conftest.err
&&
3831 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3832 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3833 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3834 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3835 # icc doesn't choke on unknown options, it will just issue warnings
3836 # or remarks (even with -Werror). So we grep stderr for any message
3837 # that says an option was ignored or not supported.
3838 # When given -MP, icc 7.0 and 7.1 complain thusly:
3839 # icc: Command line warning: ignoring option '-M'; no argument required
3840 # The diagnosis changed in icc 8.0:
3841 # icc: Command line remark: option '-MP' not supported
3842 if (grep 'ignoring option' conftest.err ||
3843 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3844 am_cv_CC_dependencies_compiler_type
=$depmode
3853 am_cv_CC_dependencies_compiler_type
=none
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3858 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3859 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3862 test "x$enable_dependency_tracking" != xno \
3863 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3865 am__fastdepCC_FALSE
='#'
3867 am__fastdepCC_TRUE
='#'
3868 am__fastdepCC_FALSE
=
3873 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3874 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3876 if test -n "$ac_tool_prefix"; then
3877 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3878 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if test "${ac_cv_prog_GOC+set}" = set; then :
3882 $as_echo_n "(cached) " >&6
3884 if test -n "$GOC"; then
3885 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir
=.
3892 for ac_exec_ext
in '' $ac_executable_extensions; do
3893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3894 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 if test -n "$GOC"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3907 $as_echo "$GOC" >&6; }
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3915 if test -z "$ac_cv_prog_GOC"; then
3917 # Extract the first word of "gccgo", so it can be a program name with args.
3918 set dummy gccgo
; ac_word
=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -n "$ac_ct_GOC"; then
3925 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_exec_ext
in '' $ac_executable_extensions; do
3933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934 ac_cv_prog_ac_ct_GOC
="gccgo"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3944 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
3945 if test -n "$ac_ct_GOC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3947 $as_echo "$ac_ct_GOC" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3953 if test "x$ac_ct_GOC" = x
; then
3956 case $cross_compiling:$ac_tool_warned in
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3960 ac_tool_warned
=yes ;;
3965 GOC
="$ac_cv_prog_GOC"
3968 if test -z "$GOC"; then
3969 if test -n "$ac_tool_prefix"; then
3970 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3971 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if test "${ac_cv_prog_GOC+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -n "$GOC"; then
3978 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir
=.
3985 for ac_exec_ext
in '' $ac_executable_extensions; do
3986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3987 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 if test -n "$GOC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4000 $as_echo "$GOC" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4009 if test -z "$GOC"; then
4010 # Extract the first word of "gccgo", so it can be a program name with args.
4011 set dummy gccgo
; ac_word
=$2
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 $as_echo_n "checking for $ac_word... " >&6; }
4014 if test "${ac_cv_prog_GOC+set}" = set; then :
4015 $as_echo_n "(cached) " >&6
4017 if test -n "$GOC"; then
4018 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
4021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 test -z "$as_dir" && as_dir
=.
4026 for ac_exec_ext
in '' $ac_executable_extensions; do
4027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4028 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
4029 ac_prog_rejected
=yes
4032 ac_cv_prog_GOC
="gccgo"
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 if test $ac_prog_rejected = yes; then
4041 # We found a bogon in the path, so make sure we never use it.
4042 set dummy
$ac_cv_prog_GOC
4044 if test $# != 0; then
4045 # We chose a different compiler from the bogus one.
4046 # However, it has the same basename, so the bogon will be chosen
4047 # first if we set GOC to just the basename; use the full file name.
4049 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
4055 if test -n "$GOC"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
4057 $as_echo "$GOC" >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4067 # Provide some information about the compiler.
4068 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
4071 { { ac_try
="$ac_compiler --version >&5"
4073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 $as_echo "$ac_try_echo"; } >&5
4078 (eval "$ac_compiler --version >&5") 2>conftest.err
4080 if test -s conftest.err; then
4082 ... rest of stderr output deleted ...
4083 10q' conftest.err >conftest.er1
4084 cat conftest.er1 >&5
4085 rm -f conftest.er1 conftest.err
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }
4091 ac_cpp='$CPP $CPPFLAGS'
4092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4102 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4103 # Check whether --enable-maintainer-mode was given.
4104 if test "${enable_maintainer_mode+set}" = set; then :
4105 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4107 USE_MAINTAINER_MODE=no
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4111 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4112 if test $USE_MAINTAINER_MODE = yes; then
4113 MAINTAINER_MODE_TRUE=
4114 MAINTAINER_MODE_FALSE='#'
4116 MAINTAINER_MODE_TRUE='#'
4117 MAINTAINER_MODE_FALSE=
4120 MAINT=$MAINTAINER_MODE_TRUE
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4125 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4126 if test "${ac_cv_path_SED+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4130 for ac_i in 1 2 3 4 5 6 7; do
4131 ac_script="$ac_script$as_nl$ac_script"
4133 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4134 { ac_script=; unset ac_script;}
4135 if test -z "$SED"; then
4136 ac_path_SED_found=false
4137 # Loop through the user's path and test for each of PROGNAME-LIST
4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir=.
4143 for ac_prog in sed gsed; do
4144 for ac_exec_ext in '' $ac_executable_extensions; do
4145 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4146 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4147 # Check for GNU ac_path_SED and select it if it is found.
4148 # Check for GNU $ac_path_SED
4149 case `"$ac_path_SED" --version 2>&1` in
4151 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4154 $as_echo_n 0123456789 >"conftest.in"
4157 cat "conftest.in" "conftest.in" >"conftest.tmp"
4158 mv "conftest.tmp" "conftest.in"
4159 cp "conftest.in" "conftest.nl"
4160 $as_echo '' >> "conftest.nl"
4161 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4162 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4163 as_fn_arith $ac_count + 1 && ac_count=$as_val
4164 if test $ac_count -gt ${ac_path_SED_max-0}; then
4165 # Best one so far, save it but keep looking for a better one
4166 ac_cv_path_SED="$ac_path_SED"
4167 ac_path_SED_max=$ac_count
4169 # 10*(2^10) chars as input seems more than enough
4170 test $ac_count -gt 10 && break
4172 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4175 $ac_path_SED_found && break 3
4180 if test -z "$ac_cv_path_SED"; then
4181 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4189 $as_echo "$ac_cv_path_SED" >&6; }
4190 SED="$ac_cv_path_SED"
4193 test -z "$SED" && SED=sed
4194 Xsed="$SED -e 1s/^X//"
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4207 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4208 if test "${ac_cv_path_GREP+set}" = set; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -z "$GREP"; then
4212 ac_path_GREP_found=false
4213 # Loop through the user's path and test for each of PROGNAME-LIST
4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4218 test -z "$as_dir" && as_dir=.
4219 for ac_prog in grep ggrep; do
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4222 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4223 # Check for GNU ac_path_GREP and select it if it is found.
4224 # Check for GNU $ac_path_GREP
4225 case `"$ac_path_GREP" --version 2>&1` in
4227 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4230 $as_echo_n 0123456789 >"conftest.in"
4233 cat "conftest.in" "conftest.in" >"conftest.tmp"
4234 mv "conftest.tmp" "conftest.in"
4235 cp "conftest.in" "conftest.nl"
4236 $as_echo 'GREP' >> "conftest.nl"
4237 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4238 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4239 as_fn_arith $ac_count + 1 && ac_count=$as_val
4240 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4241 # Best one so far, save it but keep looking for a better one
4242 ac_cv_path_GREP="$ac_path_GREP"
4243 ac_path_GREP_max=$ac_count
4245 # 10*(2^10) chars as input seems more than enough
4246 test $ac_count -gt 10 && break
4248 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4251 $ac_path_GREP_found && break 3
4256 if test -z "$ac_cv_path_GREP"; then
4257 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4260 ac_cv_path_GREP=$GREP
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4265 $as_echo "$ac_cv_path_GREP" >&6; }
4266 GREP="$ac_cv_path_GREP"
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4270 $as_echo_n "checking for egrep... " >&6; }
4271 if test "${ac_cv_path_EGREP+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4275 then ac_cv_path_EGREP="$GREP -E"
4277 if test -z "$EGREP"; then
4278 ac_path_EGREP_found=false
4279 # Loop through the user's path and test for each of PROGNAME-LIST
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4281 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4284 test -z "$as_dir" && as_dir=.
4285 for ac_prog in egrep; do
4286 for ac_exec_ext in '' $ac_executable_extensions; do
4287 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4288 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4289 # Check for GNU ac_path_EGREP and select it if it is found.
4290 # Check for GNU $ac_path_EGREP
4291 case `"$ac_path_EGREP" --version 2>&1` in
4293 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4296 $as_echo_n 0123456789 >"conftest.in"
4299 cat "conftest.in" "conftest.in" >"conftest.tmp"
4300 mv "conftest.tmp" "conftest.in"
4301 cp "conftest.in" "conftest.nl"
4302 $as_echo 'EGREP' >> "conftest.nl"
4303 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4304 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4305 as_fn_arith $ac_count + 1 && ac_count=$as_val
4306 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4307 # Best one so far, save it but keep looking for a better one
4308 ac_cv_path_EGREP="$ac_path_EGREP"
4309 ac_path_EGREP_max=$ac_count
4311 # 10*(2^10) chars as input seems more than enough
4312 test $ac_count -gt 10 && break
4314 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4317 $ac_path_EGREP_found && break 3
4322 if test -z "$ac_cv_path_EGREP"; then
4323 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4326 ac_cv_path_EGREP=$EGREP
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4332 $as_echo "$ac_cv_path_EGREP" >&6; }
4333 EGREP="$ac_cv_path_EGREP"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4337 $as_echo_n "checking for fgrep... " >&6; }
4338 if test "${ac_cv_path_FGREP+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4341 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4342 then ac_cv_path_FGREP="$GREP -F"
4344 if test -z "$FGREP"; then
4345 ac_path_FGREP_found=false
4346 # Loop through the user's path and test for each of PROGNAME-LIST
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4351 test -z "$as_dir" && as_dir=.
4352 for ac_prog in fgrep; do
4353 for ac_exec_ext in '' $ac_executable_extensions; do
4354 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4355 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4356 # Check for GNU ac_path_FGREP and select it if it is found.
4357 # Check for GNU $ac_path_FGREP
4358 case `"$ac_path_FGREP" --version 2>&1` in
4360 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4363 $as_echo_n 0123456789 >"conftest.in"
4366 cat "conftest.in" "conftest.in" >"conftest.tmp"
4367 mv "conftest.tmp" "conftest.in"
4368 cp "conftest.in" "conftest.nl"
4369 $as_echo 'FGREP' >> "conftest.nl"
4370 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4372 as_fn_arith $ac_count + 1 && ac_count=$as_val
4373 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4374 # Best one so far, save it but keep looking for a better one
4375 ac_cv_path_FGREP="$ac_path_FGREP"
4376 ac_path_FGREP_max=$ac_count
4378 # 10*(2^10) chars as input seems more than enough
4379 test $ac_count -gt 10 && break
4381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4384 $ac_path_FGREP_found && break 3
4389 if test -z "$ac_cv_path_FGREP"; then
4390 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4393 ac_cv_path_FGREP=$FGREP
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4399 $as_echo "$ac_cv_path_FGREP" >&6; }
4400 FGREP="$ac_cv_path_FGREP"
4403 test -z "$GREP" && GREP=grep
4421 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4422 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4423 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4426 $as_echo_n "checking how to print strings... " >&6; }
4427 # Test print first, because it will be a builtin if present.
4428 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
4429 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
4431 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
4434 # Use this function as a fallback that always works.
4435 func_fallback_echo ()
4437 eval 'cat <<_LTECHO_EOF
4441 ECHO='func_fallback_echo'
4444 # func_echo_all arg...
4445 # Invoke $ECHO with all args, space-separated.
4452 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4453 $as_echo "printf" >&6; } ;;
4454 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4455 $as_echo "print -r" >&6; } ;;
4456 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4457 $as_echo "cat" >&6; } ;;
4475 # Check whether --with-gnu-ld was given.
4476 if test "${with_gnu_ld+set}" = set; then :
4477 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4483 if test "$GCC" = yes; then
4484 # Check if gcc -print-prog-name=ld gives a path.
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4486 $as_echo_n "checking for ld used by $CC... " >&6; }
4489 # gcc leaves a trailing carriage return which upsets mingw
4490 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4492 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4495 # Accept absolute paths.
4497 re_direlt='/[^/][^/]*/\.\./'
4498 # Canonicalize the pathname of ld
4499 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4500 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4501 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4503 test -z "$LD" && LD="$ac_prog"
4506 # If it fails, then pretend we aren't using GCC.
4510 # If it is relative, then search for the first ld in PATH.
4514 elif test "$with_gnu_ld" = yes; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4516 $as_echo_n "checking for GNU ld... " >&6; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4519 $as_echo_n "checking for non-GNU ld... " >&6; }
4521 if test "${lt_cv_path_LD+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -z "$LD"; then
4525 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4526 for ac_dir in $PATH; do
4528 test -z "$ac_dir" && ac_dir=.
4529 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4530 lt_cv_path_LD="$ac_dir/$ac_prog"
4531 # Check to see if the program is GNU ld. I'd rather use --version,
4532 # but apparently some variants of GNU ld only accept -v.
4533 # Break only if it was the GNU/non-GNU ld that we prefer.
4534 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4535 *GNU* | *'with BFD'*)
4536 test "$with_gnu_ld" != no && break
4539 test "$with_gnu_ld" != yes && break
4546 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4551 if test -n "$LD"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4553 $as_echo "$LD" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4558 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4560 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4561 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4564 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4565 case `$LD -v 2>&1 </dev
/null
` in
4566 *GNU* | *'with BFD'*)
4567 lt_cv_prog_gnu_ld=yes
4570 lt_cv_prog_gnu_ld=no
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4575 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4576 with_gnu_ld=$lt_cv_prog_gnu_ld
4586 if test -n "$ac_tool_prefix"; then
4587 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4588 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4592 $as_echo_n "(cached) " >&6
4594 if test -n "$RANLIB"; then
4595 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4604 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4614 RANLIB=$ac_cv_prog_RANLIB
4615 if test -n "$RANLIB"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4617 $as_echo "$RANLIB" >&6; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4625 if test -z "$ac_cv_prog_RANLIB"; then
4626 ac_ct_RANLIB=$RANLIB
4627 # Extract the first word of "ranlib", so it can be a program name with args.
4628 set dummy ranlib; ac_word=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$ac_ct_RANLIB"; then
4635 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644 ac_cv_prog_ac_ct_RANLIB="ranlib"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4655 if test -n "$ac_ct_RANLIB"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4657 $as_echo "$ac_ct_RANLIB" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4663 if test "x$ac_ct_RANLIB" = x; then
4666 case $cross_compiling:$ac_tool_warned in
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4670 ac_tool_warned=yes ;;
4672 RANLIB=$ac_ct_RANLIB
4675 RANLIB="$ac_cv_prog_RANLIB"
4678 if test -n "$ac_tool_prefix"; then
4679 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4680 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$OBJCOPY"; then
4687 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 OBJCOPY=$ac_cv_prog_OBJCOPY
4707 if test -n "$OBJCOPY"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4709 $as_echo "$OBJCOPY" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4717 if test -z "$ac_cv_prog_OBJCOPY"; then
4718 ac_ct_OBJCOPY=$OBJCOPY
4719 # Extract the first word of "objcopy", so it can be a program name with args.
4720 set dummy objcopy; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$ac_ct_OBJCOPY"; then
4727 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4747 if test -n "$ac_ct_OBJCOPY"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4749 $as_echo "$ac_ct_OBJCOPY" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4755 if test "x$ac_ct_OBJCOPY" = x; then
4756 OBJCOPY="missing-objcopy"
4758 case $cross_compiling:$ac_tool_warned in
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4762 ac_tool_warned=yes ;;
4764 OBJCOPY=$ac_ct_OBJCOPY
4767 OBJCOPY="$ac_cv_prog_OBJCOPY"
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4778 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4783 macro_version='2.2.7a'
4784 macro_revision='1.3134'
4798 ltmain="$ac_aux_dir/ltmain.sh"
4800 # Backslashify metacharacters that are still active within
4801 # double-quoted strings.
4802 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4804 # Same as above, but do not quote variable references.
4805 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4807 # Sed substitution to delay expansion of an escaped shell variable in a
4808 # double_quote_subst'ed string.
4809 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4811 # Sed substitution to delay expansion of an escaped single quote.
4812 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4814 # Sed substitution to avoid accidental globbing in evaled expressions
4815 no_glob_subst='s/\*/\\\*/g'
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4818 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4819 if test "${lt_cv_path_NM+set}" = set; then :
4820 $as_echo_n "(cached
) " >&6
4822 if test -n "$NM"; then
4823 # Let the user override the test.
4826 lt_nm_to_check="${ac_tool_prefix}nm
"
4827 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4828 lt_nm_to_check="$lt_nm_to_check nm
"
4830 for lt_tmp_nm in $lt_nm_to_check; do
4831 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4832 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4834 test -z "$ac_dir" && ac_dir=.
4835 tmp_nm="$ac_dir/$lt_tmp_nm"
4836 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4837 # Check to see if the nm accepts a BSD-compat flag.
4838 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4839 # nm: unknown option "B
" ignored
4840 # Tru64's nm complains that /dev/null is an invalid object file
4841 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4842 */dev/null* | *'Invalid file or object type'*)
4843 lt_cv_path_NM="$tmp_nm -B"
4847 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4849 lt_cv_path_NM="$tmp_nm -p"
4853 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4854 continue # so that we can try to find one that supports BSD flags
4863 : ${lt_cv_path_NM=no}
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4867 $as_echo "$lt_cv_path_NM" >&6; }
4868 if test "$lt_cv_path_NM" != "no
"; then
4871 # Didn't find any BSD compatible name lister, look for dumpbin.
4872 if test -n "$DUMPBIN"; then :
4873 # Let the user override the test.
4875 if test -n "$ac_tool_prefix"; then
4876 for ac_prog in dumpbin "link
-dump"
4878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4881 $as_echo_n "checking
for $ac_word...
" >&6; }
4882 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4883 $as_echo_n "(cached
) " >&6
4885 if test -n "$DUMPBIN"; then
4886 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4905 DUMPBIN=$ac_cv_prog_DUMPBIN
4906 if test -n "$DUMPBIN"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4908 $as_echo "$DUMPBIN" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4911 $as_echo "no
" >&6; }
4915 test -n "$DUMPBIN" && break
4918 if test -z "$DUMPBIN"; then
4919 ac_ct_DUMPBIN=$DUMPBIN
4920 for ac_prog in dumpbin "link
-dump"
4922 # Extract the first word of "$ac_prog", so it can be a program name with args.
4923 set dummy $ac_prog; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4925 $as_echo_n "checking
for $ac_word...
" >&6; }
4926 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4927 $as_echo_n "(cached
) " >&6
4929 if test -n "$ac_ct_DUMPBIN"; then
4930 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4939 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4949 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4950 if test -n "$ac_ct_DUMPBIN"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4952 $as_echo "$ac_ct_DUMPBIN" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4955 $as_echo "no
" >&6; }
4959 test -n "$ac_ct_DUMPBIN" && break
4962 if test "x
$ac_ct_DUMPBIN" = x; then
4965 case $cross_compiling:$ac_tool_warned in
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4968 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4969 ac_tool_warned=yes ;;
4971 DUMPBIN=$ac_ct_DUMPBIN
4975 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4977 DUMPBIN="$DUMPBIN -symbols"
4985 if test "$DUMPBIN" != ":"; then
4989 test -z "$NM" && NM=nm
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4997 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4998 if test "${lt_cv_nm_interface+set}" = set; then :
4999 $as_echo_n "(cached
) " >&6
5001 lt_cv_nm_interface="BSD nm
"
5002 echo "int some_variable
= 0;" > conftest.$ac_ext
5003 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5004 (eval "$ac_compile" 2>conftest.err)
5005 cat conftest.err >&5
5006 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5007 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5008 cat conftest.err >&5
5009 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5010 cat conftest.out >&5
5011 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5012 lt_cv_nm_interface="MS dumpbin
"
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5017 $as_echo "$lt_cv_nm_interface" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5020 $as_echo_n "checking whether
ln -s works...
" >&6; }
5022 if test "$LN_S" = "ln -s"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5024 $as_echo "yes" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5027 $as_echo "no
, using
$LN_S" >&6; }
5030 # find the maximum length of command line arguments
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5032 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5033 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5034 $as_echo_n "(cached
) " >&6
5041 # On DJGPP, this test can blow up pretty badly due to problems in libc
5042 # (any single argument exceeding 2000 bytes causes a buffer overrun
5043 # during glob expansion). Even if it were fixed, the result of this
5044 # check would be larger than it should be.
5045 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5049 # Under GNU Hurd, this test is not required because there is
5050 # no limit to the length of command line arguments.
5051 # Libtool will interpret -1 as no limit whatsoever
5052 lt_cv_sys_max_cmd_len=-1;
5055 cygwin* | mingw* | cegcc*)
5056 # On Win9x/ME, this test blows up -- it succeeds, but takes
5057 # about 5 minutes as the teststring grows exponentially.
5058 # Worse, since 9x/ME are not pre-emptively multitasking,
5059 # you end up with a "frozen
" computer, even though with patience
5060 # the test eventually succeeds (with a max line length of 256k).
5061 # Instead, let's just punt: use the minimum linelength reported by
5062 # all of the supported platforms: 8192 (on NT/2K/XP).
5063 lt_cv_sys_max_cmd_len=8192;
5067 # On MiNT this can take a long time and run out of memory.
5068 lt_cv_sys_max_cmd_len=8192;
5072 # On AmigaOS with pdksh, this test takes hours, literally.
5073 # So we just punt and use a minimum line length of 8192.
5074 lt_cv_sys_max_cmd_len=8192;
5077 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5078 # This has been around since 386BSD, at least. Likely further.
5079 if test -x /sbin/sysctl; then
5080 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5081 elif test -x /usr/sbin/sysctl; then
5082 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5084 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5086 # And add a safety zone
5087 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5088 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5092 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5093 lt_cv_sys_max_cmd_len=196608
5097 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5098 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5099 # nice to cause kernel panics so lets avoid the loop below.
5100 # First set a reasonable default.
5101 lt_cv_sys_max_cmd_len=16384
5103 if test -x /sbin/sysconfig; then
5104 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5105 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5110 lt_cv_sys_max_cmd_len=102400
5112 sysv5* | sco5v6* | sysv4.2uw2*)
5113 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5114 if test -n "$kargmax"; then
5115 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5117 lt_cv_sys_max_cmd_len=32768
5121 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5122 if test -n "$lt_cv_sys_max_cmd_len"; then
5123 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5124 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5126 # Make teststring a little bigger before we do anything with it.
5127 # a 1K string should be a reasonable start.
5128 for i in 1 2 3 4 5 6 7 8 ; do
5129 teststring=$teststring$teststring
5131 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5132 # If test is not a shell built-in, we'll probably end up computing a
5133 # maximum length that is only half of the actual maximum length, but
5135 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5136 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5137 test $i != 17 # 1/2 MB should be enough
5140 teststring=$teststring$teststring
5142 # Only check the string length outside the loop.
5143 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5145 # Add a significant safety factor because C++ compilers can tack on
5146 # massive amounts of additional arguments before passing them to the
5147 # linker. It appears as though 1/2 is a usable value.
5148 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5155 if test -n $lt_cv_sys_max_cmd_len ; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5157 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5160 $as_echo "none
" >&6; }
5162 max_cmd_len=$lt_cv_sys_max_cmd_len
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5174 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5175 # Try some XSI features
5178 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5180 && eval 'test $(( 1 + 1 )) -eq 2 \
5181 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5184 $as_echo "$xsi_shell" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5188 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5190 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5192 && lt_shell_append
=yes
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5194 $as_echo "$lt_shell_append" >&6; }
5197 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5207 # test EBCDIC or ASCII
5208 case `echo X|tr X '\101'` in
5209 A
) # ASCII based system
5210 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5211 lt_SP2NL
='tr \040 \012'
5212 lt_NL2SP
='tr \015\012 \040\040'
5214 *) # EBCDIC based system
5215 lt_SP2NL
='tr \100 \n'
5216 lt_NL2SP
='tr \r\n \100\100'
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5229 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5230 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5231 $as_echo_n "(cached) " >&6
5233 lt_cv_ld_reload_flag
='-r'
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5236 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5237 reload_flag
=$lt_cv_ld_reload_flag
5238 case $reload_flag in
5240 *) reload_flag
=" $reload_flag" ;;
5242 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5245 if test "$GCC" = yes; then
5246 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5248 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5263 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -n "$OBJDUMP"; then
5270 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5276 test -z "$as_dir" && as_dir
=.
5277 for ac_exec_ext
in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 OBJDUMP
=$ac_cv_prog_OBJDUMP
5290 if test -n "$OBJDUMP"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5292 $as_echo "$OBJDUMP" >&6; }
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5300 if test -z "$ac_cv_prog_OBJDUMP"; then
5301 ac_ct_OBJDUMP
=$OBJDUMP
5302 # Extract the first word of "objdump", so it can be a program name with args.
5303 set dummy objdump
; ac_word
=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5307 $as_echo_n "(cached) " >&6
5309 if test -n "$ac_ct_OBJDUMP"; then
5310 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir
=.
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5319 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5330 if test -n "$ac_ct_OBJDUMP"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5332 $as_echo "$ac_ct_OBJDUMP" >&6; }
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5338 if test "x$ac_ct_OBJDUMP" = x
; then
5341 case $cross_compiling:$ac_tool_warned in
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned
=yes ;;
5347 OBJDUMP
=$ac_ct_OBJDUMP
5350 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5353 test -z "$OBJDUMP" && OBJDUMP
=objdump
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5364 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5365 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5366 $as_echo_n "(cached) " >&6
5368 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5369 lt_cv_file_magic_test_file
=
5370 lt_cv_deplibs_check_method
='unknown'
5371 # Need to set the preceding variable on all platforms that support
5372 # interlibrary dependencies.
5373 # 'none' -- dependencies not supported.
5374 # `unknown' -- same as none, but documents that we really don't know.
5375 # 'pass_all' -- all dependencies passed with no checks.
5376 # 'test_compile' -- check by making test program.
5377 # 'file_magic [[regex]]' -- check by looking for files in library path
5378 # which responds to the $file_magic_cmd with a given extended regex.
5379 # If you have `file' or equivalent on your system and you're not sure
5380 # whether `pass_all' will *always* work, you probably want this one.
5384 lt_cv_deplibs_check_method
=pass_all
5388 lt_cv_deplibs_check_method
=pass_all
5392 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5393 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5394 lt_cv_file_magic_test_file
=/shlib
/libc.so
5398 # func_win32_libid is a shell function defined in ltmain.sh
5399 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5400 lt_cv_file_magic_cmd
='func_win32_libid'
5404 # Base MSYS/MinGW do not provide the 'file' command needed by
5405 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5406 # unless we find 'file', for example because we are cross-compiling.
5407 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5408 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5409 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5410 lt_cv_file_magic_cmd
='func_win32_libid'
5412 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5413 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5418 # use the weaker test based on 'objdump'. See mingw*.
5419 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5420 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5423 darwin
* | rhapsody
*)
5424 lt_cv_deplibs_check_method
=pass_all
5427 freebsd
* | dragonfly
*)
5428 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5431 # Not sure whether the presence of OpenBSD here was a mistake.
5432 # Let's accept both of them until this is cleared up.
5433 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5434 lt_cv_file_magic_cmd
=/usr
/bin
/file
5435 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5439 lt_cv_deplibs_check_method
=pass_all
5444 lt_cv_deplibs_check_method
=pass_all
5448 lt_cv_deplibs_check_method
=pass_all
5451 hpux10.20
* | hpux11
*)
5452 lt_cv_file_magic_cmd
=/usr
/bin
/file
5455 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5456 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5459 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]'
5460 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5463 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5464 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5470 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5471 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5474 irix5
* | irix6
* | nonstopux
*)
5476 *-32|
*"-32 ") libmagic
=32-bit;;
5477 *-n32|
*"-n32 ") libmagic
=N32
;;
5478 *-64|
*"-64 ") libmagic
=64-bit;;
5479 *) libmagic
=never-match
;;
5481 lt_cv_deplibs_check_method
=pass_all
5484 # This must be Linux ELF.
5485 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5486 lt_cv_deplibs_check_method
=pass_all
5490 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5491 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5493 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5498 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5499 lt_cv_file_magic_cmd
=/usr
/bin
/file
5500 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5504 lt_cv_deplibs_check_method
=pass_all
5508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5509 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5511 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5515 osf3
* | osf4
* | osf5
*)
5516 lt_cv_deplibs_check_method
=pass_all
5520 lt_cv_deplibs_check_method
=pass_all
5524 lt_cv_deplibs_check_method
=pass_all
5527 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5528 lt_cv_deplibs_check_method
=pass_all
5532 case $host_vendor in
5534 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]'
5535 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5538 lt_cv_deplibs_check_method
=pass_all
5541 lt_cv_file_magic_cmd
='/bin/file'
5542 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5545 lt_cv_file_magic_cmd
='/bin/file'
5546 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5547 lt_cv_file_magic_test_file
=/lib
/libc.so
5550 lt_cv_deplibs_check_method
=pass_all
5553 lt_cv_deplibs_check_method
=pass_all
5559 lt_cv_deplibs_check_method
=pass_all
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5565 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5566 file_magic_cmd
=$lt_cv_file_magic_cmd
5567 deplibs_check_method
=$lt_cv_deplibs_check_method
5568 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5583 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if test "${ac_cv_prog_AR+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5589 if test -n "$AR"; then
5590 ac_cv_prog_AR
="$AR" # Let the user override the test.
5592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir
=.
5597 for ac_exec_ext
in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 if test -n "$AR"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5612 $as_echo "$AR" >&6; }
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_AR"; then
5622 # Extract the first word of "ar", so it can be a program name with args.
5623 set dummy
ar; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$ac_ct_AR"; then
5630 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_ac_ct_AR
="ar"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5650 if test -n "$ac_ct_AR"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5652 $as_echo "$ac_ct_AR" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_AR" = x
; then
5661 case $cross_compiling:$ac_tool_warned in
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned
=yes ;;
5673 test -z "$AR" && AR
=ar
5674 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5686 if test -n "$ac_tool_prefix"; then
5687 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5688 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if test "${ac_cv_prog_STRIP+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5694 if test -n "$STRIP"; then
5695 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_exec_ext
in '' $ac_executable_extensions; do
5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 STRIP
=$ac_cv_prog_STRIP
5715 if test -n "$STRIP"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5717 $as_echo "$STRIP" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5725 if test -z "$ac_cv_prog_STRIP"; then
5727 # Extract the first word of "strip", so it can be a program name with args.
5728 set dummy strip
; ac_word
=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$ac_ct_STRIP"; then
5735 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5744 ac_cv_prog_ac_ct_STRIP
="strip"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5755 if test -n "$ac_ct_STRIP"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5757 $as_echo "$ac_ct_STRIP" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5763 if test "x$ac_ct_STRIP" = x
; then
5766 case $cross_compiling:$ac_tool_warned in
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned
=yes ;;
5775 STRIP
="$ac_cv_prog_STRIP"
5778 test -z "$STRIP" && STRIP
=:
5785 if test -n "$ac_tool_prefix"; then
5786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5787 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5791 $as_echo_n "(cached) " >&6
5793 if test -n "$RANLIB"; then
5794 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5800 test -z "$as_dir" && as_dir
=.
5801 for ac_exec_ext
in '' $ac_executable_extensions; do
5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 RANLIB
=$ac_cv_prog_RANLIB
5814 if test -n "$RANLIB"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5816 $as_echo "$RANLIB" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5824 if test -z "$ac_cv_prog_RANLIB"; then
5825 ac_ct_RANLIB
=$RANLIB
5826 # Extract the first word of "ranlib", so it can be a program name with args.
5827 set dummy ranlib
; ac_word
=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$ac_ct_RANLIB"; then
5834 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5854 if test -n "$ac_ct_RANLIB"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5856 $as_echo "$ac_ct_RANLIB" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5862 if test "x$ac_ct_RANLIB" = x
; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned
=yes ;;
5871 RANLIB
=$ac_ct_RANLIB
5874 RANLIB
="$ac_cv_prog_RANLIB"
5877 test -z "$RANLIB" && RANLIB
=:
5884 # Determine commands to create old-style static archives.
5885 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5886 old_postinstall_cmds
='chmod 644 $oldlib'
5887 old_postuninstall_cmds
=
5889 if test -n "$RANLIB"; then
5892 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5895 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5898 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5903 lock_old_archive_extraction
=yes ;;
5905 lock_old_archive_extraction
=no
;;
5946 # If no C compiler was specified, use CC.
5949 # If no C compiler flags were specified, use CFLAGS.
5950 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5952 # Allow CC to be a program name with arguments.
5956 # Check for command to grab the raw symbol name followed by C symbol from nm.
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5958 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5959 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5960 $as_echo_n "(cached) " >&6
5963 # These are sane defaults that work on at least a few old systems.
5964 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5966 # Character class describing NM global symbol codes.
5967 symcode
='[BCDEGRST]'
5969 # Regexp to match symbols that can be accessed directly from C.
5970 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5972 # Define system-specific variables.
5977 cygwin
* | mingw
* | pw32
* | cegcc
*)
5978 symcode
='[ABCDGISTW]'
5981 if test "$host_cpu" = ia64
; then
5982 symcode
='[ABCDEGRST]'
5986 symcode
='[BCDEGRST]'
5989 symcode
='[BCDEGQRST]'
6000 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6008 # If we're using GNU nm, then use its standard symbol codes.
6009 case `$NM -V 2>&1` in
6010 *GNU
* |
*'with BFD'*)
6011 symcode
='[ABCDGIRSTW]' ;;
6014 # Transform an extracted symbol line into a proper C declaration.
6015 # Some systems (esp. on ia64) link data and code symbols differently,
6016 # so use this general approach.
6017 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6019 # Transform an extracted symbol line into symbol name and symbol address
6020 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6021 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'"
6023 # Handle CRLF in mingw tool chain
6027 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6031 # Try without a prefix underscore, then with it.
6032 for ac_symprfx
in "" "_"; do
6034 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6035 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6037 # Write the raw and C identifiers.
6038 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6039 # Fake it for dumpbin and say T for any non-static function
6040 # and D for any global variable.
6041 # Also find C++ and __fastcall symbols from MSVC++,
6042 # which start with @ or ?.
6043 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6044 " {last_section=section; section=\$ 3};"\
6045 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6046 " \$ 0!~/External *\|/{next};"\
6047 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6048 " {if(hide[section]) next};"\
6049 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6050 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6051 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6052 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6053 " ' prfx=^$ac_symprfx"
6055 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6058 # Check to see that the pipe works correctly.
6062 cat > conftest.
$ac_ext <<_LT_EOF
6067 void nm_test_func(void);
6068 void nm_test_func(void){}
6072 int main(){nm_test_var='a';nm_test_func();return(0);}
6075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6076 (eval $ac_compile) 2>&5
6078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079 test $ac_status = 0; }; then
6080 # Now try to grab the symbols.
6082 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6083 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6086 test $ac_status = 0; } && test -s "$nlist"; then
6087 # Try sorting and uniquifying the output.
6088 if sort "$nlist" |
uniq > "$nlist"T
; then
6089 mv -f "$nlist"T
"$nlist"
6094 # Make sure that we snagged all the symbols we need.
6095 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6096 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6097 cat <<_LT_EOF > conftest.$ac_ext
6103 # Now generate the symbol file.
6104 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6106 cat <<_LT_EOF >> conftest.$ac_ext
6108 /* The mapping between symbol names and symbols. */
6113 lt__PROGRAM__LTX_preloaded_symbols[] =
6115 { "@PROGRAM@", (void *) 0 },
6117 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6118 cat <<\_LT_EOF
>> conftest.
$ac_ext
6122 /* This works around a problem
in FreeBSD linker
*/
6123 #ifdef FREEBSD_WORKAROUND
6124 static const void
*lt_preloaded_setup
() {
6125 return lt__PROGRAM__LTX_preloaded_symbols
;
6133 # Now try linking the two files.
6134 mv conftest.
$ac_objext conftstm.
$ac_objext
6135 lt_save_LIBS
="$LIBS"
6136 lt_save_CFLAGS
="$CFLAGS"
6137 LIBS
="conftstm.$ac_objext"
6138 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6140 (eval $ac_link) 2>&5
6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6143 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6146 LIBS
="$lt_save_LIBS"
6147 CFLAGS
="$lt_save_CFLAGS"
6149 echo "cannot find nm_test_func in $nlist" >&5
6152 echo "cannot find nm_test_var in $nlist" >&5
6155 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6158 echo "$progname: failed program was:" >&5
6159 cat conftest.
$ac_ext >&5
6161 rm -rf conftest
* conftst
*
6163 # Do not use the global_symbol_pipe unless it works.
6164 if test "$pipe_works" = yes; then
6167 lt_cv_sys_global_symbol_pipe
=
6173 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6174 lt_cv_sys_global_symbol_to_cdecl
=
6176 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6178 $as_echo "failed" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6181 $as_echo "ok" >&6; }
6206 # Check whether --enable-libtool-lock was given.
6207 if test "${enable_libtool_lock+set}" = set; then :
6208 enableval
=$enable_libtool_lock;
6211 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6213 # Some flags need to be propagated to the compiler or linker for good
6217 # Find out which ABI we are using.
6218 echo 'int i;' > conftest.
$ac_ext
6219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6220 (eval $ac_compile) 2>&5
6222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6223 test $ac_status = 0; }; then
6224 case `/usr/bin/file conftest.$ac_objext` in
6236 # Find out which ABI we are using.
6237 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6239 (eval $ac_compile) 2>&5
6241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6242 test $ac_status = 0; }; then
6243 if test "$lt_cv_prog_gnu_ld" = yes; then
6244 case `/usr/bin/file conftest.$ac_objext` in
6246 LD
="${LD-ld} -melf32bsmip"
6249 LD
="${LD-ld} -melf32bmipn32"
6252 LD
="${LD-ld} -melf64bmip"
6256 case `/usr/bin/file conftest.$ac_objext` in
6272 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6273 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6274 # Find out which ABI we are using.
6275 echo 'int i;' > conftest.
$ac_ext
6276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6277 (eval $ac_compile) 2>&5
6279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6280 test $ac_status = 0; }; then
6281 case `/usr/bin/file conftest.o` in
6284 x86_64-
*kfreebsd
*-gnu)
6285 LD
="${LD-ld} -m elf_i386_fbsd"
6288 LD
="${LD-ld} -m elf_i386"
6290 ppc64-
*linux
*|powerpc64-
*linux
*)
6291 LD
="${LD-ld} -m elf32ppclinux"
6294 LD
="${LD-ld} -m elf_s390"
6297 LD
="${LD-ld} -m elf32_sparc"
6303 x86_64-
*kfreebsd
*-gnu)
6304 LD
="${LD-ld} -m elf_x86_64_fbsd"
6307 LD
="${LD-ld} -m elf_x86_64"
6309 ppc
*-*linux
*|powerpc
*-*linux
*)
6310 LD
="${LD-ld} -m elf64ppc"
6312 s390
*-*linux
*|s390
*-*tpf
*)
6313 LD
="${LD-ld} -m elf64_s390"
6316 LD
="${LD-ld} -m elf64_sparc"
6326 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6327 SAVE_CFLAGS
="$CFLAGS"
6328 CFLAGS
="$CFLAGS -belf"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6330 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6331 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6332 $as_echo_n "(cached) " >&6
6335 ac_cpp
='$CPP $CPPFLAGS'
6336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6351 if ac_fn_c_try_link
"$LINENO"; then :
6352 lt_cv_cc_needs_belf
=yes
6354 lt_cv_cc_needs_belf
=no
6356 rm -f core conftest.err conftest.
$ac_objext \
6357 conftest
$ac_exeext conftest.
$ac_ext
6359 ac_cpp
='$CPP $CPPFLAGS'
6360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6366 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6367 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6368 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6369 CFLAGS
="$SAVE_CFLAGS"
6373 # Find out which ABI we are using.
6374 echo 'int i;' > conftest.
$ac_ext
6375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6376 (eval $ac_compile) 2>&5
6378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379 test $ac_status = 0; }; then
6380 case `/usr/bin/file conftest.o` in
6382 case $lt_cv_prog_gnu_ld in
6383 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6385 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6397 need_locks
="$enable_libtool_lock"
6401 rhapsody
* | darwin
*)
6402 if test -n "$ac_tool_prefix"; then
6403 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6404 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6408 $as_echo_n "(cached) " >&6
6410 if test -n "$DSYMUTIL"; then
6411 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir
=.
6418 for ac_exec_ext
in '' $ac_executable_extensions; do
6419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6430 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6431 if test -n "$DSYMUTIL"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6433 $as_echo "$DSYMUTIL" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436 $as_echo "no" >&6; }
6441 if test -z "$ac_cv_prog_DSYMUTIL"; then
6442 ac_ct_DSYMUTIL
=$DSYMUTIL
6443 # Extract the first word of "dsymutil", so it can be a program name with args.
6444 set dummy dsymutil
; ac_word
=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6448 $as_echo_n "(cached) " >&6
6450 if test -n "$ac_ct_DSYMUTIL"; then
6451 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6457 test -z "$as_dir" && as_dir
=.
6458 for ac_exec_ext
in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6470 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6471 if test -n "$ac_ct_DSYMUTIL"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6473 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6479 if test "x$ac_ct_DSYMUTIL" = x
; then
6482 case $cross_compiling:$ac_tool_warned in
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486 ac_tool_warned
=yes ;;
6488 DSYMUTIL
=$ac_ct_DSYMUTIL
6491 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6494 if test -n "$ac_tool_prefix"; then
6495 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6496 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 $as_echo_n "checking for $ac_word... " >&6; }
6499 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6500 $as_echo_n "(cached) " >&6
6502 if test -n "$NMEDIT"; then
6503 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6509 test -z "$as_dir" && as_dir
=.
6510 for ac_exec_ext
in '' $ac_executable_extensions; do
6511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 NMEDIT
=$ac_cv_prog_NMEDIT
6523 if test -n "$NMEDIT"; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6525 $as_echo "$NMEDIT" >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528 $as_echo "no" >&6; }
6533 if test -z "$ac_cv_prog_NMEDIT"; then
6534 ac_ct_NMEDIT
=$NMEDIT
6535 # Extract the first word of "nmedit", so it can be a program name with args.
6536 set dummy nmedit
; ac_word
=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$ac_ct_NMEDIT"; then
6543 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir
=.
6550 for ac_exec_ext
in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6563 if test -n "$ac_ct_NMEDIT"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6565 $as_echo "$ac_ct_NMEDIT" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6571 if test "x$ac_ct_NMEDIT" = x
; then
6574 case $cross_compiling:$ac_tool_warned in
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6578 ac_tool_warned
=yes ;;
6580 NMEDIT
=$ac_ct_NMEDIT
6583 NMEDIT
="$ac_cv_prog_NMEDIT"
6586 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6588 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if test "${ac_cv_prog_LIPO+set}" = set; then :
6592 $as_echo_n "(cached) " >&6
6594 if test -n "$LIPO"; then
6595 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir
=.
6602 for ac_exec_ext
in '' $ac_executable_extensions; do
6603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6604 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6614 LIPO
=$ac_cv_prog_LIPO
6615 if test -n "$LIPO"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6617 $as_echo "$LIPO" >&6; }
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6625 if test -z "$ac_cv_prog_LIPO"; then
6627 # Extract the first word of "lipo", so it can be a program name with args.
6628 set dummy lipo
; ac_word
=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6632 $as_echo_n "(cached) " >&6
6634 if test -n "$ac_ct_LIPO"; then
6635 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir
=.
6642 for ac_exec_ext
in '' $ac_executable_extensions; do
6643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6644 ac_cv_prog_ac_ct_LIPO
="lipo"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6655 if test -n "$ac_ct_LIPO"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6657 $as_echo "$ac_ct_LIPO" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6663 if test "x$ac_ct_LIPO" = x
; then
6666 case $cross_compiling:$ac_tool_warned in
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670 ac_tool_warned
=yes ;;
6675 LIPO
="$ac_cv_prog_LIPO"
6678 if test -n "$ac_tool_prefix"; then
6679 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6680 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6684 $as_echo_n "(cached) " >&6
6686 if test -n "$OTOOL"; then
6687 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir
=.
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 OTOOL
=$ac_cv_prog_OTOOL
6707 if test -n "$OTOOL"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6709 $as_echo "$OTOOL" >&6; }
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6717 if test -z "$ac_cv_prog_OTOOL"; then
6719 # Extract the first word of "otool", so it can be a program name with args.
6720 set dummy otool
; ac_word
=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6724 $as_echo_n "(cached) " >&6
6726 if test -n "$ac_ct_OTOOL"; then
6727 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir
=.
6734 for ac_exec_ext
in '' $ac_executable_extensions; do
6735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6736 ac_cv_prog_ac_ct_OTOOL
="otool"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6747 if test -n "$ac_ct_OTOOL"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6749 $as_echo "$ac_ct_OTOOL" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6755 if test "x$ac_ct_OTOOL" = x
; then
6758 case $cross_compiling:$ac_tool_warned in
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6762 ac_tool_warned
=yes ;;
6767 OTOOL
="$ac_cv_prog_OTOOL"
6770 if test -n "$ac_tool_prefix"; then
6771 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6772 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$OTOOL64"; then
6779 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir
=.
6786 for ac_exec_ext
in '' $ac_executable_extensions; do
6787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 OTOOL64
=$ac_cv_prog_OTOOL64
6799 if test -n "$OTOOL64"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6801 $as_echo "$OTOOL64" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6809 if test -z "$ac_cv_prog_OTOOL64"; then
6810 ac_ct_OTOOL64
=$OTOOL64
6811 # Extract the first word of "otool64", so it can be a program name with args.
6812 set dummy otool64
; ac_word
=$2
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6814 $as_echo_n "checking for $ac_word... " >&6; }
6815 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6816 $as_echo_n "(cached) " >&6
6818 if test -n "$ac_ct_OTOOL64"; then
6819 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6825 test -z "$as_dir" && as_dir
=.
6826 for ac_exec_ext
in '' $ac_executable_extensions; do
6827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6828 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6838 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6839 if test -n "$ac_ct_OTOOL64"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6841 $as_echo "$ac_ct_OTOOL64" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6847 if test "x$ac_ct_OTOOL64" = x
; then
6850 case $cross_compiling:$ac_tool_warned in
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6854 ac_tool_warned
=yes ;;
6856 OTOOL64
=$ac_ct_OTOOL64
6859 OTOOL64
="$ac_cv_prog_OTOOL64"
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6889 $as_echo_n "checking for -single_module linker flag... " >&6; }
6890 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6891 $as_echo_n "(cached) " >&6
6893 lt_cv_apple_cc_single_mod
=no
6894 if test -z "${LT_MULTI_MODULE}"; then
6895 # By default we will add the -single_module flag. You can override
6896 # by either setting the environment variable LT_MULTI_MODULE
6897 # non-empty at configure time, or by adding -multi_module to the
6899 rm -rf libconftest.dylib
*
6900 echo "int foo(void){return 1;}" > conftest.c
6901 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6902 -dynamiclib -Wl,-single_module conftest.c" >&5
6903 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6904 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6906 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6907 lt_cv_apple_cc_single_mod
=yes
6909 cat conftest.err
>&5
6911 rm -rf libconftest.dylib
*
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6916 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6918 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6919 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6920 $as_echo_n "(cached) " >&6
6922 lt_cv_ld_exported_symbols_list
=no
6923 save_LDFLAGS
=$LDFLAGS
6924 echo "_main" > conftest.sym
6925 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6937 if ac_fn_c_try_link
"$LINENO"; then :
6938 lt_cv_ld_exported_symbols_list
=yes
6940 lt_cv_ld_exported_symbols_list
=no
6942 rm -f core conftest.err conftest.
$ac_objext \
6943 conftest
$ac_exeext conftest.
$ac_ext
6944 LDFLAGS
="$save_LDFLAGS"
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6948 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6950 $as_echo_n "checking for -force_load linker flag... " >&6; }
6951 if test "${lt_cv_ld_force_load+set}" = set; then :
6952 $as_echo_n "(cached) " >&6
6954 lt_cv_ld_force_load
=no
6955 cat > conftest.c
<< _LT_EOF
6956 int forced_loaded() { return 2;}
6958 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6959 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
6960 echo "$AR cru libconftest.a conftest.o" >&5
6961 $AR cru libconftest.a conftest.o
2>&5
6962 cat > conftest.c
<< _LT_EOF
6963 int main() { return 0;}
6965 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6966 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
6968 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
6969 lt_cv_ld_force_load
=yes
6971 cat conftest.err
>&5
6973 rm -f conftest.err libconftest.a conftest conftest.c
6974 rm -rf conftest.dSYM
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6978 $as_echo "$lt_cv_ld_force_load" >&6; }
6980 rhapsody
* | darwin1.
[012])
6981 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6983 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6984 darwin
*) # darwin 5.x on
6985 # if running on 10.5 or later, the deployment target defaults
6986 # to the OS version, if on x86, and 10.4, the deployment
6987 # target defaults to 10.4. Don't you love it?
6988 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6989 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
6990 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6992 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6994 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6998 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6999 _lt_dar_single_mod
='$single_module'
7001 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7002 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7004 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7006 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7007 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7015 ac_cpp
='$CPP $CPPFLAGS'
7016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7020 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7021 # On Suns, sometimes $CPP names a directory.
7022 if test -n "$CPP" && test -d "$CPP"; then
7025 if test -z "$CPP"; then
7026 if test "${ac_cv_prog_CPP+set}" = set; then :
7027 $as_echo_n "(cached) " >&6
7029 # Double quotes because CPP needs to be expanded
7030 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7033 for ac_c_preproc_warn_flag
in '' yes
7035 # Use a header file that comes with gcc, so configuring glibc
7036 # with a fresh cross-compiler works.
7037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7038 # <limits.h> exists even on freestanding compilers.
7039 # On the NeXT, cc -E runs the code through the compiler's parser,
7040 # not just through cpp. "Syntax error" is here to catch this case.
7041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7042 /* end confdefs.h. */
7044 # include <limits.h>
7046 # include <assert.h>
7050 if ac_fn_c_try_cpp
"$LINENO"; then :
7053 # Broken: fails on valid input.
7056 rm -f conftest.err conftest.
$ac_ext
7058 # OK, works on sane cases. Now check whether nonexistent headers
7059 # can be detected and how.
7060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7061 /* end confdefs.h. */
7062 #include <ac_nonexistent.h>
7064 if ac_fn_c_try_cpp
"$LINENO"; then :
7065 # Broken: success on invalid input.
7068 # Passes both tests.
7072 rm -f conftest.err conftest.
$ac_ext
7075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7076 rm -f conftest.err conftest.
$ac_ext
7077 if $ac_preproc_ok; then :
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7090 $as_echo "$CPP" >&6; }
7092 for ac_c_preproc_warn_flag
in '' yes
7094 # Use a header file that comes with gcc, so configuring glibc
7095 # with a fresh cross-compiler works.
7096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7097 # <limits.h> exists even on freestanding compilers.
7098 # On the NeXT, cc -E runs the code through the compiler's parser,
7099 # not just through cpp. "Syntax error" is here to catch this case.
7100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7103 # include <limits.h>
7105 # include <assert.h>
7109 if ac_fn_c_try_cpp
"$LINENO"; then :
7112 # Broken: fails on valid input.
7115 rm -f conftest.err conftest.
$ac_ext
7117 # OK, works on sane cases. Now check whether nonexistent headers
7118 # can be detected and how.
7119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <ac_nonexistent.h>
7123 if ac_fn_c_try_cpp
"$LINENO"; then :
7124 # Broken: success on invalid input.
7127 # Passes both tests.
7131 rm -f conftest.err conftest.
$ac_ext
7134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7135 rm -f conftest.err conftest.
$ac_ext
7136 if $ac_preproc_ok; then :
7139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7141 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7142 See \`config.log' for more details." "$LINENO" 5; }
7146 ac_cpp
='$CPP $CPPFLAGS'
7147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7153 $as_echo_n "checking for ANSI C header files... " >&6; }
7154 if test "${ac_cv_header_stdc+set}" = set; then :
7155 $as_echo_n "(cached) " >&6
7157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7172 if ac_fn_c_try_compile
"$LINENO"; then :
7173 ac_cv_header_stdc
=yes
7175 ac_cv_header_stdc
=no
7177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7179 if test $ac_cv_header_stdc = yes; then
7180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7187 $EGREP "memchr" >/dev
/null
2>&1; then :
7190 ac_cv_header_stdc
=no
7196 if test $ac_cv_header_stdc = yes; then
7197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7204 $EGREP "free" >/dev
/null
2>&1; then :
7207 ac_cv_header_stdc
=no
7213 if test $ac_cv_header_stdc = yes; then
7214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7215 if test "$cross_compiling" = yes; then :
7218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7222 #if ((' ' & 0x0FF) == 0x020)
7223 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7224 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7226 # define ISLOWER(c) \
7227 (('a' <= (c) && (c) <= 'i') \
7228 || ('j' <= (c) && (c) <= 'r') \
7229 || ('s' <= (c) && (c) <= 'z'))
7230 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7233 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7238 for (i = 0; i < 256; i++)
7239 if (XOR (islower (i), ISLOWER (i))
7240 || toupper (i) != TOUPPER (i))
7245 if ac_fn_c_try_run
"$LINENO"; then :
7248 ac_cv_header_stdc
=no
7250 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7251 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7257 $as_echo "$ac_cv_header_stdc" >&6; }
7258 if test $ac_cv_header_stdc = yes; then
7260 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7264 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7265 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7266 inttypes.h stdint.h unistd.h
7268 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7269 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7271 eval as_val
=\$
$as_ac_Header
7272 if test "x$as_val" = x
""yes; then :
7273 cat >>confdefs.h
<<_ACEOF
7274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 for ac_header
in dlfcn.h
7284 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7286 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7287 cat >>confdefs.h
<<_ACEOF
7288 #define HAVE_DLFCN_H 1
7295 if test -n "$ac_tool_prefix"; then
7296 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
7297 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if test "${ac_cv_prog_GOC+set}" = set; then :
7301 $as_echo_n "(cached) " >&6
7303 if test -n "$GOC"; then
7304 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
7306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir
=.
7311 for ac_exec_ext
in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 if test -n "$GOC"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
7326 $as_echo "$GOC" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7334 if test -z "$ac_cv_prog_GOC"; then
7336 # Extract the first word of "gccgo", so it can be a program name with args.
7337 set dummy gccgo
; ac_word
=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7343 if test -n "$ac_ct_GOC"; then
7344 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
7346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir
=.
7351 for ac_exec_ext
in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_ac_ct_GOC
="gccgo"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
7364 if test -n "$ac_ct_GOC"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
7366 $as_echo "$ac_ct_GOC" >&6; }
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7372 if test "x$ac_ct_GOC" = x
; then
7375 case $cross_compiling:$ac_tool_warned in
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7379 ac_tool_warned
=yes ;;
7384 GOC
="$ac_cv_prog_GOC"
7400 # Check whether --enable-shared was given.
7401 if test "${enable_shared+set}" = set; then :
7402 enableval
=$enable_shared; p
=${PACKAGE-default}
7404 yes) enable_shared
=yes ;;
7405 no
) enable_shared
=no
;;
7408 # Look at the argument we got. We use all the common list separators.
7409 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7410 for pkg
in $enableval; do
7412 if test "X$pkg" = "X$p"; then
7431 # Check whether --enable-static was given.
7432 if test "${enable_static+set}" = set; then :
7433 enableval
=$enable_static; p
=${PACKAGE-default}
7435 yes) enable_static
=yes ;;
7436 no
) enable_static
=no
;;
7439 # Look at the argument we got. We use all the common list separators.
7440 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7441 for pkg
in $enableval; do
7443 if test "X$pkg" = "X$p"; then
7463 # Check whether --with-pic was given.
7464 if test "${with_pic+set}" = set; then :
7465 withval
=$with_pic; pic_mode
="$withval"
7471 test -z "$pic_mode" && pic_mode
=default
7479 # Check whether --enable-fast-install was given.
7480 if test "${enable_fast_install+set}" = set; then :
7481 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7483 yes) enable_fast_install
=yes ;;
7484 no
) enable_fast_install
=no
;;
7486 enable_fast_install
=no
7487 # Look at the argument we got. We use all the common list separators.
7488 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7489 for pkg
in $enableval; do
7491 if test "X$pkg" = "X$p"; then
7492 enable_fast_install
=yes
7499 enable_fast_install
=yes
7512 # This can be used to rebuild libtool when needed
7513 LIBTOOL_DEPS
="$ltmain"
7515 # Always use our own libtool.
7516 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7543 test -z "$LN_S" && LN_S
="ln -s"
7558 if test -n "${ZSH_VERSION+set}" ; then
7559 setopt NO_GLOB_SUBST
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7563 $as_echo_n "checking for objdir... " >&6; }
7564 if test "${lt_cv_objdir+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7567 rm -f .libs
2>/dev
/null
7568 mkdir .libs
2>/dev
/null
7569 if test -d .libs
; then
7572 # MS-DOS does not allow filenames that begin with a dot.
7575 rmdir .libs
2>/dev
/null
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7578 $as_echo "$lt_cv_objdir" >&6; }
7579 objdir
=$lt_cv_objdir
7585 cat >>confdefs.h
<<_ACEOF
7586 #define LT_OBJDIR "$lt_cv_objdir/"
7594 # AIX sometimes has problems with the GCC collect2 program. For some
7595 # reason, if we set the COLLECT_NAMES environment variable, the problems
7596 # vanish in a puff of smoke.
7597 if test "X${COLLECT_NAMES+set}" != Xset
; then
7599 export COLLECT_NAMES
7606 can_build_shared
=yes
7608 # All known linkers require a `.a' archive for static linking (except MSVC,
7609 # which needs '.lib').
7612 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7615 old_CFLAGS
="$CFLAGS"
7617 # Set sane defaults for various variables
7618 test -z "$CC" && CC
=cc
7619 test -z "$LTCC" && LTCC
=$CC
7620 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7621 test -z "$LD" && LD
=ld
7622 test -z "$ac_objext" && ac_objext
=o
7624 for cc_temp
in $compiler""; do
7626 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7627 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7632 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7635 # Only perform the check for file, if the check method requires it
7636 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7637 case $deplibs_check_method in
7639 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7641 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7642 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7643 $as_echo_n "(cached) " >&6
7647 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7650 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7651 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7652 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7653 for ac_dir
in $ac_dummy; do
7655 test -z "$ac_dir" && ac_dir
=.
7656 if test -f $ac_dir/${ac_tool_prefix}file; then
7657 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7658 if test -n "$file_magic_test_file"; then
7659 case $deplibs_check_method in
7661 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7662 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7663 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7664 $EGREP "$file_magic_regex" > /dev
/null
; then
7669 *** Warning: the command libtool uses to detect shared libraries,
7670 *** $file_magic_cmd, produces output that libtool cannot recognize.
7671 *** The result is that libtool may fail to recognize shared libraries
7672 *** as such. This will affect the creation of libtool libraries that
7673 *** depend on shared libraries, but programs linked with such libtool
7674 *** libraries will work regardless of this problem. Nevertheless, you
7675 *** may want to report the problem to your system manager and/or to
7676 *** bug-libtool@gnu.org
7686 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7691 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7692 if test -n "$MAGIC_CMD"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7694 $as_echo "$MAGIC_CMD" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7704 if test -z "$lt_cv_path_MAGIC_CMD"; then
7705 if test -n "$ac_tool_prefix"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7707 $as_echo_n "checking for file... " >&6; }
7708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7713 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7716 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7717 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7718 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7719 for ac_dir
in $ac_dummy; do
7721 test -z "$ac_dir" && ac_dir
=.
7722 if test -f $ac_dir/file; then
7723 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7724 if test -n "$file_magic_test_file"; then
7725 case $deplibs_check_method in
7727 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7728 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7729 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7730 $EGREP "$file_magic_regex" > /dev
/null
; then
7735 *** Warning: the command libtool uses to detect shared libraries,
7736 *** $file_magic_cmd, produces output that libtool cannot recognize.
7737 *** The result is that libtool may fail to recognize shared libraries
7738 *** as such. This will affect the creation of libtool libraries that
7739 *** depend on shared libraries, but programs linked with such libtool
7740 *** libraries will work regardless of this problem. Nevertheless, you
7741 *** may want to report the problem to your system manager and/or to
7742 *** bug-libtool@gnu.org
7752 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7757 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7758 if test -n "$MAGIC_CMD"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7760 $as_echo "$MAGIC_CMD" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7776 # Use C for the default configuration in the libtool script
7780 ac_cpp
='$CPP $CPPFLAGS'
7781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7786 # Source file extension for C test sources.
7789 # Object file extension for compiled C test sources.
7793 # Code to be used in simple compile tests
7794 lt_simple_compile_test_code
="int some_variable = 0;"
7796 # Code to be used in simple link tests
7797 lt_simple_link_test_code
='int main(){return(0);}'
7805 # If no C compiler was specified, use CC.
7808 # If no C compiler flags were specified, use CFLAGS.
7809 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7811 # Allow CC to be a program name with arguments.
7814 # Save the default compiler, since it gets overwritten when the other
7815 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7816 compiler_DEFAULT
=$CC
7818 # save warnings/boilerplate of simple test code
7819 ac_outfile
=conftest.
$ac_objext
7820 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7821 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7822 _lt_compiler_boilerplate
=`cat conftest.err`
7825 ac_outfile
=conftest.
$ac_objext
7826 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7827 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7828 _lt_linker_boilerplate
=`cat conftest.err`
7833 ## There is no encapsulation within the following macros, do not change
7834 ## the running order or otherwise move them around unless you know exactly
7835 ## what you are doing...
7836 if test -n "$compiler"; then
7838 lt_prog_compiler_no_builtin_flag
=
7840 if test "$GCC" = yes; then
7841 case $cc_basename in
7843 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7845 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7849 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7850 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7851 $as_echo_n "(cached) " >&6
7853 lt_cv_prog_compiler_rtti_exceptions
=no
7854 ac_outfile
=conftest.
$ac_objext
7855 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7856 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7857 # Insert the option either (1) after the last *FLAGS variable, or
7858 # (2) before a word containing "conftest.", or (3) at the end.
7859 # Note that $ac_compile itself does not contain backslashes and begins
7860 # with a dollar sign (not a hyphen), so the echo should work correctly.
7861 # The option is referenced via a variable to avoid confusing sed.
7862 lt_compile
=`echo "$ac_compile" | $SED \
7863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7865 -e 's:$: $lt_compiler_flag:'`
7866 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7867 (eval "$lt_compile" 2>conftest.err
)
7869 cat conftest.err
>&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 if (exit $ac_status) && test -s "$ac_outfile"; then
7872 # The compiler can only warn and ignore the option if not recognized
7873 # So say no if there are warnings other than the usual output.
7874 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7875 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7876 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7877 lt_cv_prog_compiler_rtti_exceptions
=yes
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7884 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7886 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7887 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7899 lt_prog_compiler_wl
=
7900 lt_prog_compiler_pic
=
7901 lt_prog_compiler_static
=
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7904 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7906 if test "$GCC" = yes; then
7907 lt_prog_compiler_wl
='-Wl,'
7908 lt_prog_compiler_static
='-static'
7912 # All AIX code is PIC.
7913 if test "$host_cpu" = ia64
; then
7914 # AIX 5 now supports IA64 processor
7915 lt_prog_compiler_static
='-Bstatic'
7922 # see comment about AmigaOS4 .so support
7923 lt_prog_compiler_pic
='-fPIC'
7926 # FIXME: we need at least 68020 code to build shared libraries, but
7927 # adding the `-m68020' flag to GCC prevents building anything better,
7929 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7934 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7935 # PIC is the default for these OSes.
7938 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7939 # This hack is so that the source file can tell whether it is being
7940 # built for inclusion in a dll (and should export symbols for example).
7941 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7942 # (--disable-auto-import) libraries
7943 lt_prog_compiler_pic
='-DDLL_EXPORT'
7946 darwin
* | rhapsody
*)
7947 # PIC is the default on this platform
7948 # Common symbols not allowed in MH_DYLIB files
7949 lt_prog_compiler_pic
='-fno-common'
7953 # PIC is the default for Haiku.
7954 # The "-static" flag exists, but is broken.
7955 lt_prog_compiler_static
=
7959 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7960 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7961 # sets the default TLS model and affects inlining.
7967 lt_prog_compiler_pic
='-fPIC'
7973 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7974 # Instead, we relocate shared libraries at runtime.
7978 # Just because we use GCC doesn't mean we suddenly get shared libraries
7979 # on systems that don't support them.
7980 lt_prog_compiler_can_build_shared
=no
7985 # QNX uses GNU C++, but need to define -shared option too, otherwise
7987 lt_prog_compiler_pic
='-fPIC -shared'
7991 if test -d /usr
/nec
; then
7992 lt_prog_compiler_pic
=-Kconform_pic
7997 lt_prog_compiler_pic
='-fPIC'
8001 case $cc_basename in
8002 nvcc
*) # Cuda Compiler Driver 2.2
8003 lt_prog_compiler_wl
='-Xlinker '
8004 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8008 # PORTME Check for flag to pass linker flags through the system compiler.
8011 lt_prog_compiler_wl
='-Wl,'
8012 if test "$host_cpu" = ia64
; then
8013 # AIX 5 now supports IA64 processor
8014 lt_prog_compiler_static
='-Bstatic'
8016 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8020 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8021 # This hack is so that the source file can tell whether it is being
8022 # built for inclusion in a dll (and should export symbols for example).
8023 lt_prog_compiler_pic
='-DDLL_EXPORT'
8026 hpux9
* | hpux10
* | hpux11
*)
8027 lt_prog_compiler_wl
='-Wl,'
8028 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8035 lt_prog_compiler_pic
='+Z'
8038 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8039 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8042 irix5
* | irix6
* | nonstopux
*)
8043 lt_prog_compiler_wl
='-Wl,'
8044 # PIC (with -KPIC) is the default.
8045 lt_prog_compiler_static
='-non_shared'
8048 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8049 case $cc_basename in
8050 # old Intel for x86_64 which still supported -KPIC.
8052 lt_prog_compiler_wl
='-Wl,'
8053 lt_prog_compiler_pic
='-KPIC'
8054 lt_prog_compiler_static
='-static'
8056 # icc used to be incompatible with GCC.
8057 # ICC 10 doesn't accept -KPIC any more.
8059 lt_prog_compiler_wl
='-Wl,'
8060 lt_prog_compiler_pic
='-fPIC'
8061 lt_prog_compiler_static
='-static'
8063 # Lahey Fortran 8.1.
8065 lt_prog_compiler_wl
='-Wl,'
8066 lt_prog_compiler_pic
='--shared'
8067 lt_prog_compiler_static
='--static'
8069 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8070 # Portland Group compilers (*not* the Pentium gcc compiler,
8071 # which looks to be a dead project)
8072 lt_prog_compiler_wl
='-Wl,'
8073 lt_prog_compiler_pic
='-fpic'
8074 lt_prog_compiler_static
='-Bstatic'
8077 lt_prog_compiler_wl
='-Wl,'
8078 # All Alpha code is PIC.
8079 lt_prog_compiler_static
='-non_shared'
8081 xl
* | bgxl
* | bgf
* | mpixl
*)
8082 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8083 lt_prog_compiler_wl
='-Wl,'
8084 lt_prog_compiler_pic
='-qpic'
8085 lt_prog_compiler_static
='-qstaticlink'
8088 case `$CC -V 2>&1 | sed 5q` in
8089 *Sun\ F
* |
*Sun
*Fortran
*)
8090 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8091 lt_prog_compiler_pic
='-KPIC'
8092 lt_prog_compiler_static
='-Bstatic'
8093 lt_prog_compiler_wl
=''
8097 lt_prog_compiler_pic
='-KPIC'
8098 lt_prog_compiler_static
='-Bstatic'
8099 lt_prog_compiler_wl
='-Wl,'
8107 lt_prog_compiler_pic
='-KPIC'
8108 lt_prog_compiler_static
='-Bstatic'
8112 # QNX uses GNU C++, but need to define -shared option too, otherwise
8114 lt_prog_compiler_pic
='-fPIC -shared'
8117 osf3
* | osf4
* | osf5
*)
8118 lt_prog_compiler_wl
='-Wl,'
8119 # All OSF/1 code is PIC.
8120 lt_prog_compiler_static
='-non_shared'
8124 lt_prog_compiler_static
='-non_shared'
8128 lt_prog_compiler_pic
='-KPIC'
8129 lt_prog_compiler_static
='-Bstatic'
8130 case $cc_basename in
8132 lt_prog_compiler_wl
='-Qoption ld ';;
8134 lt_prog_compiler_wl
='-Wl,';;
8139 lt_prog_compiler_wl
='-Qoption ld '
8140 lt_prog_compiler_pic
='-PIC'
8141 lt_prog_compiler_static
='-Bstatic'
8144 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8145 lt_prog_compiler_wl
='-Wl,'
8146 lt_prog_compiler_pic
='-KPIC'
8147 lt_prog_compiler_static
='-Bstatic'
8151 if test -d /usr
/nec
;then
8152 lt_prog_compiler_pic
='-Kconform_pic'
8153 lt_prog_compiler_static
='-Bstatic'
8157 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8158 lt_prog_compiler_wl
='-Wl,'
8159 lt_prog_compiler_pic
='-KPIC'
8160 lt_prog_compiler_static
='-Bstatic'
8164 lt_prog_compiler_wl
='-Wl,'
8165 lt_prog_compiler_can_build_shared
=no
8169 lt_prog_compiler_pic
='-pic'
8170 lt_prog_compiler_static
='-Bstatic'
8174 lt_prog_compiler_can_build_shared
=no
8180 # For platforms which do not support PIC, -DPIC is meaningless:
8182 lt_prog_compiler_pic
=
8185 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8189 $as_echo "$lt_prog_compiler_pic" >&6; }
8197 # Check to make sure the PIC flag actually works.
8199 if test -n "$lt_prog_compiler_pic"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8201 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8202 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8205 lt_cv_prog_compiler_pic_works
=no
8206 ac_outfile
=conftest.
$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8208 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile
=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err
)
8221 cat conftest.err
>&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8228 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8229 lt_cv_prog_compiler_pic_works
=yes
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8236 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8238 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8239 case $lt_prog_compiler_pic in
8241 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8244 lt_prog_compiler_pic
=
8245 lt_prog_compiler_can_build_shared
=no
8256 # Check to make sure the static flag actually works.
8258 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8260 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8261 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8262 $as_echo_n "(cached) " >&6
8264 lt_cv_prog_compiler_static_works
=no
8265 save_LDFLAGS
="$LDFLAGS"
8266 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8267 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8268 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8269 # The linker can only warn and ignore the option if not recognized
8270 # So say no if there are warnings
8271 if test -s conftest.err
; then
8272 # Append any errors to the config.log.
8273 cat conftest.err
1>&5
8274 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8275 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8276 if diff conftest.exp conftest.er2
>/dev
/null
; then
8277 lt_cv_prog_compiler_static_works
=yes
8280 lt_cv_prog_compiler_static_works
=yes
8284 LDFLAGS
="$save_LDFLAGS"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8288 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8290 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8293 lt_prog_compiler_static
=
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8303 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8304 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8305 $as_echo_n "(cached) " >&6
8307 lt_cv_prog_compiler_c_o
=no
8308 $RM -r conftest
2>/dev
/null
8312 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8314 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8315 # Insert the option either (1) after the last *FLAGS variable, or
8316 # (2) before a word containing "conftest.", or (3) at the end.
8317 # Note that $ac_compile itself does not contain backslashes and begins
8318 # with a dollar sign (not a hyphen), so the echo should work correctly.
8319 lt_compile
=`echo "$ac_compile" | $SED \
8320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322 -e 's:$: $lt_compiler_flag:'`
8323 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8324 (eval "$lt_compile" 2>out
/conftest.err
)
8326 cat out
/conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8330 # The compiler can only warn and ignore the option if not recognized
8331 # So say no if there are warnings
8332 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8333 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8334 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8335 lt_cv_prog_compiler_c_o
=yes
8340 # SGI C++ compiler will create directory out/ii_files/ for
8341 # template instantiation
8342 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8343 $RM out
/* && rmdir out
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8350 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8358 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8359 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8362 lt_cv_prog_compiler_c_o
=no
8363 $RM -r conftest
2>/dev
/null
8367 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8369 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8370 # Insert the option either (1) after the last *FLAGS variable, or
8371 # (2) before a word containing "conftest.", or (3) at the end.
8372 # Note that $ac_compile itself does not contain backslashes and begins
8373 # with a dollar sign (not a hyphen), so the echo should work correctly.
8374 lt_compile
=`echo "$ac_compile" | $SED \
8375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377 -e 's:$: $lt_compiler_flag:'`
8378 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8379 (eval "$lt_compile" 2>out
/conftest.err
)
8381 cat out
/conftest.err
>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8385 # The compiler can only warn and ignore the option if not recognized
8386 # So say no if there are warnings
8387 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8388 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8389 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8390 lt_cv_prog_compiler_c_o
=yes
8395 # SGI C++ compiler will create directory out/ii_files/ for
8396 # template instantiation
8397 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8398 $RM out
/* && rmdir out
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8405 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8410 hard_links
="nottested"
8411 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8412 # do not overwrite the value of need_locks provided by the user
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8414 $as_echo_n "checking if we can lock with hard links... " >&6; }
8417 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8419 ln conftest.a conftest.b
2>&5 || hard_links
=no
8420 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8422 $as_echo "$hard_links" >&6; }
8423 if test "$hard_links" = no
; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8425 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8438 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8441 allow_undefined_flag
=
8442 always_export_symbols
=no
8444 archive_expsym_cmds
=
8445 compiler_needs_object
=no
8446 enable_shared_with_static_runtimes
=no
8447 export_dynamic_flag_spec
=
8448 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8449 hardcode_automatic
=no
8451 hardcode_direct_absolute
=no
8452 hardcode_libdir_flag_spec
=
8453 hardcode_libdir_flag_spec_ld
=
8454 hardcode_libdir_separator
=
8456 hardcode_shlibpath_var
=unsupported
8458 link_all_deplibs
=unknown
8461 old_archive_from_new_cmds
=
8462 old_archive_from_expsyms_cmds
=
8463 thread_safe_flag_spec
=
8464 whole_archive_flag_spec
=
8465 # include_expsyms should be a list of space-separated symbols to be *always*
8466 # included in the symbol list
8468 # exclude_expsyms can be an extended regexp of symbols to exclude
8469 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8470 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8471 # as well as any symbol that contains `d'.
8472 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8473 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8474 # platforms (ab)use it in PIC code, but their linkers get confused if
8475 # the symbol is explicitly referenced. Since portable code cannot
8476 # rely on this symbol name, it's probably fine to never include it in
8477 # preloaded symbol tables.
8478 # Exclude shared library initialization/finalization symbols.
8479 extract_expsyms_cmds
=
8482 cygwin
* | mingw
* | pw32
* | cegcc
*)
8483 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8484 # When not using gcc, we currently assume that we are using
8485 # Microsoft Visual C++.
8486 if test "$GCC" != yes; then
8491 # we just hope/assume this is gcc and not c89 (= MSVC++)
8501 # On some targets, GNU ld is compatible enough with the native linker
8502 # that we're better off using the native interface for both.
8503 lt_use_gnu_ld_interface
=no
8504 if test "$with_gnu_ld" = yes; then
8507 # The AIX port of GNU ld has always aspired to compatibility
8508 # with the native linker. However, as the warning in the GNU ld
8509 # block says, versions before 2.19.5* couldn't really create working
8510 # shared libraries, regardless of the interface used.
8511 case `$LD -v 2>&1` in
8512 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8513 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8514 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8516 lt_use_gnu_ld_interface
=yes
8521 lt_use_gnu_ld_interface
=yes
8526 if test "$lt_use_gnu_ld_interface" = yes; then
8527 # If archive_cmds runs LD, not CC, wlarc should be empty
8530 # Set some defaults for GNU ld with shared library support. These
8531 # are reset later if shared libraries are not supported. Putting them
8532 # here allows them to be overridden if necessary.
8533 runpath_var
=LD_RUN_PATH
8534 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8535 export_dynamic_flag_spec
='${wl}--export-dynamic'
8536 # ancient GNU ld didn't support --whole-archive et. al.
8537 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8538 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8540 whole_archive_flag_spec
=
8542 supports_anon_versioning
=no
8543 case `$LD -v 2>&1` in
8544 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8545 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8546 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8547 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8548 *\
2.11.
*) ;; # other 2.11 versions
8549 *) supports_anon_versioning
=yes ;;
8552 # See if GNU ld supports shared libraries.
8555 # On AIX/PPC, the GNU linker is very broken
8556 if test "$host_cpu" != ia64
; then
8560 *** Warning: the GNU linker, at least up to release 2.19, is reported
8561 *** to be unable to reliably create shared libraries on AIX.
8562 *** Therefore, libtool is disabling shared libraries support. If you
8563 *** really care for shared libraries, you may want to install binutils
8564 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8565 *** You will then need to restart the configuration process.
8574 # see comment about AmigaOS4 .so support
8575 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8576 archive_expsym_cmds
=''
8579 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)'
8580 hardcode_libdir_flag_spec
='-L$libdir'
8581 hardcode_minus_L
=yes
8587 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8588 allow_undefined_flag
=unsupported
8589 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8590 # support --undefined. This deserves some investigation. FIXME
8591 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8597 cygwin
* | mingw
* | pw32
* | cegcc
*)
8598 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8599 # as there is no search path for DLLs.
8600 hardcode_libdir_flag_spec
='-L$libdir'
8601 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8602 allow_undefined_flag
=unsupported
8603 always_export_symbols
=no
8604 enable_shared_with_static_runtimes
=yes
8605 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8607 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8608 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8609 # If the export-symbols file already is a .def file (1st line
8610 # is EXPORTS), use it as is; otherwise, prepend...
8611 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8612 cp $export_symbols $output_objdir/$soname.def;
8614 echo EXPORTS > $output_objdir/$soname.def;
8615 cat $export_symbols >> $output_objdir/$soname.def;
8617 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8624 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8625 link_all_deplibs
=yes
8630 hardcode_shlibpath_var
=no
8631 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8632 export_dynamic_flag_spec
='${wl}-E'
8633 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8634 # Instead, shared libraries are loaded at an image base (0x10000000 by
8635 # default) and relocated if they conflict, which is a slow very memory
8636 # consuming and fragmenting process. To avoid this, we pick a random,
8637 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8638 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8639 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8640 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'
8643 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8645 if test "$host_os" = linux-dietlibc
; then
8646 case $cc_basename in
8647 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8650 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8651 && test "$tmp_diet" = no
8654 tmp_sharedflag
='-shared'
8655 case $cc_basename,$host_cpu in
8656 pgcc
*) # Portland Group C compiler
8657 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'
8658 tmp_addflag
=' $pic_flag'
8660 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8661 # Portland Group f77 and f90 compilers
8662 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'
8663 tmp_addflag
=' $pic_flag -Mnomain' ;;
8664 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8665 tmp_addflag
=' -i_dynamic' ;;
8666 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8667 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8668 ifc
* | ifort
*) # Intel Fortran compiler
8669 tmp_addflag
=' -nofor_main' ;;
8670 lf95
*) # Lahey Fortran 8.1
8671 whole_archive_flag_spec
=
8672 tmp_sharedflag
='--shared' ;;
8673 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8674 tmp_sharedflag
='-qmkshrobj'
8676 nvcc
*) # Cuda Compiler Driver 2.2
8677 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'
8678 compiler_needs_object
=yes
8681 case `$CC -V 2>&1 | sed 5q` in
8682 *Sun\ C
*) # Sun C 5.9
8683 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'
8684 compiler_needs_object
=yes
8685 tmp_sharedflag
='-G' ;;
8686 *Sun\ F
*) # Sun Fortran 8.3
8687 tmp_sharedflag
='-G' ;;
8689 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8691 if test "x$supports_anon_versioning" = xyes
; then
8692 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8693 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8694 echo "local: *; };" >> $output_objdir/$libname.ver~
8695 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8698 case $cc_basename in
8699 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8700 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8701 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8702 hardcode_libdir_flag_spec
=
8703 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8704 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8705 if test "x$supports_anon_versioning" = xyes
; then
8706 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8707 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8708 echo "local: *; };" >> $output_objdir/$libname.ver~
8709 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8719 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8720 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8723 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8724 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8729 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8733 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8734 *** create shared libraries on Solaris systems. Therefore, libtool
8735 *** is disabling shared libraries support. We urge you to upgrade GNU
8736 *** binutils to release 2.9.1 or newer. Another option is to modify
8737 *** your PATH or compiler configuration so that the native linker is
8738 *** used, and then restart.
8741 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8742 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8743 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8749 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8750 case `$LD -v 2>&1` in
8751 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8755 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8756 *** reliably create shared libraries on SCO systems. Therefore, libtool
8757 *** is disabling shared libraries support. We urge you to upgrade GNU
8758 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8759 *** your PATH or compiler configuration so that the native linker is
8760 *** used, and then restart.
8765 # For security reasons, it is highly recommended that you always
8766 # use absolute paths for naming shared libraries, and exclude the
8767 # DT_RUNPATH tag from executables and libraries. But doing so
8768 # requires that you compile everything twice, which is a pain.
8769 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8770 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8781 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8784 hardcode_shlibpath_var
=no
8788 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8789 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8790 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8797 if test "$ld_shlibs" = no
; then
8799 hardcode_libdir_flag_spec
=
8800 export_dynamic_flag_spec
=
8801 whole_archive_flag_spec
=
8804 # PORTME fill in a description of your system's linker (not GNU ld)
8807 allow_undefined_flag
=unsupported
8808 always_export_symbols
=yes
8809 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'
8810 # Note: this linker hardcodes the directories in LIBPATH if there
8811 # are no directories specified by -L.
8812 hardcode_minus_L
=yes
8813 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8814 # Neither direct hardcoding nor static linking is supported with a
8816 hardcode_direct
=unsupported
8821 if test "$host_cpu" = ia64
; then
8822 # On IA64, the linker does run time linking by default, so we don't
8823 # have to do anything special.
8824 aix_use_runtimelinking
=no
8825 exp_sym_flag
='-Bexport'
8828 # If we're using GNU nm, then we don't want the "-C" option.
8829 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8830 # Also, AIX nm treats weak defined symbols like other global
8831 # defined symbols, whereas GNU nm marks them as "W".
8832 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8833 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'
8835 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'
8837 aix_use_runtimelinking
=no
8839 # Test if we are trying to use run time linking or normal
8840 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8841 # need to do runtime linking.
8842 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8843 for ld_flag
in $LDFLAGS; do
8844 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8845 aix_use_runtimelinking
=yes
8852 exp_sym_flag
='-bexport'
8853 no_entry_flag
='-bnoentry'
8856 # When large executables or shared objects are built, AIX ld can
8857 # have problems creating the table of contents. If linking a library
8858 # or program results in "error TOC overflow" add -mminimal-toc to
8859 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8860 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8864 hardcode_direct_absolute
=yes
8865 hardcode_libdir_separator
=':'
8866 link_all_deplibs
=yes
8867 file_list_spec
='${wl}-f,'
8869 if test "$GCC" = yes; then
8870 case $host_os in aix4.
[012]|aix4.
[012].
*)
8871 # We only want to do this on AIX 4.2 and lower, the check
8872 # below for broken collect2 doesn't work under 4.3+
8873 collect2name
=`${CC} -print-prog-name=collect2`
8874 if test -f "$collect2name" &&
8875 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8877 # We have reworked collect2
8880 # We have old collect2
8881 hardcode_direct
=unsupported
8882 # It fails to find uninstalled libraries when the uninstalled
8883 # path is not listed in the libpath. Setting hardcode_minus_L
8884 # to unsupported forces relinking
8885 hardcode_minus_L
=yes
8886 hardcode_libdir_flag_spec
='-L$libdir'
8887 hardcode_libdir_separator
=
8891 shared_flag
='-shared'
8892 if test "$aix_use_runtimelinking" = yes; then
8893 shared_flag
="$shared_flag "'${wl}-G'
8897 if test "$host_cpu" = ia64
; then
8898 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8899 # chokes on -Wl,-G. The following line is correct:
8902 if test "$aix_use_runtimelinking" = yes; then
8903 shared_flag
='${wl}-G'
8905 shared_flag
='${wl}-bM:SRE'
8910 export_dynamic_flag_spec
='${wl}-bexpall'
8911 # It seems that -bexpall does not export symbols beginning with
8912 # underscore (_), so it is better to generate a list of symbols to export.
8913 always_export_symbols
=yes
8914 if test "$aix_use_runtimelinking" = yes; then
8915 # Warning - without using the other runtime loading flags (-brtl),
8916 # -berok will link without error, but may produce a broken library.
8917 allow_undefined_flag
='-berok'
8918 # Determine the default libpath from the value encoded in an
8920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8931 if ac_fn_c_try_link
"$LINENO"; then :
8933 lt_aix_libpath_sed
='
8934 /Import File Strings/,/^$/ {
8940 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8941 # Check for a 64-bit object if we didn't find anything.
8942 if test -z "$aix_libpath"; then
8943 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8946 rm -f core conftest.err conftest.
$ac_objext \
8947 conftest
$ac_exeext conftest.
$ac_ext
8948 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8950 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8951 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"
8953 if test "$host_cpu" = ia64
; then
8954 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8955 allow_undefined_flag
="-z nodefs"
8956 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"
8958 # Determine the default libpath from the value encoded in an
8960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8971 if ac_fn_c_try_link
"$LINENO"; then :
8973 lt_aix_libpath_sed
='
8974 /Import File Strings/,/^$/ {
8980 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8981 # Check for a 64-bit object if we didn't find anything.
8982 if test -z "$aix_libpath"; then
8983 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8986 rm -f core conftest.err conftest.
$ac_objext \
8987 conftest
$ac_exeext conftest.
$ac_ext
8988 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8990 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8991 # Warning - without using the other run time loading flags,
8992 # -berok will link without error, but may produce a broken library.
8993 no_undefined_flag
=' ${wl}-bernotok'
8994 allow_undefined_flag
=' ${wl}-berok'
8995 if test "$with_gnu_ld" = yes; then
8996 # We only use this code for GNU lds that support --whole-archive.
8997 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8999 # Exported symbols can be pulled into shared objects from archives
9000 whole_archive_flag_spec
='$convenience'
9002 archive_cmds_need_lc
=yes
9003 # This is similar to how AIX traditionally builds its shared libraries.
9004 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'
9012 # see comment about AmigaOS4 .so support
9013 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9014 archive_expsym_cmds
=''
9017 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)'
9018 hardcode_libdir_flag_spec
='-L$libdir'
9019 hardcode_minus_L
=yes
9025 export_dynamic_flag_spec
=-rdynamic
9028 cygwin
* | mingw
* | pw32
* | cegcc
*)
9029 # When not using gcc, we currently assume that we are using
9030 # Microsoft Visual C++.
9031 # hardcode_libdir_flag_spec is actually meaningless, as there is
9032 # no search path for DLLs.
9033 hardcode_libdir_flag_spec
=' '
9034 allow_undefined_flag
=unsupported
9035 # Tell ltmain to make .lib files, not .a files.
9037 # Tell ltmain to make .dll files, not .so files.
9039 # FIXME: Setting linknames here is a bad hack.
9040 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9041 # The linker will automatically build a .lib file if we build a DLL.
9042 old_archive_from_new_cmds
='true'
9043 # FIXME: Should let the user specify the lib program.
9044 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9045 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9046 enable_shared_with_static_runtimes
=yes
9049 darwin
* | rhapsody
*)
9052 archive_cmds_need_lc
=no
9054 hardcode_automatic
=yes
9055 hardcode_shlibpath_var
=unsupported
9056 if test "$lt_cv_ld_force_load" = "yes"; then
9057 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\"`'
9059 whole_archive_flag_spec
=''
9061 link_all_deplibs
=yes
9062 allow_undefined_flag
="$_lt_dar_allow_undefined"
9063 case $cc_basename in
9064 ifort
*) _lt_dar_can_shared
=yes ;;
9065 *) _lt_dar_can_shared
=$GCC ;;
9067 if test "$_lt_dar_can_shared" = "yes"; then
9068 output_verbose_link_cmd
=func_echo_all
9069 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9070 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9071 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}"
9072 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}"
9081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9082 hardcode_libdir_flag_spec
='-L$libdir'
9083 hardcode_shlibpath_var
=no
9090 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9091 # support. Future versions do this automatically, but an explicit c++rt0.o
9092 # does not break anything, and helps significantly (at the cost of a little
9095 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9096 hardcode_libdir_flag_spec
='-R$libdir'
9098 hardcode_shlibpath_var
=no
9101 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9103 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9105 hardcode_minus_L
=yes
9106 hardcode_shlibpath_var
=no
9109 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9110 freebsd
* | dragonfly
*)
9111 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9112 hardcode_libdir_flag_spec
='-R$libdir'
9114 hardcode_shlibpath_var
=no
9118 if test "$GCC" = yes; then
9119 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'
9121 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'
9123 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9124 hardcode_libdir_separator
=:
9127 # hardcode_minus_L: Not really in the search PATH,
9128 # but as the default location of the library.
9129 hardcode_minus_L
=yes
9130 export_dynamic_flag_spec
='${wl}-E'
9134 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9135 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9137 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9139 if test "$with_gnu_ld" = no
; then
9140 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9141 hardcode_libdir_flag_spec_ld
='+b $libdir'
9142 hardcode_libdir_separator
=:
9144 hardcode_direct_absolute
=yes
9145 export_dynamic_flag_spec
='${wl}-E'
9146 # hardcode_minus_L: Not really in the search PATH,
9147 # but as the default location of the library.
9148 hardcode_minus_L
=yes
9153 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9156 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9159 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9171 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9175 # Older versions of the 11.00 compiler do not understand -b yet
9176 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9178 $as_echo_n "checking if $CC understands -b... " >&6; }
9179 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9180 $as_echo_n "(cached) " >&6
9182 lt_cv_prog_compiler__b
=no
9183 save_LDFLAGS
="$LDFLAGS"
9184 LDFLAGS
="$LDFLAGS -b"
9185 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9186 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9187 # The linker can only warn and ignore the option if not recognized
9188 # So say no if there are warnings
9189 if test -s conftest.err
; then
9190 # Append any errors to the config.log.
9191 cat conftest.err
1>&5
9192 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9193 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9194 if diff conftest.exp conftest.er2
>/dev
/null
; then
9195 lt_cv_prog_compiler__b
=yes
9198 lt_cv_prog_compiler__b
=yes
9202 LDFLAGS
="$save_LDFLAGS"
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9206 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9208 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9209 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9211 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9217 if test "$with_gnu_ld" = no
; then
9218 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9219 hardcode_libdir_separator
=:
9224 hardcode_shlibpath_var
=no
9228 hardcode_direct_absolute
=yes
9229 export_dynamic_flag_spec
='${wl}-E'
9231 # hardcode_minus_L: Not really in the search PATH,
9232 # but as the default location of the library.
9233 hardcode_minus_L
=yes
9239 irix5
* | irix6
* | nonstopux
*)
9240 if test "$GCC" = yes; then
9241 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'
9242 # Try to use the -exported_symbol ld option, if it does not
9243 # work, assume that -exports_file does not work either and
9244 # implicitly export all symbols.
9245 save_LDFLAGS
="$LDFLAGS"
9246 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9251 if ac_fn_c_try_link
"$LINENO"; then :
9252 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'
9255 rm -f core conftest.err conftest.
$ac_objext \
9256 conftest
$ac_exeext conftest.
$ac_ext
9257 LDFLAGS
="$save_LDFLAGS"
9259 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'
9260 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'
9262 archive_cmds_need_lc
='no'
9263 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9264 hardcode_libdir_separator
=:
9266 link_all_deplibs
=yes
9270 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9271 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9273 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9275 hardcode_libdir_flag_spec
='-R$libdir'
9277 hardcode_shlibpath_var
=no
9281 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9283 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9284 hardcode_libdir_separator
=:
9285 hardcode_shlibpath_var
=no
9292 if test -f /usr
/libexec
/ld.so
; then
9294 hardcode_shlibpath_var
=no
9295 hardcode_direct_absolute
=yes
9296 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9297 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9298 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9299 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9300 export_dynamic_flag_spec
='${wl}-E'
9303 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9304 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9305 hardcode_libdir_flag_spec
='-R$libdir'
9308 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9309 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9319 hardcode_libdir_flag_spec
='-L$libdir'
9320 hardcode_minus_L
=yes
9321 allow_undefined_flag
=unsupported
9322 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'
9323 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9327 if test "$GCC" = yes; then
9328 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9329 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'
9331 allow_undefined_flag
=' -expect_unresolved \*'
9332 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'
9334 archive_cmds_need_lc
='no'
9335 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9336 hardcode_libdir_separator
=:
9339 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9340 if test "$GCC" = yes; then
9341 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9342 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'
9343 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9345 allow_undefined_flag
=' -expect_unresolved \*'
9346 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'
9347 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~
9348 $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'
9350 # Both c and cxx compiler support -rpath directly
9351 hardcode_libdir_flag_spec
='-rpath $libdir'
9353 archive_cmds_need_lc
='no'
9354 hardcode_libdir_separator
=:
9358 no_undefined_flag
=' -z defs'
9359 if test "$GCC" = yes; then
9361 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9362 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9363 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9365 case `$CC -V 2>&1` in
9368 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9369 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9370 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9374 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9375 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9376 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9380 hardcode_libdir_flag_spec
='-R$libdir'
9381 hardcode_shlibpath_var
=no
9383 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9385 # The compiler driver will combine and reorder linker options,
9386 # but understands `-z linker_flag'. GCC discards it without `$wl',
9387 # but is careful enough not to reorder.
9388 # Supported since Solaris 2.6 (maybe 2.5.1?)
9389 if test "$GCC" = yes; then
9390 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9392 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9396 link_all_deplibs
=yes
9400 if test "x$host_vendor" = xsequent
; then
9401 # Use $CC to link under sequent, because it throws in some extra .o
9402 # files that make .init and .fini sections work.
9403 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9407 hardcode_libdir_flag_spec
='-L$libdir'
9409 hardcode_minus_L
=yes
9410 hardcode_shlibpath_var
=no
9414 case $host_vendor in
9416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9417 hardcode_direct
=yes # is this really true???
9420 ## LD is ld it makes a PLAMLIB
9421 ## CC just makes a GrossModule.
9422 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9423 reload_cmds
='$CC -r -o $output$reload_objs'
9427 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9428 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9431 runpath_var
='LD_RUN_PATH'
9432 hardcode_shlibpath_var
=no
9436 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9437 hardcode_shlibpath_var
=no
9438 export_dynamic_flag_spec
='-Bexport'
9442 if test -d /usr
/nec
; then
9443 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9444 hardcode_shlibpath_var
=no
9445 runpath_var
=LD_RUN_PATH
9446 hardcode_runpath_var
=yes
9451 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9452 no_undefined_flag
='${wl}-z,text'
9453 archive_cmds_need_lc
=no
9454 hardcode_shlibpath_var
=no
9455 runpath_var
='LD_RUN_PATH'
9457 if test "$GCC" = yes; then
9458 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9461 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9462 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9466 sysv5
* | sco3.2v5
* | sco5v6
*)
9467 # Note: We can NOT use -z defs as we might desire, because we do not
9468 # link with -lc, and that would cause any symbols used from libc to
9469 # always be unresolved, which means just about no library would
9470 # ever link correctly. If we're not using GNU ld we use -z text
9471 # though, which does catch some bad symbols but isn't as heavy-handed
9473 no_undefined_flag
='${wl}-z,text'
9474 allow_undefined_flag
='${wl}-z,nodefs'
9475 archive_cmds_need_lc
=no
9476 hardcode_shlibpath_var
=no
9477 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9478 hardcode_libdir_separator
=':'
9479 link_all_deplibs
=yes
9480 export_dynamic_flag_spec
='${wl}-Bexport'
9481 runpath_var
='LD_RUN_PATH'
9483 if test "$GCC" = yes; then
9484 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9485 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9487 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9488 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9494 hardcode_libdir_flag_spec
='-L$libdir'
9495 hardcode_shlibpath_var
=no
9503 if test x
$host_vendor = xsni
; then
9505 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9506 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9513 $as_echo "$ld_shlibs" >&6; }
9514 test "$ld_shlibs" = no
&& can_build_shared
=no
9516 with_gnu_ld
=$with_gnu_ld
9533 # Do we need to explicitly link libc?
9535 case "x$archive_cmds_need_lc" in
9537 # Assume -lc should be added
9538 archive_cmds_need_lc
=yes
9540 if test "$enable_shared" = yes && test "$GCC" = yes; then
9541 case $archive_cmds in
9543 # FIXME: we may have to deal with multi-command sequences.
9546 # Test whether the compiler implicitly links with -lc since on some
9547 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9548 # to ld, don't add -lc before -lgcc.
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9550 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9551 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9552 $as_echo_n "(cached) " >&6
9555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9558 (eval $ac_compile) 2>&5
9560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9561 test $ac_status = 0; } 2>conftest.err
; then
9564 libobjs
=conftest.
$ac_objext
9566 wl
=$lt_prog_compiler_wl
9567 pic_flag
=$lt_prog_compiler_pic
9573 lt_save_allow_undefined_flag
=$allow_undefined_flag
9574 allow_undefined_flag
=
9575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9576 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9579 test $ac_status = 0; }
9581 lt_cv_archive_cmds_need_lc
=no
9583 lt_cv_archive_cmds_need_lc
=yes
9585 allow_undefined_flag
=$lt_save_allow_undefined_flag
9587 cat conftest.err
1>&5
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9593 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9594 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9758 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9760 if test "$GCC" = yes; then
9762 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9763 *) lt_awk_arg
="/^libraries:/" ;;
9766 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9767 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9769 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9770 case $lt_search_path_spec in
9772 # if the path contains ";" then we assume it to be the separator
9773 # otherwise default to the standard path separator (i.e. ":") - it is
9774 # assumed that no part of a normal pathname contains ";" but that should
9775 # okay in the real world where ";" in dirpaths is itself problematic.
9776 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9779 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9782 # Ok, now we have the path, separated by spaces, we can step through it
9783 # and add multilib dir if necessary.
9784 lt_tmp_lt_search_path_spec
=
9785 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9786 for lt_sys_path
in $lt_search_path_spec; do
9787 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9788 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9790 test -d "$lt_sys_path" && \
9791 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9794 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9795 BEGIN {RS=" "; FS="/|\n";} {
9798 for (lt_i = NF; lt_i > 0; lt_i--) {
9799 if ($lt_i != "" && $lt_i != ".") {
9800 if ($lt_i == "..") {
9803 if (lt_count == 0) {
9804 lt_foo="/" $lt_i lt_foo;
9811 if (lt_foo != "") { lt_freq[lt_foo]++; }
9812 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9814 # AWK program above erroneously prepends '/' to C:/dos/paths
9817 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9818 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9820 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9822 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9825 libname_spec
='lib$name'
9833 shlibpath_overrides_runpath
=unknown
9835 dynamic_linker
="$host_os ld.so"
9836 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9837 need_lib_prefix
=unknown
9838 hardcode_into_libs
=no
9840 # when you set need_version to no, make sure it does not cause -set_version
9841 # flags to be left without arguments
9842 need_version
=unknown
9847 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9848 shlibpath_var
=LIBPATH
9850 # AIX 3 has no versioning support, so we append a major version to the name.
9851 soname_spec
='${libname}${release}${shared_ext}$major'
9858 hardcode_into_libs
=yes
9859 if test "$host_cpu" = ia64
; then
9860 # AIX 5 supports IA64
9861 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9862 shlibpath_var
=LD_LIBRARY_PATH
9864 # With GCC up to 2.95.x, collect2 would create an import file
9865 # for dependence libraries. The import file would start with
9866 # the line `#! .'. This would cause the generated library to
9867 # depend on `.', always an invalid library. This was fixed in
9868 # development snapshots of GCC prior to 3.0.
9870 aix4 | aix4.
[01] | aix4.
[01].
*)
9871 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9873 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9880 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9881 # soname into executable. Probably we can add versioning support to
9882 # collect2, so additional links can be useful in future.
9883 if test "$aix_use_runtimelinking" = yes; then
9884 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9885 # instead of lib<name>.a to let people know that these are not
9886 # typical AIX shared libraries.
9887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9889 # We preserve .a as extension for shared libraries through AIX4.2
9890 # and later when we are not doing run time linking.
9891 library_names_spec
='${libname}${release}.a $libname.a'
9892 soname_spec
='${libname}${release}${shared_ext}$major'
9894 shlibpath_var
=LIBPATH
9901 # Since July 2007 AmigaOS4 officially supports .so libraries.
9902 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9906 library_names_spec
='$libname.ixlibrary $libname.a'
9907 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9908 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'
9914 library_names_spec
='${libname}${shared_ext}'
9915 dynamic_linker
="$host_os ld.so"
9916 shlibpath_var
=LIBRARY_PATH
9922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9923 soname_spec
='${libname}${release}${shared_ext}$major'
9924 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9925 shlibpath_var
=LD_LIBRARY_PATH
9926 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9927 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9928 # the default ld.so.conf also contains /usr/contrib/lib and
9929 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9930 # libtool to hard-code these into programs
9933 cygwin
* | mingw
* | pw32
* | cegcc
*)
9934 version_type
=windows
9939 case $GCC,$host_os in
9940 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9941 library_names_spec
='$libname.dll.a'
9942 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9943 postinstall_cmds
='base_file=`basename \${file}`~
9944 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9945 dldir=$destdir/`dirname \$dlpath`~
9946 test -d \$dldir || mkdir -p \$dldir~
9947 $install_prog $dir/$dlname \$dldir/$dlname~
9948 chmod a+x \$dldir/$dlname~
9949 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9950 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9952 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9953 dlpath=$dir/\$dldll~
9955 shlibpath_overrides_runpath
=yes
9959 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9960 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9962 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9965 # MinGW DLLs use traditional 'lib' prefix
9966 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9969 # pw32 DLLs use 'pw' prefix rather than 'lib'
9970 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9976 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9979 dynamic_linker
='Win32 ld.exe'
9980 # FIXME: first we should search . and the directory the executable is in
9984 darwin
* | rhapsody
*)
9985 dynamic_linker
="$host_os dyld"
9989 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9990 soname_spec
='${libname}${release}${major}$shared_ext'
9991 shlibpath_overrides_runpath
=yes
9992 shlibpath_var
=DYLD_LIBRARY_PATH
9993 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9995 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9996 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10004 soname_spec
='${libname}${release}${shared_ext}$major'
10005 shlibpath_var
=LD_LIBRARY_PATH
10012 freebsd
* | dragonfly
*)
10013 # DragonFly does not have aout. When/if they implement a new
10014 # versioning mechanism, adjust this.
10015 if test -x /usr
/bin
/objformat
; then
10016 objformat
=`/usr/bin/objformat`
10019 freebsd
[123]*) objformat
=aout
;;
10020 *) objformat
=elf
;;
10023 version_type
=freebsd-
$objformat
10024 case $version_type in
10026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10031 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10035 shlibpath_var
=LD_LIBRARY_PATH
10038 shlibpath_overrides_runpath
=yes
10040 freebsd3.
[01]* | freebsdelf3.
[01]*)
10041 shlibpath_overrides_runpath
=yes
10042 hardcode_into_libs
=yes
10044 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10045 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10046 shlibpath_overrides_runpath
=no
10047 hardcode_into_libs
=yes
10049 *) # from 4.6 on, and DragonFly
10050 shlibpath_overrides_runpath
=yes
10051 hardcode_into_libs
=yes
10060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10061 soname_spec
='${libname}${release}${shared_ext}$major'
10062 shlibpath_var
=LD_LIBRARY_PATH
10063 hardcode_into_libs
=yes
10070 dynamic_linker
="$host_os runtime_loader"
10071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10072 soname_spec
='${libname}${release}${shared_ext}$major'
10073 shlibpath_var
=LIBRARY_PATH
10074 shlibpath_overrides_runpath
=yes
10075 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10076 hardcode_into_libs
=yes
10079 hpux9
* | hpux10
* | hpux11
*)
10080 # Give a soname corresponding to the major version so that dld.sl refuses to
10081 # link against other versions.
10088 hardcode_into_libs
=yes
10089 dynamic_linker
="$host_os dld.so"
10090 shlibpath_var
=LD_LIBRARY_PATH
10091 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10093 soname_spec
='${libname}${release}${shared_ext}$major'
10094 if test "X$HPUX_IA64_MODE" = X32
; then
10095 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10097 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10099 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10103 hardcode_into_libs
=yes
10104 dynamic_linker
="$host_os dld.sl"
10105 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10106 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10108 soname_spec
='${libname}${release}${shared_ext}$major'
10109 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10114 dynamic_linker
="$host_os dld.sl"
10115 shlibpath_var
=SHLIB_PATH
10116 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118 soname_spec
='${libname}${release}${shared_ext}$major'
10121 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10122 postinstall_cmds
='chmod 555 $lib'
10123 # or fails outright, so override atomically:
10124 install_override_mode
=555
10131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10132 soname_spec
='${libname}${release}${shared_ext}$major'
10133 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10134 shlibpath_var
=LD_LIBRARY_PATH
10135 shlibpath_overrides_runpath
=no
10136 hardcode_into_libs
=yes
10139 irix5
* | irix6
* | nonstopux
*)
10141 nonstopux
*) version_type
=nonstopux
;;
10143 if test "$lt_cv_prog_gnu_ld" = yes; then
10151 soname_spec
='${libname}${release}${shared_ext}$major'
10152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10154 irix5
* | nonstopux
*)
10155 libsuff
= shlibsuff
=
10158 case $LD in # libtool.m4 will add one of these switches to LD
10159 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10160 libsuff
= shlibsuff
= libmagic
=32-bit;;
10161 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10162 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10163 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10164 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10165 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10169 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10170 shlibpath_overrides_runpath
=no
10171 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10172 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10173 hardcode_into_libs
=yes
10176 # No shared lib support for Linux oldld, aout, or coff.
10177 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10181 # This must be Linux ELF.
10182 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10187 soname_spec
='${libname}${release}${shared_ext}$major'
10188 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10189 shlibpath_var
=LD_LIBRARY_PATH
10190 shlibpath_overrides_runpath
=no
10192 # Some binutils ld are patched to set DT_RUNPATH
10193 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10194 $as_echo_n "(cached) " >&6
10196 lt_cv_shlibpath_overrides_runpath
=no
10197 save_LDFLAGS
=$LDFLAGS
10198 save_libdir
=$libdir
10199 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10200 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10212 if ac_fn_c_try_link
"$LINENO"; then :
10213 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10214 lt_cv_shlibpath_overrides_runpath
=yes
10217 rm -f core conftest.err conftest.
$ac_objext \
10218 conftest
$ac_exeext conftest.
$ac_ext
10219 LDFLAGS
=$save_LDFLAGS
10220 libdir
=$save_libdir
10224 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10226 # This implies no fast_install, which is unacceptable.
10227 # Some rework will be needed to allow for fast_install
10228 # before this can be enabled.
10229 hardcode_into_libs
=yes
10231 # Append ld.so.conf contents to the search path
10232 if test -f /etc
/ld.so.conf
; then
10233 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' ' '`
10234 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10237 # We used to test for /lib/ld.so.1 and disable shared libraries on
10238 # powerpc, because MkLinux only supported shared libraries with the
10239 # GNU dynamic linker. Since this was broken with cross compilers,
10240 # most powerpc-linux boxes support dynamic linking these days and
10241 # people can always --disable-shared, the test was removed, and we
10242 # assume the GNU/Linux dynamic linker is in use.
10243 dynamic_linker
='GNU/Linux ld.so'
10250 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10252 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10253 dynamic_linker
='NetBSD (a.out) ld.so'
10255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10256 soname_spec
='${libname}${release}${shared_ext}$major'
10257 dynamic_linker
='NetBSD ld.elf_so'
10259 shlibpath_var
=LD_LIBRARY_PATH
10260 shlibpath_overrides_runpath
=yes
10261 hardcode_into_libs
=yes
10266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10267 shlibpath_var
=LD_LIBRARY_PATH
10268 shlibpath_overrides_runpath
=yes
10275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10276 soname_spec
='${libname}${release}${shared_ext}$major'
10277 shlibpath_var
=LD_LIBRARY_PATH
10278 shlibpath_overrides_runpath
=no
10279 hardcode_into_libs
=yes
10280 dynamic_linker
='ldqnx.so'
10285 sys_lib_dlsearch_path_spec
="/usr/lib"
10287 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10289 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10290 *) need_version
=no
;;
10292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10293 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10294 shlibpath_var
=LD_LIBRARY_PATH
10295 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10297 openbsd2.
[89] | openbsd2.
[89].
*)
10298 shlibpath_overrides_runpath
=no
10301 shlibpath_overrides_runpath
=yes
10305 shlibpath_overrides_runpath
=yes
10310 libname_spec
='$name'
10313 library_names_spec
='$libname${shared_ext} $libname.a'
10314 dynamic_linker
='OS/2 ld.exe'
10315 shlibpath_var
=LIBPATH
10318 osf3
* | osf4
* | osf5
*)
10322 soname_spec
='${libname}${release}${shared_ext}$major'
10323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10324 shlibpath_var
=LD_LIBRARY_PATH
10325 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10326 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10338 soname_spec
='${libname}${release}${shared_ext}$major'
10339 shlibpath_var
=LD_LIBRARY_PATH
10340 shlibpath_overrides_runpath
=yes
10341 hardcode_into_libs
=yes
10342 # ldd complains unless libraries are executable
10343 postinstall_cmds
='chmod +x $lib'
10348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10349 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10350 shlibpath_var
=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath
=yes
10352 if test "$with_gnu_ld" = yes; then
10360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec
='${libname}${release}${shared_ext}$major'
10362 shlibpath_var
=LD_LIBRARY_PATH
10363 case $host_vendor in
10365 shlibpath_overrides_runpath
=no
10367 runpath_var
=LD_RUN_PATH
10375 shlibpath_overrides_runpath
=no
10376 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10382 if test -d /usr
/nec
;then
10384 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10385 soname_spec
='$libname${shared_ext}.$major'
10386 shlibpath_var
=LD_LIBRARY_PATH
10390 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10391 version_type
=freebsd-elf
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10395 soname_spec
='${libname}${release}${shared_ext}$major'
10396 shlibpath_var
=LD_LIBRARY_PATH
10397 shlibpath_overrides_runpath
=yes
10398 hardcode_into_libs
=yes
10399 if test "$with_gnu_ld" = yes; then
10400 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10402 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10405 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10409 sys_lib_dlsearch_path_spec
='/usr/lib'
10413 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10418 shlibpath_var
=LD_LIBRARY_PATH
10419 shlibpath_overrides_runpath
=no
10420 hardcode_into_libs
=yes
10425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10426 soname_spec
='${libname}${release}${shared_ext}$major'
10427 shlibpath_var
=LD_LIBRARY_PATH
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10435 $as_echo "$dynamic_linker" >&6; }
10436 test "$dynamic_linker" = no
&& can_build_shared
=no
10438 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10439 if test "$GCC" = yes; then
10440 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10443 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10444 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10446 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10447 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10542 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10544 if test -n "$hardcode_libdir_flag_spec" ||
10545 test -n "$runpath_var" ||
10546 test "X$hardcode_automatic" = "Xyes" ; then
10548 # We can hardcode non-existent directories.
10549 if test "$hardcode_direct" != no
&&
10550 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10551 # have to relink, otherwise we might link with an installed library
10552 # when we should be linking with a yet-to-be-installed one
10553 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10554 test "$hardcode_minus_L" != no
; then
10555 # Linking always hardcodes the temporary library directory.
10556 hardcode_action
=relink
10558 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10559 hardcode_action
=immediate
10562 # We cannot hardcode anything, or else we can only hardcode existing
10564 hardcode_action
=unsupported
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10567 $as_echo "$hardcode_action" >&6; }
10569 if test "$hardcode_action" = relink ||
10570 test "$inherit_rpath" = yes; then
10571 # Fast installation is not supported
10572 enable_fast_install
=no
10573 elif test "$shlibpath_overrides_runpath" = yes ||
10574 test "$enable_shared" = no
; then
10575 # Fast installation is not necessary
10576 enable_fast_install
=needless
10584 if test "x$enable_dlopen" != xyes
; then
10585 enable_dlopen
=unknown
10586 enable_dlopen_self
=unknown
10587 enable_dlopen_self_static
=unknown
10594 lt_cv_dlopen
="load_add_on"
10596 lt_cv_dlopen_self
=yes
10599 mingw
* | pw32
* | cegcc
*)
10600 lt_cv_dlopen
="LoadLibrary"
10605 lt_cv_dlopen
="dlopen"
10610 # if libdl is installed we need to link against it
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10612 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10613 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10614 $as_echo_n "(cached) " >&6
10616 ac_check_lib_save_LIBS
=$LIBS
10618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10619 /* end confdefs.h. */
10621 /* Override any GCC internal prototype to avoid an error.
10622 Use char because int might match the return type of a GCC
10623 builtin and then its argument prototype would still apply. */
10636 if ac_fn_c_try_link
"$LINENO"; then :
10637 ac_cv_lib_dl_dlopen
=yes
10639 ac_cv_lib_dl_dlopen
=no
10641 rm -f core conftest.err conftest.
$ac_objext \
10642 conftest
$ac_exeext conftest.
$ac_ext
10643 LIBS
=$ac_check_lib_save_LIBS
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10646 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10647 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10648 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10651 lt_cv_dlopen
="dyld"
10653 lt_cv_dlopen_self
=yes
10660 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10661 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10662 lt_cv_dlopen
="shl_load"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10665 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10666 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10667 $as_echo_n "(cached) " >&6
10669 ac_check_lib_save_LIBS
=$LIBS
10671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10684 return shl_load ();
10689 if ac_fn_c_try_link
"$LINENO"; then :
10690 ac_cv_lib_dld_shl_load
=yes
10692 ac_cv_lib_dld_shl_load
=no
10694 rm -f core conftest.err conftest.
$ac_objext \
10695 conftest
$ac_exeext conftest.
$ac_ext
10696 LIBS
=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10699 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10700 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10701 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10703 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10704 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10705 lt_cv_dlopen
="dlopen"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10708 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10709 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10710 $as_echo_n "(cached) " >&6
10712 ac_check_lib_save_LIBS
=$LIBS
10714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10732 if ac_fn_c_try_link
"$LINENO"; then :
10733 ac_cv_lib_dl_dlopen
=yes
10735 ac_cv_lib_dl_dlopen
=no
10737 rm -f core conftest.err conftest.
$ac_objext \
10738 conftest
$ac_exeext conftest.
$ac_ext
10739 LIBS
=$ac_check_lib_save_LIBS
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10742 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10743 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10744 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10747 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10748 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10749 $as_echo_n "(cached) " >&6
10751 ac_check_lib_save_LIBS
=$LIBS
10752 LIBS
="-lsvld $LIBS"
10753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10771 if ac_fn_c_try_link
"$LINENO"; then :
10772 ac_cv_lib_svld_dlopen
=yes
10774 ac_cv_lib_svld_dlopen
=no
10776 rm -f core conftest.err conftest.
$ac_objext \
10777 conftest
$ac_exeext conftest.
$ac_ext
10778 LIBS
=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10781 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10782 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10783 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10786 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10787 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10788 $as_echo_n "(cached) " >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10805 return dld_link ();
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 ac_cv_lib_dld_dld_link
=yes
10813 ac_cv_lib_dld_dld_link
=no
10815 rm -f core conftest.err conftest.
$ac_objext \
10816 conftest
$ac_exeext conftest.
$ac_ext
10817 LIBS
=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10820 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10821 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10822 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10843 if test "x$lt_cv_dlopen" != xno
; then
10849 case $lt_cv_dlopen in
10851 save_CPPFLAGS
="$CPPFLAGS"
10852 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10854 save_LDFLAGS
="$LDFLAGS"
10855 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10858 LIBS
="$lt_cv_dlopen_libs $LIBS"
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10861 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10862 if test "${lt_cv_dlopen_self+set}" = set; then :
10863 $as_echo_n "(cached) " >&6
10865 if test "$cross_compiling" = yes; then :
10866 lt_cv_dlopen_self
=cross
10868 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10869 lt_status
=$lt_dlunknown
10870 cat > conftest.
$ac_ext <<_LT_EOF
10871 #line 10871 "configure"
10872 #include "confdefs.h"
10881 # define LT_DLGLOBAL RTLD_GLOBAL
10884 # define LT_DLGLOBAL DL_GLOBAL
10886 # define LT_DLGLOBAL 0
10890 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10891 find out it does not work in some platform. */
10892 #ifndef LT_DLLAZY_OR_NOW
10894 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10897 # define LT_DLLAZY_OR_NOW DL_LAZY
10900 # define LT_DLLAZY_OR_NOW RTLD_NOW
10903 # define LT_DLLAZY_OR_NOW DL_NOW
10905 # define LT_DLLAZY_OR_NOW 0
10912 /* When -fvisbility=hidden is used, assume the code has been annotated
10913 correspondingly for the symbols needed. */
10914 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10915 void fnord () __attribute__((visibility("default")));
10918 void fnord () { int i=42; }
10921 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10922 int status = $lt_dlunknown;
10926 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10929 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10930 else puts (dlerror ());
10932 /* dlclose (self); */
10940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10941 (eval $ac_link) 2>&5
10943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10944 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10945 (.
/conftest
; exit; ) >&5 2>/dev
/null
10947 case x
$lt_status in
10948 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10949 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10950 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10953 # compilation failed
10954 lt_cv_dlopen_self
=no
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10962 $as_echo "$lt_cv_dlopen_self" >&6; }
10964 if test "x$lt_cv_dlopen_self" = xyes
; then
10965 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10967 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10968 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10969 $as_echo_n "(cached) " >&6
10971 if test "$cross_compiling" = yes; then :
10972 lt_cv_dlopen_self_static
=cross
10974 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10975 lt_status
=$lt_dlunknown
10976 cat > conftest.
$ac_ext <<_LT_EOF
10977 #line 10977 "configure"
10978 #include "confdefs.h"
10987 # define LT_DLGLOBAL RTLD_GLOBAL
10990 # define LT_DLGLOBAL DL_GLOBAL
10992 # define LT_DLGLOBAL 0
10996 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10997 find out it does not work in some platform. */
10998 #ifndef LT_DLLAZY_OR_NOW
11000 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11003 # define LT_DLLAZY_OR_NOW DL_LAZY
11006 # define LT_DLLAZY_OR_NOW RTLD_NOW
11009 # define LT_DLLAZY_OR_NOW DL_NOW
11011 # define LT_DLLAZY_OR_NOW 0
11018 /* When -fvisbility=hidden is used, assume the code has been annotated
11019 correspondingly for the symbols needed. */
11020 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11021 void fnord () __attribute__((visibility("default")));
11024 void fnord () { int i=42; }
11027 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11028 int status = $lt_dlunknown;
11032 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11035 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11036 else puts (dlerror ());
11038 /* dlclose (self); */
11046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11047 (eval $ac_link) 2>&5
11049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11050 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11051 (.
/conftest
; exit; ) >&5 2>/dev
/null
11053 case x
$lt_status in
11054 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11055 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11056 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11059 # compilation failed
11060 lt_cv_dlopen_self_static
=no
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11068 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11071 CPPFLAGS
="$save_CPPFLAGS"
11072 LDFLAGS
="$save_LDFLAGS"
11077 case $lt_cv_dlopen_self in
11078 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11079 *) enable_dlopen_self
=unknown
;;
11082 case $lt_cv_dlopen_self_static in
11083 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11084 *) enable_dlopen_self_static
=unknown
;;
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11107 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11108 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11109 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11110 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11112 $as_echo "yes" >&6; }
11114 # FIXME - insert some real tests, host_os isn't really good enough
11117 if test -n "$STRIP" ; then
11118 striplib
="$STRIP -x"
11119 old_striplib
="$STRIP -S"
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11121 $as_echo "yes" >&6; }
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11124 $as_echo "no" >&6; }
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11129 $as_echo "no" >&6; }
11145 # Report which library types will actually be built
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11147 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11149 $as_echo "$can_build_shared" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11152 $as_echo_n "checking whether to build shared libraries... " >&6; }
11153 test "$can_build_shared" = "no" && enable_shared
=no
11155 # On AIX, shared libraries and static libraries use the same namespace, and
11156 # are all built from PIC.
11159 test "$enable_shared" = yes && enable_static
=no
11160 if test -n "$RANLIB"; then
11161 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11162 postinstall_cmds
='$RANLIB $lib'
11167 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11168 test "$enable_shared" = yes && enable_static
=no
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11173 $as_echo "$enable_shared" >&6; }
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11176 $as_echo_n "checking whether to build static libraries... " >&6; }
11177 # Make sure either enable_shared or enable_static is yes.
11178 test "$enable_shared" = yes || enable_static
=yes
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11180 $as_echo "$enable_static" >&6; }
11187 ac_cpp
='$CPP $CPPFLAGS'
11188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11206 # Source file extension for Go test sources.
11209 # Object file extension for compiled Go test sources.
11213 # Code to be used in simple compile tests
11214 lt_simple_compile_test_code
="package main; func main() { }"
11216 # Code to be used in simple link tests
11217 lt_simple_link_test_code
='package main; func main() { }'
11219 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11226 # If no C compiler was specified, use CC.
11229 # If no C compiler flags were specified, use CFLAGS.
11230 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11232 # Allow CC to be a program name with arguments.
11236 # save warnings/boilerplate of simple test code
11237 ac_outfile
=conftest.
$ac_objext
11238 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11239 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11240 _lt_compiler_boilerplate
=`cat conftest.err`
11243 ac_outfile
=conftest.
$ac_objext
11244 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11245 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11246 _lt_linker_boilerplate
=`cat conftest.err`
11250 # Allow CC to be a program name with arguments.
11258 for cc_temp
in $compiler""; do
11260 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11261 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11266 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11269 # Go did not exist at the time GCC didn't implicitly link libc in.
11270 archive_cmds_need_lc_GO
=no
11272 old_archive_cmds_GO
=$old_archive_cmds
11275 ## There is no encapsulation within the following macros, do not change
11276 ## the running order or otherwise move them around unless you know exactly
11277 ## what you are doing...
11278 if test -n "$compiler"; then
11280 lt_prog_compiler_no_builtin_flag_GO
=
11282 if test "$GCC" = yes; then
11283 case $cc_basename in
11285 lt_prog_compiler_no_builtin_flag_GO
=' -Xcompiler -fno-builtin' ;;
11287 lt_prog_compiler_no_builtin_flag_GO
=' -fno-builtin' ;;
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11291 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11292 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11293 $as_echo_n "(cached) " >&6
11295 lt_cv_prog_compiler_rtti_exceptions
=no
11296 ac_outfile
=conftest.
$ac_objext
11297 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11298 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11299 # Insert the option either (1) after the last *FLAGS variable, or
11300 # (2) before a word containing "conftest.", or (3) at the end.
11301 # Note that $ac_compile itself does not contain backslashes and begins
11302 # with a dollar sign (not a hyphen), so the echo should work correctly.
11303 # The option is referenced via a variable to avoid confusing sed.
11304 lt_compile
=`echo "$ac_compile" | $SED \
11305 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11306 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11307 -e 's:$: $lt_compiler_flag:'`
11308 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11309 (eval "$lt_compile" 2>conftest.err
)
11311 cat conftest.err
>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 if (exit $ac_status) && test -s "$ac_outfile"; then
11314 # The compiler can only warn and ignore the option if not recognized
11315 # So say no if there are warnings other than the usual output.
11316 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11317 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11318 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11319 lt_cv_prog_compiler_rtti_exceptions
=yes
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11326 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11328 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11329 lt_prog_compiler_no_builtin_flag_GO
="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
11338 lt_prog_compiler_wl_GO
=
11339 lt_prog_compiler_pic_GO
=
11340 lt_prog_compiler_static_GO
=
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11343 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11345 if test "$GCC" = yes; then
11346 lt_prog_compiler_wl_GO
='-Wl,'
11347 lt_prog_compiler_static_GO
='-static'
11351 # All AIX code is PIC.
11352 if test "$host_cpu" = ia64
; then
11353 # AIX 5 now supports IA64 processor
11354 lt_prog_compiler_static_GO
='-Bstatic'
11361 # see comment about AmigaOS4 .so support
11362 lt_prog_compiler_pic_GO
='-fPIC'
11365 # FIXME: we need at least 68020 code to build shared libraries, but
11366 # adding the `-m68020' flag to GCC prevents building anything better,
11368 lt_prog_compiler_pic_GO
='-m68020 -resident32 -malways-restore-a4'
11373 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11374 # PIC is the default for these OSes.
11377 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11378 # This hack is so that the source file can tell whether it is being
11379 # built for inclusion in a dll (and should export symbols for example).
11380 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11381 # (--disable-auto-import) libraries
11382 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11385 darwin
* | rhapsody
*)
11386 # PIC is the default on this platform
11387 # Common symbols not allowed in MH_DYLIB files
11388 lt_prog_compiler_pic_GO
='-fno-common'
11392 # PIC is the default for Haiku.
11393 # The "-static" flag exists, but is broken.
11394 lt_prog_compiler_static_GO
=
11398 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11399 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11400 # sets the default TLS model and affects inlining.
11406 lt_prog_compiler_pic_GO
='-fPIC'
11412 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11413 # Instead, we relocate shared libraries at runtime.
11417 # Just because we use GCC doesn't mean we suddenly get shared libraries
11418 # on systems that don't support them.
11419 lt_prog_compiler_can_build_shared_GO
=no
11424 # QNX uses GNU C++, but need to define -shared option too, otherwise
11425 # it will coredump.
11426 lt_prog_compiler_pic_GO
='-fPIC -shared'
11430 if test -d /usr
/nec
; then
11431 lt_prog_compiler_pic_GO
=-Kconform_pic
11436 lt_prog_compiler_pic_GO
='-fPIC'
11440 case $cc_basename in
11441 nvcc
*) # Cuda Compiler Driver 2.2
11442 lt_prog_compiler_wl_GO
='-Xlinker '
11443 lt_prog_compiler_pic_GO
='-Xcompiler -fPIC'
11447 # PORTME Check for flag to pass linker flags through the system compiler.
11450 lt_prog_compiler_wl_GO
='-Wl,'
11451 if test "$host_cpu" = ia64
; then
11452 # AIX 5 now supports IA64 processor
11453 lt_prog_compiler_static_GO
='-Bstatic'
11455 lt_prog_compiler_static_GO
='-bnso -bI:/lib/syscalls.exp'
11459 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11460 # This hack is so that the source file can tell whether it is being
11461 # built for inclusion in a dll (and should export symbols for example).
11462 lt_prog_compiler_pic_GO
='-DDLL_EXPORT'
11465 hpux9
* | hpux10
* | hpux11
*)
11466 lt_prog_compiler_wl_GO
='-Wl,'
11467 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11468 # not for PA HP-UX.
11474 lt_prog_compiler_pic_GO
='+Z'
11477 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11478 lt_prog_compiler_static_GO
='${wl}-a ${wl}archive'
11481 irix5
* | irix6
* | nonstopux
*)
11482 lt_prog_compiler_wl_GO
='-Wl,'
11483 # PIC (with -KPIC) is the default.
11484 lt_prog_compiler_static_GO
='-non_shared'
11487 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11488 case $cc_basename in
11489 # old Intel for x86_64 which still supported -KPIC.
11491 lt_prog_compiler_wl_GO
='-Wl,'
11492 lt_prog_compiler_pic_GO
='-KPIC'
11493 lt_prog_compiler_static_GO
='-static'
11495 # icc used to be incompatible with GCC.
11496 # ICC 10 doesn't accept -KPIC any more.
11498 lt_prog_compiler_wl_GO
='-Wl,'
11499 lt_prog_compiler_pic_GO
='-fPIC'
11500 lt_prog_compiler_static_GO
='-static'
11502 # Lahey Fortran 8.1.
11504 lt_prog_compiler_wl_GO
='-Wl,'
11505 lt_prog_compiler_pic_GO
='--shared'
11506 lt_prog_compiler_static_GO
='--static'
11508 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11509 # Portland Group compilers (*not* the Pentium gcc compiler,
11510 # which looks to be a dead project)
11511 lt_prog_compiler_wl_GO
='-Wl,'
11512 lt_prog_compiler_pic_GO
='-fpic'
11513 lt_prog_compiler_static_GO
='-Bstatic'
11516 lt_prog_compiler_wl_GO
='-Wl,'
11517 # All Alpha code is PIC.
11518 lt_prog_compiler_static_GO
='-non_shared'
11520 xl
* | bgxl
* | bgf
* | mpixl
*)
11521 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11522 lt_prog_compiler_wl_GO
='-Wl,'
11523 lt_prog_compiler_pic_GO
='-qpic'
11524 lt_prog_compiler_static_GO
='-qstaticlink'
11527 case `$CC -V 2>&1 | sed 5q` in
11528 *Sun\ F
* |
*Sun
*Fortran
*)
11529 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11530 lt_prog_compiler_pic_GO
='-KPIC'
11531 lt_prog_compiler_static_GO
='-Bstatic'
11532 lt_prog_compiler_wl_GO
=''
11536 lt_prog_compiler_pic_GO
='-KPIC'
11537 lt_prog_compiler_static_GO
='-Bstatic'
11538 lt_prog_compiler_wl_GO
='-Wl,'
11546 lt_prog_compiler_pic_GO
='-KPIC'
11547 lt_prog_compiler_static_GO
='-Bstatic'
11551 # QNX uses GNU C++, but need to define -shared option too, otherwise
11552 # it will coredump.
11553 lt_prog_compiler_pic_GO
='-fPIC -shared'
11556 osf3
* | osf4
* | osf5
*)
11557 lt_prog_compiler_wl_GO
='-Wl,'
11558 # All OSF/1 code is PIC.
11559 lt_prog_compiler_static_GO
='-non_shared'
11563 lt_prog_compiler_static_GO
='-non_shared'
11567 lt_prog_compiler_pic_GO
='-KPIC'
11568 lt_prog_compiler_static_GO
='-Bstatic'
11569 case $cc_basename in
11570 f77
* | f90
* | f95
*)
11571 lt_prog_compiler_wl_GO
='-Qoption ld ';;
11573 lt_prog_compiler_wl_GO
='-Wl,';;
11578 lt_prog_compiler_wl_GO
='-Qoption ld '
11579 lt_prog_compiler_pic_GO
='-PIC'
11580 lt_prog_compiler_static_GO
='-Bstatic'
11583 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11584 lt_prog_compiler_wl_GO
='-Wl,'
11585 lt_prog_compiler_pic_GO
='-KPIC'
11586 lt_prog_compiler_static_GO
='-Bstatic'
11590 if test -d /usr
/nec
;then
11591 lt_prog_compiler_pic_GO
='-Kconform_pic'
11592 lt_prog_compiler_static_GO
='-Bstatic'
11596 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11597 lt_prog_compiler_wl_GO
='-Wl,'
11598 lt_prog_compiler_pic_GO
='-KPIC'
11599 lt_prog_compiler_static_GO
='-Bstatic'
11603 lt_prog_compiler_wl_GO
='-Wl,'
11604 lt_prog_compiler_can_build_shared_GO
=no
11608 lt_prog_compiler_pic_GO
='-pic'
11609 lt_prog_compiler_static_GO
='-Bstatic'
11613 lt_prog_compiler_can_build_shared_GO
=no
11619 # For platforms which do not support PIC, -DPIC is meaningless:
11621 lt_prog_compiler_pic_GO
=
11624 lt_prog_compiler_pic_GO
="$lt_prog_compiler_pic_GO"
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GO" >&5
11628 $as_echo "$lt_prog_compiler_pic_GO" >&6; }
11633 # Check to make sure the PIC flag actually works.
11635 if test -n "$lt_prog_compiler_pic_GO"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
11637 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
11638 if test "${lt_cv_prog_compiler_pic_works_GO+set}" = set; then :
11639 $as_echo_n "(cached) " >&6
11641 lt_cv_prog_compiler_pic_works_GO
=no
11642 ac_outfile
=conftest.
$ac_objext
11643 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11644 lt_compiler_flag
="$lt_prog_compiler_pic_GO"
11645 # Insert the option either (1) after the last *FLAGS variable, or
11646 # (2) before a word containing "conftest.", or (3) at the end.
11647 # Note that $ac_compile itself does not contain backslashes and begins
11648 # with a dollar sign (not a hyphen), so the echo should work correctly.
11649 # The option is referenced via a variable to avoid confusing sed.
11650 lt_compile
=`echo "$ac_compile" | $SED \
11651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11653 -e 's:$: $lt_compiler_flag:'`
11654 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11655 (eval "$lt_compile" 2>conftest.err
)
11657 cat conftest.err
>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 if (exit $ac_status) && test -s "$ac_outfile"; then
11660 # The compiler can only warn and ignore the option if not recognized
11661 # So say no if there are warnings other than the usual output.
11662 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11663 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11664 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11665 lt_cv_prog_compiler_pic_works_GO
=yes
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
11672 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
11674 if test x
"$lt_cv_prog_compiler_pic_works_GO" = xyes
; then
11675 case $lt_prog_compiler_pic_GO in
11677 *) lt_prog_compiler_pic_GO
=" $lt_prog_compiler_pic_GO" ;;
11680 lt_prog_compiler_pic_GO
=
11681 lt_prog_compiler_can_build_shared_GO
=no
11689 # Check to make sure the static flag actually works.
11691 wl
=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GO\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11693 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11694 if test "${lt_cv_prog_compiler_static_works_GO+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11697 lt_cv_prog_compiler_static_works_GO
=no
11698 save_LDFLAGS
="$LDFLAGS"
11699 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11700 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11701 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11702 # The linker can only warn and ignore the option if not recognized
11703 # So say no if there are warnings
11704 if test -s conftest.err
; then
11705 # Append any errors to the config.log.
11706 cat conftest.err
1>&5
11707 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11708 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11709 if diff conftest.exp conftest.er2
>/dev
/null
; then
11710 lt_cv_prog_compiler_static_works_GO
=yes
11713 lt_cv_prog_compiler_static_works_GO
=yes
11717 LDFLAGS
="$save_LDFLAGS"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
11721 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
11723 if test x
"$lt_cv_prog_compiler_static_works_GO" = xyes
; then
11726 lt_prog_compiler_static_GO
=
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11734 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11735 $as_echo_n "(cached) " >&6
11737 lt_cv_prog_compiler_c_o_GO
=no
11738 $RM -r conftest
2>/dev
/null
11742 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11744 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11745 # Insert the option either (1) after the last *FLAGS variable, or
11746 # (2) before a word containing "conftest.", or (3) at the end.
11747 # Note that $ac_compile itself does not contain backslashes and begins
11748 # with a dollar sign (not a hyphen), so the echo should work correctly.
11749 lt_compile
=`echo "$ac_compile" | $SED \
11750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11752 -e 's:$: $lt_compiler_flag:'`
11753 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11754 (eval "$lt_compile" 2>out
/conftest.err
)
11756 cat out
/conftest.err
>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11760 # The compiler can only warn and ignore the option if not recognized
11761 # So say no if there are warnings
11762 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11763 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11764 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11765 lt_cv_prog_compiler_c_o_GO
=yes
11770 # SGI C++ compiler will create directory out/ii_files/ for
11771 # template instantiation
11772 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11773 $RM out
/* && rmdir out
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11780 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11786 if test "${lt_cv_prog_compiler_c_o_GO+set}" = set; then :
11787 $as_echo_n "(cached) " >&6
11789 lt_cv_prog_compiler_c_o_GO
=no
11790 $RM -r conftest
2>/dev
/null
11794 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11796 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11797 # Insert the option either (1) after the last *FLAGS variable, or
11798 # (2) before a word containing "conftest.", or (3) at the end.
11799 # Note that $ac_compile itself does not contain backslashes and begins
11800 # with a dollar sign (not a hyphen), so the echo should work correctly.
11801 lt_compile
=`echo "$ac_compile" | $SED \
11802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11804 -e 's:$: $lt_compiler_flag:'`
11805 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11806 (eval "$lt_compile" 2>out
/conftest.err
)
11808 cat out
/conftest.err
>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11812 # The compiler can only warn and ignore the option if not recognized
11813 # So say no if there are warnings
11814 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11815 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11816 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11817 lt_cv_prog_compiler_c_o_GO
=yes
11822 # SGI C++ compiler will create directory out/ii_files/ for
11823 # template instantiation
11824 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11825 $RM out
/* && rmdir out
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
11832 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
11837 hard_links
="nottested"
11838 if test "$lt_cv_prog_compiler_c_o_GO" = no
&& test "$need_locks" != no
; then
11839 # do not overwrite the value of need_locks provided by the user
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11841 $as_echo_n "checking if we can lock with hard links... " >&6; }
11844 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11846 ln conftest.a conftest.b
2>&5 || hard_links
=no
11847 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11849 $as_echo "$hard_links" >&6; }
11850 if test "$hard_links" = no
; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11852 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11862 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11865 allow_undefined_flag_GO
=
11866 always_export_symbols_GO
=no
11868 archive_expsym_cmds_GO
=
11869 compiler_needs_object_GO
=no
11870 enable_shared_with_static_runtimes_GO
=no
11871 export_dynamic_flag_spec_GO
=
11872 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11873 hardcode_automatic_GO
=no
11874 hardcode_direct_GO
=no
11875 hardcode_direct_absolute_GO
=no
11876 hardcode_libdir_flag_spec_GO
=
11877 hardcode_libdir_flag_spec_ld_GO
=
11878 hardcode_libdir_separator_GO
=
11879 hardcode_minus_L_GO
=no
11880 hardcode_shlibpath_var_GO
=unsupported
11881 inherit_rpath_GO
=no
11882 link_all_deplibs_GO
=unknown
11884 module_expsym_cmds_GO
=
11885 old_archive_from_new_cmds_GO
=
11886 old_archive_from_expsyms_cmds_GO
=
11887 thread_safe_flag_spec_GO
=
11888 whole_archive_flag_spec_GO
=
11889 # include_expsyms should be a list of space-separated symbols to be *always*
11890 # included in the symbol list
11891 include_expsyms_GO
=
11892 # exclude_expsyms can be an extended regexp of symbols to exclude
11893 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11894 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11895 # as well as any symbol that contains `d'.
11896 exclude_expsyms_GO
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11897 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11898 # platforms (ab)use it in PIC code, but their linkers get confused if
11899 # the symbol is explicitly referenced. Since portable code cannot
11900 # rely on this symbol name, it's probably fine to never include it in
11901 # preloaded symbol tables.
11902 # Exclude shared library initialization/finalization symbols.
11903 extract_expsyms_cmds
=
11906 cygwin
* | mingw
* | pw32
* | cegcc
*)
11907 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11908 # When not using gcc, we currently assume that we are using
11909 # Microsoft Visual C++.
11910 if test "$GCC" != yes; then
11915 # we just hope/assume this is gcc and not c89 (= MSVC++)
11925 # On some targets, GNU ld is compatible enough with the native linker
11926 # that we're better off using the native interface for both.
11927 lt_use_gnu_ld_interface
=no
11928 if test "$with_gnu_ld" = yes; then
11931 # The AIX port of GNU ld has always aspired to compatibility
11932 # with the native linker. However, as the warning in the GNU ld
11933 # block says, versions before 2.19.5* couldn't really create working
11934 # shared libraries, regardless of the interface used.
11935 case `$LD -v 2>&1` in
11936 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11937 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11938 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11940 lt_use_gnu_ld_interface
=yes
11945 lt_use_gnu_ld_interface
=yes
11950 if test "$lt_use_gnu_ld_interface" = yes; then
11951 # If archive_cmds runs LD, not CC, wlarc should be empty
11954 # Set some defaults for GNU ld with shared library support. These
11955 # are reset later if shared libraries are not supported. Putting them
11956 # here allows them to be overridden if necessary.
11957 runpath_var
=LD_RUN_PATH
11958 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
11959 export_dynamic_flag_spec_GO
='${wl}--export-dynamic'
11960 # ancient GNU ld didn't support --whole-archive et. al.
11961 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11962 whole_archive_flag_spec_GO
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11964 whole_archive_flag_spec_GO
=
11966 supports_anon_versioning
=no
11967 case `$LD -v 2>&1` in
11968 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11969 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11970 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11971 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11972 *\
2.11.
*) ;; # other 2.11 versions
11973 *) supports_anon_versioning
=yes ;;
11976 # See if GNU ld supports shared libraries.
11979 # On AIX/PPC, the GNU linker is very broken
11980 if test "$host_cpu" != ia64
; then
11984 *** Warning: the GNU linker, at least up to release 2.19, is reported
11985 *** to be unable to reliably create shared libraries on AIX.
11986 *** Therefore, libtool is disabling shared libraries support. If you
11987 *** really care for shared libraries, you may want to install binutils
11988 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11989 *** You will then need to restart the configuration process.
11998 # see comment about AmigaOS4 .so support
11999 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12000 archive_expsym_cmds_GO
=''
12003 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)'
12004 hardcode_libdir_flag_spec_GO
='-L$libdir'
12005 hardcode_minus_L_GO
=yes
12011 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12012 allow_undefined_flag_GO
=unsupported
12013 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12014 # support --undefined. This deserves some investigation. FIXME
12015 archive_cmds_GO
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12021 cygwin
* | mingw
* | pw32
* | cegcc
*)
12022 # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
12023 # as there is no search path for DLLs.
12024 hardcode_libdir_flag_spec_GO
='-L$libdir'
12025 export_dynamic_flag_spec_GO
='${wl}--export-all-symbols'
12026 allow_undefined_flag_GO
=unsupported
12027 always_export_symbols_GO
=no
12028 enable_shared_with_static_runtimes_GO
=yes
12029 export_symbols_cmds_GO
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12031 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12032 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12033 # If the export-symbols file already is a .def file (1st line
12034 # is EXPORTS), use it as is; otherwise, prepend...
12035 archive_expsym_cmds_GO
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12036 cp $export_symbols $output_objdir/$soname.def;
12038 echo EXPORTS > $output_objdir/$soname.def;
12039 cat $export_symbols >> $output_objdir/$soname.def;
12041 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12048 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12049 link_all_deplibs_GO
=yes
12053 hardcode_direct_GO
=no
12054 hardcode_shlibpath_var_GO
=no
12055 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12056 export_dynamic_flag_spec_GO
='${wl}-E'
12057 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12058 # Instead, shared libraries are loaded at an image base (0x10000000 by
12059 # default) and relocated if they conflict, which is a slow very memory
12060 # consuming and fragmenting process. To avoid this, we pick a random,
12061 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12062 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12063 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'
12064 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'
12067 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12069 if test "$host_os" = linux-dietlibc
; then
12070 case $cc_basename in
12071 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12074 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12075 && test "$tmp_diet" = no
12078 tmp_sharedflag
='-shared'
12079 case $cc_basename,$host_cpu in
12080 pgcc
*) # Portland Group C compiler
12081 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'
12082 tmp_addflag
=' $pic_flag'
12084 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12085 # Portland Group f77 and f90 compilers
12086 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'
12087 tmp_addflag
=' $pic_flag -Mnomain' ;;
12088 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12089 tmp_addflag
=' -i_dynamic' ;;
12090 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12091 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12092 ifc
* | ifort
*) # Intel Fortran compiler
12093 tmp_addflag
=' -nofor_main' ;;
12094 lf95
*) # Lahey Fortran 8.1
12095 whole_archive_flag_spec_GO
=
12096 tmp_sharedflag
='--shared' ;;
12097 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12098 tmp_sharedflag
='-qmkshrobj'
12100 nvcc
*) # Cuda Compiler Driver 2.2
12101 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'
12102 compiler_needs_object_GO
=yes
12105 case `$CC -V 2>&1 | sed 5q` in
12106 *Sun\ C
*) # Sun C 5.9
12107 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'
12108 compiler_needs_object_GO
=yes
12109 tmp_sharedflag
='-G' ;;
12110 *Sun\ F
*) # Sun Fortran 8.3
12111 tmp_sharedflag
='-G' ;;
12113 archive_cmds_GO
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12115 if test "x$supports_anon_versioning" = xyes
; then
12116 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12117 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12118 echo "local: *; };" >> $output_objdir/$libname.ver~
12119 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12122 case $cc_basename in
12123 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12124 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12125 whole_archive_flag_spec_GO
='--whole-archive$convenience --no-whole-archive'
12126 hardcode_libdir_flag_spec_GO
=
12127 hardcode_libdir_flag_spec_ld_GO
='-rpath $libdir'
12128 archive_cmds_GO
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12129 if test "x$supports_anon_versioning" = xyes
; then
12130 archive_expsym_cmds_GO
='echo "{ global:" > $output_objdir/$libname.ver~
12131 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12132 echo "local: *; };" >> $output_objdir/$libname.ver~
12133 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12143 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12144 archive_cmds_GO
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12147 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12148 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12153 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12157 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12158 *** create shared libraries on Solaris systems. Therefore, libtool
12159 *** is disabling shared libraries support. We urge you to upgrade GNU
12160 *** binutils to release 2.9.1 or newer. Another option is to modify
12161 *** your PATH or compiler configuration so that the native linker is
12162 *** used, and then restart.
12165 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12166 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12167 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12173 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12174 case `$LD -v 2>&1` in
12175 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12179 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12180 *** reliably create shared libraries on SCO systems. Therefore, libtool
12181 *** is disabling shared libraries support. We urge you to upgrade GNU
12182 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12183 *** your PATH or compiler configuration so that the native linker is
12184 *** used, and then restart.
12189 # For security reasons, it is highly recommended that you always
12190 # use absolute paths for naming shared libraries, and exclude the
12191 # DT_RUNPATH tag from executables and libraries. But doing so
12192 # requires that you compile everything twice, which is a pain.
12193 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12194 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12195 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12196 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12205 archive_cmds_GO
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12207 hardcode_direct_GO
=yes
12208 hardcode_shlibpath_var_GO
=no
12212 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12213 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12214 archive_expsym_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12221 if test "$ld_shlibs_GO" = no
; then
12223 hardcode_libdir_flag_spec_GO
=
12224 export_dynamic_flag_spec_GO
=
12225 whole_archive_flag_spec_GO
=
12228 # PORTME fill in a description of your system's linker (not GNU ld)
12231 allow_undefined_flag_GO
=unsupported
12232 always_export_symbols_GO
=yes
12233 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'
12234 # Note: this linker hardcodes the directories in LIBPATH if there
12235 # are no directories specified by -L.
12236 hardcode_minus_L_GO
=yes
12237 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12238 # Neither direct hardcoding nor static linking is supported with a
12240 hardcode_direct_GO
=unsupported
12245 if test "$host_cpu" = ia64
; then
12246 # On IA64, the linker does run time linking by default, so we don't
12247 # have to do anything special.
12248 aix_use_runtimelinking
=no
12249 exp_sym_flag
='-Bexport'
12252 # If we're using GNU nm, then we don't want the "-C" option.
12253 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12254 # Also, AIX nm treats weak defined symbols like other global
12255 # defined symbols, whereas GNU nm marks them as "W".
12256 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12257 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'
12259 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'
12261 aix_use_runtimelinking
=no
12263 # Test if we are trying to use run time linking or normal
12264 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12265 # need to do runtime linking.
12266 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12267 for ld_flag
in $LDFLAGS; do
12268 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12269 aix_use_runtimelinking
=yes
12276 exp_sym_flag
='-bexport'
12277 no_entry_flag
='-bnoentry'
12280 # When large executables or shared objects are built, AIX ld can
12281 # have problems creating the table of contents. If linking a library
12282 # or program results in "error TOC overflow" add -mminimal-toc to
12283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12287 hardcode_direct_GO
=yes
12288 hardcode_direct_absolute_GO
=yes
12289 hardcode_libdir_separator_GO
=':'
12290 link_all_deplibs_GO
=yes
12291 file_list_spec_GO
='${wl}-f,'
12293 if test "$GCC" = yes; then
12294 case $host_os in aix4.
[012]|aix4.
[012].
*)
12295 # We only want to do this on AIX 4.2 and lower, the check
12296 # below for broken collect2 doesn't work under 4.3+
12297 collect2name
=`${CC} -print-prog-name=collect2`
12298 if test -f "$collect2name" &&
12299 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12301 # We have reworked collect2
12304 # We have old collect2
12305 hardcode_direct_GO
=unsupported
12306 # It fails to find uninstalled libraries when the uninstalled
12307 # path is not listed in the libpath. Setting hardcode_minus_L
12308 # to unsupported forces relinking
12309 hardcode_minus_L_GO
=yes
12310 hardcode_libdir_flag_spec_GO
='-L$libdir'
12311 hardcode_libdir_separator_GO
=
12315 shared_flag
='-shared'
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag
="$shared_flag "'${wl}-G'
12321 if test "$host_cpu" = ia64
; then
12322 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12323 # chokes on -Wl,-G. The following line is correct:
12326 if test "$aix_use_runtimelinking" = yes; then
12327 shared_flag
='${wl}-G'
12329 shared_flag
='${wl}-bM:SRE'
12334 export_dynamic_flag_spec_GO
='${wl}-bexpall'
12335 # It seems that -bexpall does not export symbols beginning with
12336 # underscore (_), so it is better to generate a list of symbols to export.
12337 always_export_symbols_GO
=yes
12338 if test "$aix_use_runtimelinking" = yes; then
12339 # Warning - without using the other runtime loading flags (-brtl),
12340 # -berok will link without error, but may produce a broken library.
12341 allow_undefined_flag_GO
='-berok'
12342 # Determine the default libpath from the value encoded in an
12343 # empty executable.
12344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12355 if ac_fn_c_try_link
"$LINENO"; then :
12357 lt_aix_libpath_sed
='
12358 /Import File Strings/,/^$/ {
12364 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12365 # Check for a 64-bit object if we didn't find anything.
12366 if test -z "$aix_libpath"; then
12367 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12370 rm -f core conftest.err conftest.
$ac_objext \
12371 conftest
$ac_exeext conftest.
$ac_ext
12372 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12374 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12375 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"
12377 if test "$host_cpu" = ia64
; then
12378 hardcode_libdir_flag_spec_GO
='${wl}-R $libdir:/usr/lib:/lib'
12379 allow_undefined_flag_GO
="-z nodefs"
12380 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"
12382 # Determine the default libpath from the value encoded in an
12383 # empty executable.
12384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12395 if ac_fn_c_try_link
"$LINENO"; then :
12397 lt_aix_libpath_sed
='
12398 /Import File Strings/,/^$/ {
12404 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 # Check for a 64-bit object if we didn't find anything.
12406 if test -z "$aix_libpath"; then
12407 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 rm -f core conftest.err conftest.
$ac_objext \
12411 conftest
$ac_exeext conftest.
$ac_ext
12412 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12414 hardcode_libdir_flag_spec_GO
='${wl}-blibpath:$libdir:'"$aix_libpath"
12415 # Warning - without using the other run time loading flags,
12416 # -berok will link without error, but may produce a broken library.
12417 no_undefined_flag_GO
=' ${wl}-bernotok'
12418 allow_undefined_flag_GO
=' ${wl}-berok'
12419 if test "$with_gnu_ld" = yes; then
12420 # We only use this code for GNU lds that support --whole-archive.
12421 whole_archive_flag_spec_GO
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12423 # Exported symbols can be pulled into shared objects from archives
12424 whole_archive_flag_spec_GO
='$convenience'
12426 archive_cmds_need_lc_GO
=yes
12427 # This is similar to how AIX traditionally builds its shared libraries.
12428 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'
12436 # see comment about AmigaOS4 .so support
12437 archive_cmds_GO
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 archive_expsym_cmds_GO
=''
12441 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)'
12442 hardcode_libdir_flag_spec_GO
='-L$libdir'
12443 hardcode_minus_L_GO
=yes
12449 export_dynamic_flag_spec_GO
=-rdynamic
12452 cygwin
* | mingw
* | pw32
* | cegcc
*)
12453 # When not using gcc, we currently assume that we are using
12454 # Microsoft Visual C++.
12455 # hardcode_libdir_flag_spec is actually meaningless, as there is
12456 # no search path for DLLs.
12457 hardcode_libdir_flag_spec_GO
=' '
12458 allow_undefined_flag_GO
=unsupported
12459 # Tell ltmain to make .lib files, not .a files.
12461 # Tell ltmain to make .dll files, not .so files.
12463 # FIXME: Setting linknames here is a bad hack.
12464 archive_cmds_GO
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12465 # The linker will automatically build a .lib file if we build a DLL.
12466 old_archive_from_new_cmds_GO
='true'
12467 # FIXME: Should let the user specify the lib program.
12468 old_archive_cmds_GO
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12469 fix_srcfile_path_GO
='`cygpath -w "$srcfile"`'
12470 enable_shared_with_static_runtimes_GO
=yes
12473 darwin
* | rhapsody
*)
12476 archive_cmds_need_lc_GO
=no
12477 hardcode_direct_GO
=no
12478 hardcode_automatic_GO
=yes
12479 hardcode_shlibpath_var_GO
=unsupported
12480 if test "$lt_cv_ld_force_load" = "yes"; then
12481 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\"`'
12483 whole_archive_flag_spec_GO
=''
12485 link_all_deplibs_GO
=yes
12486 allow_undefined_flag_GO
="$_lt_dar_allow_undefined"
12487 case $cc_basename in
12488 ifort
*) _lt_dar_can_shared
=yes ;;
12489 *) _lt_dar_can_shared
=$GCC ;;
12491 if test "$_lt_dar_can_shared" = "yes"; then
12492 output_verbose_link_cmd
=func_echo_all
12493 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}"
12494 module_cmds_GO
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12495 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}"
12496 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}"
12505 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12506 hardcode_libdir_flag_spec_GO
='-L$libdir'
12507 hardcode_shlibpath_var_GO
=no
12514 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12515 # support. Future versions do this automatically, but an explicit c++rt0.o
12516 # does not break anything, and helps significantly (at the cost of a little
12519 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12520 hardcode_libdir_flag_spec_GO
='-R$libdir'
12521 hardcode_direct_GO
=yes
12522 hardcode_shlibpath_var_GO
=no
12525 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12527 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12528 hardcode_direct_GO
=yes
12529 hardcode_minus_L_GO
=yes
12530 hardcode_shlibpath_var_GO
=no
12533 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12534 freebsd
* | dragonfly
*)
12535 archive_cmds_GO
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12536 hardcode_libdir_flag_spec_GO
='-R$libdir'
12537 hardcode_direct_GO
=yes
12538 hardcode_shlibpath_var_GO
=no
12542 if test "$GCC" = yes; then
12543 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'
12545 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'
12547 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12548 hardcode_libdir_separator_GO
=:
12549 hardcode_direct_GO
=yes
12551 # hardcode_minus_L: Not really in the search PATH,
12552 # but as the default location of the library.
12553 hardcode_minus_L_GO
=yes
12554 export_dynamic_flag_spec_GO
='${wl}-E'
12558 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12559 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12561 archive_cmds_GO
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12563 if test "$with_gnu_ld" = no
; then
12564 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12565 hardcode_libdir_flag_spec_ld_GO
='+b $libdir'
12566 hardcode_libdir_separator_GO
=:
12567 hardcode_direct_GO
=yes
12568 hardcode_direct_absolute_GO
=yes
12569 export_dynamic_flag_spec_GO
='${wl}-E'
12570 # hardcode_minus_L: Not really in the search PATH,
12571 # but as the default location of the library.
12572 hardcode_minus_L_GO
=yes
12577 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12580 archive_cmds_GO
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12583 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12586 archive_cmds_GO
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12592 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12595 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12598 archive_cmds_GO
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12602 if test "$with_gnu_ld" = no
; then
12603 hardcode_libdir_flag_spec_GO
='${wl}+b ${wl}$libdir'
12604 hardcode_libdir_separator_GO
=:
12608 hardcode_direct_GO
=no
12609 hardcode_shlibpath_var_GO
=no
12612 hardcode_direct_GO
=yes
12613 hardcode_direct_absolute_GO
=yes
12614 export_dynamic_flag_spec_GO
='${wl}-E'
12616 # hardcode_minus_L: Not really in the search PATH,
12617 # but as the default location of the library.
12618 hardcode_minus_L_GO
=yes
12624 irix5
* | irix6
* | nonstopux
*)
12625 if test "$GCC" = yes; then
12626 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'
12627 # Try to use the -exported_symbol ld option, if it does not
12628 # work, assume that -exports_file does not work either and
12629 # implicitly export all symbols.
12630 save_LDFLAGS
="$LDFLAGS"
12631 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12636 if ac_fn_c_try_link
"$LINENO"; then :
12637 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'
12640 rm -f core conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12642 LDFLAGS
="$save_LDFLAGS"
12644 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'
12645 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'
12647 archive_cmds_need_lc_GO
='no'
12648 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12649 hardcode_libdir_separator_GO
=:
12650 inherit_rpath_GO
=yes
12651 link_all_deplibs_GO
=yes
12655 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12656 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12658 archive_cmds_GO
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12660 hardcode_libdir_flag_spec_GO
='-R$libdir'
12661 hardcode_direct_GO
=yes
12662 hardcode_shlibpath_var_GO
=no
12666 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12667 hardcode_direct_GO
=yes
12668 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12669 hardcode_libdir_separator_GO
=:
12670 hardcode_shlibpath_var_GO
=no
12677 if test -f /usr
/libexec
/ld.so
; then
12678 hardcode_direct_GO
=yes
12679 hardcode_shlibpath_var_GO
=no
12680 hardcode_direct_absolute_GO
=yes
12681 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12682 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12683 archive_expsym_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12684 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12685 export_dynamic_flag_spec_GO
='${wl}-E'
12688 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12689 archive_cmds_GO
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12690 hardcode_libdir_flag_spec_GO
='-R$libdir'
12693 archive_cmds_GO
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12694 hardcode_libdir_flag_spec_GO
='${wl}-rpath,$libdir'
12704 hardcode_libdir_flag_spec_GO
='-L$libdir'
12705 hardcode_minus_L_GO
=yes
12706 allow_undefined_flag_GO
=unsupported
12707 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'
12708 old_archive_from_new_cmds_GO
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12712 if test "$GCC" = yes; then
12713 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12714 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'
12716 allow_undefined_flag_GO
=' -expect_unresolved \*'
12717 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'
12719 archive_cmds_need_lc_GO
='no'
12720 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12721 hardcode_libdir_separator_GO
=:
12724 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12725 if test "$GCC" = yes; then
12726 allow_undefined_flag_GO
=' ${wl}-expect_unresolved ${wl}\*'
12727 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'
12728 hardcode_libdir_flag_spec_GO
='${wl}-rpath ${wl}$libdir'
12730 allow_undefined_flag_GO
=' -expect_unresolved \*'
12731 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'
12732 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~
12733 $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'
12735 # Both c and cxx compiler support -rpath directly
12736 hardcode_libdir_flag_spec_GO
='-rpath $libdir'
12738 archive_cmds_need_lc_GO
='no'
12739 hardcode_libdir_separator_GO
=:
12743 no_undefined_flag_GO
=' -z defs'
12744 if test "$GCC" = yes; then
12746 archive_cmds_GO
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12747 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12748 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12750 case `$CC -V 2>&1` in
12753 archive_cmds_GO
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12754 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12755 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12759 archive_cmds_GO
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12760 archive_expsym_cmds_GO
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12761 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12765 hardcode_libdir_flag_spec_GO
='-R$libdir'
12766 hardcode_shlibpath_var_GO
=no
12768 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12770 # The compiler driver will combine and reorder linker options,
12771 # but understands `-z linker_flag'. GCC discards it without `$wl',
12772 # but is careful enough not to reorder.
12773 # Supported since Solaris 2.6 (maybe 2.5.1?)
12774 if test "$GCC" = yes; then
12775 whole_archive_flag_spec_GO
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12777 whole_archive_flag_spec_GO
='-z allextract$convenience -z defaultextract'
12781 link_all_deplibs_GO
=yes
12785 if test "x$host_vendor" = xsequent
; then
12786 # Use $CC to link under sequent, because it throws in some extra .o
12787 # files that make .init and .fini sections work.
12788 archive_cmds_GO
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12790 archive_cmds_GO
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12792 hardcode_libdir_flag_spec_GO
='-L$libdir'
12793 hardcode_direct_GO
=yes
12794 hardcode_minus_L_GO
=yes
12795 hardcode_shlibpath_var_GO
=no
12799 case $host_vendor in
12801 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12802 hardcode_direct_GO
=yes # is this really true???
12805 ## LD is ld it makes a PLAMLIB
12806 ## CC just makes a GrossModule.
12807 archive_cmds_GO
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12808 reload_cmds_GO
='$CC -r -o $output$reload_objs'
12809 hardcode_direct_GO
=no
12812 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12813 hardcode_direct_GO
=no
#Motorola manual says yes, but my tests say they lie
12816 runpath_var
='LD_RUN_PATH'
12817 hardcode_shlibpath_var_GO
=no
12821 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12822 hardcode_shlibpath_var_GO
=no
12823 export_dynamic_flag_spec_GO
='-Bexport'
12827 if test -d /usr
/nec
; then
12828 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12829 hardcode_shlibpath_var_GO
=no
12830 runpath_var
=LD_RUN_PATH
12831 hardcode_runpath_var
=yes
12836 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12837 no_undefined_flag_GO
='${wl}-z,text'
12838 archive_cmds_need_lc_GO
=no
12839 hardcode_shlibpath_var_GO
=no
12840 runpath_var
='LD_RUN_PATH'
12842 if test "$GCC" = yes; then
12843 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12844 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12846 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12847 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12851 sysv5
* | sco3.2v5
* | sco5v6
*)
12852 # Note: We can NOT use -z defs as we might desire, because we do not
12853 # link with -lc, and that would cause any symbols used from libc to
12854 # always be unresolved, which means just about no library would
12855 # ever link correctly. If we're not using GNU ld we use -z text
12856 # though, which does catch some bad symbols but isn't as heavy-handed
12858 no_undefined_flag_GO
='${wl}-z,text'
12859 allow_undefined_flag_GO
='${wl}-z,nodefs'
12860 archive_cmds_need_lc_GO
=no
12861 hardcode_shlibpath_var_GO
=no
12862 hardcode_libdir_flag_spec_GO
='${wl}-R,$libdir'
12863 hardcode_libdir_separator_GO
=':'
12864 link_all_deplibs_GO
=yes
12865 export_dynamic_flag_spec_GO
='${wl}-Bexport'
12866 runpath_var
='LD_RUN_PATH'
12868 if test "$GCC" = yes; then
12869 archive_cmds_GO
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12870 archive_expsym_cmds_GO
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12872 archive_cmds_GO
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12873 archive_expsym_cmds_GO
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12878 archive_cmds_GO
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12879 hardcode_libdir_flag_spec_GO
='-L$libdir'
12880 hardcode_shlibpath_var_GO
=no
12888 if test x
$host_vendor = xsni
; then
12890 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12891 export_dynamic_flag_spec_GO
='${wl}-Blargedynsym'
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
12898 $as_echo "$ld_shlibs_GO" >&6; }
12899 test "$ld_shlibs_GO" = no
&& can_build_shared
=no
12901 with_gnu_ld_GO
=$with_gnu_ld
12909 # Do we need to explicitly link libc?
12911 case "x$archive_cmds_need_lc_GO" in
12913 # Assume -lc should be added
12914 archive_cmds_need_lc_GO
=yes
12916 if test "$enable_shared" = yes && test "$GCC" = yes; then
12917 case $archive_cmds_GO in
12919 # FIXME: we may have to deal with multi-command sequences.
12922 # Test whether the compiler implicitly links with -lc since on some
12923 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12924 # to ld, don't add -lc before -lgcc.
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12926 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12927 if test "${lt_cv_archive_cmds_need_lc_GO+set}" = set; then :
12928 $as_echo_n "(cached) " >&6
12931 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12934 (eval $ac_compile) 2>&5
12936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12937 test $ac_status = 0; } 2>conftest.err
; then
12940 libobjs
=conftest.
$ac_objext
12942 wl
=$lt_prog_compiler_wl_GO
12943 pic_flag
=$lt_prog_compiler_pic_GO
12949 lt_save_allow_undefined_flag
=$allow_undefined_flag_GO
12950 allow_undefined_flag_GO
=
12951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12952 (eval $archive_cmds_GO 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12955 test $ac_status = 0; }
12957 lt_cv_archive_cmds_need_lc_GO
=no
12959 lt_cv_archive_cmds_need_lc_GO
=yes
12961 allow_undefined_flag_GO
=$lt_save_allow_undefined_flag
12963 cat conftest.err
1>&5
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
12969 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
12970 archive_cmds_need_lc_GO
=$lt_cv_archive_cmds_need_lc_GO
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13041 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13042 hardcode_action_GO
=
13043 if test -n "$hardcode_libdir_flag_spec_GO" ||
13044 test -n "$runpath_var_GO" ||
13045 test "X$hardcode_automatic_GO" = "Xyes" ; then
13047 # We can hardcode non-existent directories.
13048 if test "$hardcode_direct_GO" != no
&&
13049 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13050 # have to relink, otherwise we might link with an installed library
13051 # when we should be linking with a yet-to-be-installed one
13052 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" != no &&
13053 test "$hardcode_minus_L_GO" != no
; then
13054 # Linking always hardcodes the temporary library directory.
13055 hardcode_action_GO
=relink
13057 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13058 hardcode_action_GO
=immediate
13061 # We cannot hardcode anything, or else we can only hardcode existing
13063 hardcode_action_GO
=unsupported
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
13066 $as_echo "$hardcode_action_GO" >&6; }
13068 if test "$hardcode_action_GO" = relink ||
13069 test "$inherit_rpath_GO" = yes; then
13070 # Fast installation is not supported
13071 enable_fast_install
=no
13072 elif test "$shlibpath_overrides_runpath" = yes ||
13073 test "$enable_shared" = no
; then
13074 # Fast installation is not necessary
13075 enable_fast_install
=needless
13087 ac_cpp
='$CPP $CPPFLAGS'
13088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13099 ac_config_commands
="$ac_config_commands libtool"
13104 # Only expand once:
13110 WARN_FLAGS
='-Wall -Wextra -Wwrite-strings -Wcast-qual'
13116 glibgo_toolexecdir
=no
13117 glibgo_toolexeclibdir
=no
13118 glibgo_prefixdir
=$prefix
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
13121 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
13122 # Check whether --enable-version-specific-runtime-libs was given.
13123 if test "${enable_version_specific_runtime_libs+set}" = set; then :
13124 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
13125 yes) version_specific_libs
=yes ;;
13126 no
) version_specific_libs
=no
;;
13127 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
13130 version_specific_libs
=no
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
13134 $as_echo "$version_specific_libs" >&6; }
13136 # Version-specific runtime libs processing.
13137 if test $version_specific_libs = yes; then
13138 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13139 glibgo_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
13142 # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
13143 # Install a library built with a cross compiler in tooldir, not libdir.
13144 if test x
"$glibgo_toolexecdir" = x
"no"; then
13145 if test -n "$with_cross_host" &&
13146 test x
"$with_cross_host" != x
"no"; then
13147 glibgo_toolexecdir
='${exec_prefix}/${host_alias}'
13148 glibgo_toolexeclibdir
='${toolexecdir}/lib'
13150 glibgo_toolexecdir
='${libdir}/gcc/${host_alias}'
13151 glibgo_toolexeclibdir
='${libdir}'
13153 multi_os_directory
=`$CC -print-multi-os-directory`
13154 case $multi_os_directory in
13155 .
) ;; # Avoid trailing /.
13156 *) glibgo_toolexeclibdir
=$glibgo_toolexeclibdir/$multi_os_directory ;;
13164 # See if the user wants to configure without libffi. Some
13165 # architectures don't support it. FIXME: We should set a default
13166 # based on the host.
13168 # Check whether --with-libffi was given.
13169 if test "${with_libffi+set}" = set; then :
13170 withval
=$with_libffi; :
13172 with_libffi
=${with_libffi_default-yes}
13178 if test "$with_libffi" != no
; then
13180 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
13182 LIBFFI
=..
/libffi
/libffi_convenience.la
13183 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
13193 *-*-darwin*) is_darwin
=yes ;;
13194 *-*-freebsd*) is_freebsd
=yes ;;
13195 *-*-linux*) is_linux
=yes ;;
13196 *-*-rtems*) is_rtems
=yes ;;
13198 if test $is_darwin = yes; then
13199 LIBGO_IS_DARWIN_TRUE
=
13200 LIBGO_IS_DARWIN_FALSE
='#'
13202 LIBGO_IS_DARWIN_TRUE
='#'
13203 LIBGO_IS_DARWIN_FALSE
=
13206 if test $is_freebsd = yes; then
13207 LIBGO_IS_FREEBSD_TRUE
=
13208 LIBGO_IS_FREEBSD_FALSE
='#'
13210 LIBGO_IS_FREEBSD_TRUE
='#'
13211 LIBGO_IS_FREEBSD_FALSE
=
13214 if test $is_linux = yes; then
13215 LIBGO_IS_LINUX_TRUE
=
13216 LIBGO_IS_LINUX_FALSE
='#'
13218 LIBGO_IS_LINUX_TRUE
='#'
13219 LIBGO_IS_LINUX_FALSE
=
13222 if test $is_rtems = yes; then
13223 LIBGO_IS_RTEMS_TRUE
=
13224 LIBGO_IS_RTEMS_FALSE
='#'
13226 LIBGO_IS_RTEMS_TRUE
='#'
13227 LIBGO_IS_RTEMS_FALSE
=
13239 if test "$with_multisubdir" = "32"; then
13245 arm
*-*-* | strongarm
*-*-* | ep9312
*-*-* | xscale-
*-*)
13249 if test $is_386 = yes; then
13251 LIBGO_IS_386_FALSE
='#'
13253 LIBGO_IS_386_TRUE
='#'
13254 LIBGO_IS_386_FALSE
=
13257 if test $is_x86_64 = yes; then
13258 LIBGO_IS_X86_64_TRUE
=
13259 LIBGO_IS_X86_64_FALSE
='#'
13261 LIBGO_IS_X86_64_TRUE
='#'
13262 LIBGO_IS_X86_64_FALSE
=
13265 if test $is_arm = yes; then
13267 LIBGO_IS_ARM_FALSE
='#'
13269 LIBGO_IS_ARM_TRUE
='#'
13270 LIBGO_IS_ARM_FALSE
=
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
13275 $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
13276 if test "${ac_cv_libgo_split_stack_supported+set}" = set; then :
13277 $as_echo_n "(cached) " >&6
13279 CFLAGS_hold
=$CFLAGS
13280 CFLAGS
="$CFLAGS -fsplit-stack"
13281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13285 if ac_fn_c_try_compile
"$LINENO"; then :
13286 ac_cv_libgo_split_stack_supported
=yes
13288 ac_cv_libgo_split_stack_supported
=no
13290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13291 CFLAGS
=$CFLAGS_hold
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgo_split_stack_supported" >&5
13294 $as_echo "$ac_cv_libgo_split_stack_supported" >&6; }
13295 if test "$ac_cv_libgo_split_stack_supported" = yes; then
13296 SPLIT_STACK
=-fsplit-stack
13298 $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
13304 if test "$ac_cv_libgo_split_stack_supported" = yes; then
13305 USING_SPLIT_STACK_TRUE
=
13306 USING_SPLIT_STACK_FALSE
='#'
13308 USING_SPLIT_STACK_TRUE
='#'
13309 USING_SPLIT_STACK_FALSE
=
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
13314 $as_echo_n "checking whether linker supports split stack... " >&6; }
13315 if test "${ac_cv_libgo_linker_supports_split_stack+set}" = set; then :
13316 $as_echo_n "(cached) " >&6
13318 ac_cv_libgo_linker_supports_split_stack
=no
13319 if $LD --help 2>/dev
/null |
grep split-stack-adjust-size
>/dev
/null
2>&1; then
13320 ac_cv_libgo_linker_supports_split_stack
=yes
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgo_linker_supports_split_stack" >&5
13324 $as_echo "$ac_cv_libgo_linker_supports_split_stack" >&6; }
13325 if test "$ac_cv_libgo_linker_supports_split_stack" = yes; then
13327 $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
13332 $as_echo_n "checking whether -pthread is supported... " >&6; }
13333 if test "${ac_cv_libgo_pthread_supported+set}" = set; then :
13334 $as_echo_n "(cached) " >&6
13336 CFLAGS_hold
=$CFLAGS
13337 CFLAGS
="$CFLAGS -pthread"
13338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13342 if ac_fn_c_try_compile
"$LINENO"; then :
13343 ac_cv_libgo_pthread_supported
=yes
13345 ac_cv_libgo_pthread_supported
=no
13347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13348 CFLAGS
=$CFLAGS_hold
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgo_pthread_supported" >&5
13351 $as_echo "$ac_cv_libgo_pthread_supported" >&6; }
13353 if test "$ac_cv_libgo_pthread_supported" = yes; then
13354 PTHREAD_CFLAGS
=-pthread
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13360 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
13361 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
13362 $as_echo_n "(cached) " >&6
13364 ac_check_lib_save_LIBS
=$LIBS
13365 LIBS
="-lpthread $LIBS"
13366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13367 /* end confdefs.h. */
13369 /* Override any GCC internal prototype to avoid an error.
13370 Use char because int might match the return type of a GCC
13371 builtin and then its argument prototype would still apply. */
13375 char pthread_create ();
13379 return pthread_create ();
13384 if ac_fn_c_try_link
"$LINENO"; then :
13385 ac_cv_lib_pthread_pthread_create
=yes
13387 ac_cv_lib_pthread_pthread_create
=no
13389 rm -f core conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13391 LIBS
=$ac_check_lib_save_LIBS
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13394 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
13395 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
13396 PTHREAD_LIBS
=-lpthread
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13402 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13403 if test "${ac_cv_c_bigendian+set}" = set; then :
13404 $as_echo_n "(cached) " >&6
13406 ac_cv_c_bigendian
=unknown
13407 # See if we're dealing with a universal compiler.
13408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13410 #ifndef __APPLE_CC__
13411 not a universal capable compiler
13416 if ac_fn_c_try_compile
"$LINENO"; then :
13418 # Check for potential -arch flags. It is not universal unless
13419 # there are at least two -arch flags with different values.
13422 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13423 if test -n "$ac_prev"; then
13425 i?
86 | x86_64 | ppc | ppc64
)
13426 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
13429 ac_cv_c_bigendian
=universal
13435 elif test "x$ac_word" = "x-arch"; then
13440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13441 if test $ac_cv_c_bigendian = unknown
; then
13442 # See if sys/param.h defines the BYTE_ORDER macro.
13443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13445 #include <sys/types.h>
13446 #include <sys/param.h>
13451 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13452 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13454 bogus endian macros
13461 if ac_fn_c_try_compile
"$LINENO"; then :
13462 # It does; now see whether it defined to BIG_ENDIAN or not.
13463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13465 #include <sys/types.h>
13466 #include <sys/param.h>
13471 #if BYTE_ORDER != BIG_ENDIAN
13479 if ac_fn_c_try_compile
"$LINENO"; then :
13480 ac_cv_c_bigendian
=yes
13482 ac_cv_c_bigendian
=no
13484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13488 if test $ac_cv_c_bigendian = unknown
; then
13489 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <limits.h>
13497 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13498 bogus endian macros
13505 if ac_fn_c_try_compile
"$LINENO"; then :
13506 # It does; now see whether it defined to _BIG_ENDIAN or not.
13507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13509 #include <limits.h>
13514 #ifndef _BIG_ENDIAN
13522 if ac_fn_c_try_compile
"$LINENO"; then :
13523 ac_cv_c_bigendian
=yes
13525 ac_cv_c_bigendian
=no
13527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13531 if test $ac_cv_c_bigendian = unknown
; then
13532 # Compile a test program.
13533 if test "$cross_compiling" = yes; then :
13534 # Try to guess by grepping values from an object file.
13535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13537 short int ascii_mm[] =
13538 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13539 short int ascii_ii[] =
13540 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13541 int use_ascii (int i) {
13542 return ascii_mm[i] + ascii_ii[i];
13544 short int ebcdic_ii[] =
13545 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13546 short int ebcdic_mm[] =
13547 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13548 int use_ebcdic (int i) {
13549 return ebcdic_mm[i] + ebcdic_ii[i];
13556 return use_ascii (foo) == use_ebcdic (foo);
13561 if ac_fn_c_try_compile
"$LINENO"; then :
13562 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
13563 ac_cv_c_bigendian
=yes
13565 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
13566 if test "$ac_cv_c_bigendian" = unknown
; then
13567 ac_cv_c_bigendian
=no
13569 # finding both strings is unlikely to happen, but who knows?
13570 ac_cv_c_bigendian
=unknown
13574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13578 $ac_includes_default
13583 /* Are we little or big endian? From Harbison&Steele. */
13587 char c[sizeof (long int)];
13590 return u.c[sizeof (long int) - 1] == 1;
13596 if ac_fn_c_try_run
"$LINENO"; then :
13597 ac_cv_c_bigendian
=no
13599 ac_cv_c_bigendian
=yes
13601 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13602 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13608 $as_echo "$ac_cv_c_bigendian" >&6; }
13609 case $ac_cv_c_bigendian in #(
13611 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13617 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13621 as_fn_error
"unknown endianness
13622 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13628 # Check whether --with-system-libunwind was given.
13629 if test "${with_system_libunwind+set}" = set; then :
13630 withval
=$with_system_libunwind;
13633 # If system-libunwind was not specifically set, pick a default setting.
13634 if test x
$with_system_libunwind = x
; then
13636 ia64-
*-hpux*) with_system_libunwind
=yes ;;
13637 *) with_system_libunwind
=no
;;
13640 # Based on system-libunwind and target, do we have ipinfo?
13641 if test x
$with_system_libunwind = xyes
; then
13643 ia64-
*-*) have_unwind_getipinfo
=no
;;
13644 *) have_unwind_getipinfo
=yes ;;
13647 # Darwin before version 9 does not have _Unwind_GetIPInfo.
13650 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
13651 *) have_unwind_getipinfo
=yes ;;
13656 if test x
$have_unwind_getipinfo = xyes
; then
13658 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
13663 for ac_header
in sys
/mman.h syscall.h sys
/epoll.h sys
/ptrace.h sys
/user.h sys
/utsname.h
13665 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13666 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13667 eval as_val
=\$
$as_ac_Header
13668 if test "x$as_val" = x
""yes; then :
13669 cat >>confdefs.h
<<_ACEOF
13670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13677 if test "$ac_cv_header_sys_mman_h" = yes; then
13678 HAVE_SYS_MMAN_H_TRUE
=
13679 HAVE_SYS_MMAN_H_FALSE
='#'
13681 HAVE_SYS_MMAN_H_TRUE
='#'
13682 HAVE_SYS_MMAN_H_FALSE
=
13685 for ac_func
in srandom random strsignal
13687 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13688 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13689 eval as_val
=\$
$as_ac_var
13690 if test "x$as_val" = x
""yes; then :
13691 cat >>confdefs.h
<<_ACEOF
13692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
13700 $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
13701 if test "${ac_cv_libgo_compiler_supports_inline_all_stringops+set}" = set; then :
13702 $as_echo_n "(cached) " >&6
13704 CFLAGS_hold
=$CFLAGS
13705 CFLAGS
="$CFLAGS -minline-all-stringops"
13706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13710 if ac_fn_c_try_compile
"$LINENO"; then :
13711 ac_cv_libgo_compiler_supports_inline_all_stringops
=yes
13713 ac_cv_libgo_compiler_supports_inline_all_stringops
=no
13715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13716 CFLAGS
=$CFLAGS_hold
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libgo_compiler_supports_inline_all_stringops" >&5
13719 $as_echo "$ac_cv_libgo_compiler_supports_inline_all_stringops" >&6; }
13721 if test "$ac_cv_libgo_compiler_supports_inline_all_stringops" = yes; then
13722 STRINGOPS_FLAG
=-minline-all-stringops
13726 CFLAGS_hold
=$CFLAGS
13727 CFLAGS
="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
13728 ac_fn_c_check_type
"$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
13729 if test "x$ac_cv_type_off64_t" = x
""yes; then :
13731 cat >>confdefs.h
<<_ACEOF
13732 #define HAVE_OFF64_T 1
13738 CFLAGS
=$CFLAGS_hold
13740 cat >confcache
<<\_ACEOF
13741 # This file is a shell script that caches the results of configure
13742 # tests run on this system so they can be shared between configure
13743 # scripts and configure runs, see configure's option --config-cache.
13744 # It is not useful on other systems. If it contains results you don't
13745 # want to keep, you may remove or edit it.
13747 # config.status only pays attention to the cache file if you give it
13748 # the --recheck option to rerun configure.
13750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13752 # following values.
13756 # The following way of writing the cache mishandles newlines in values,
13757 # but we know of no workaround that is simple, portable, and efficient.
13758 # So, we kill variables containing newlines.
13759 # Ultrix sh set writes to stderr and can't be redirected directly,
13760 # and sets the high bit in the cache file unless we assign to the vars.
13762 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13763 eval ac_val
=\$
$ac_var
13767 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13768 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13771 _ | IFS | as_nl
) ;; #(
13772 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13773 *) { eval $ac_var=; unset $ac_var;} ;;
13779 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13780 *${as_nl}ac_space
=\
*)
13781 # `set' does not quote correctly, so add quotes: double-quote
13782 # substitution turns \\\\ into \\, and sed turns \\ into \.
13785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13788 # `set' quotes correctly as required by POSIX, so do not add quotes.
13789 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13798 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13800 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13802 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13803 if test -w "$cache_file"; then
13804 test "x$cache_file" != "x/dev/null" &&
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13806 $as_echo "$as_me: updating cache $cache_file" >&6;}
13807 cat confcache
>$cache_file
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13810 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13815 if test ${multilib} = yes; then
13816 multilib_arg
="--enable-multilib"
13821 ac_config_files
="$ac_config_files Makefile testsuite/Makefile"
13824 ac_config_commands
="$ac_config_commands default"
13827 cat >confcache
<<\_ACEOF
13828 # This file is a shell script that caches the results of configure
13829 # tests run on this system so they can be shared between configure
13830 # scripts and configure runs, see configure's option --config-cache.
13831 # It is not useful on other systems. If it contains results you don't
13832 # want to keep, you may remove or edit it.
13834 # config.status only pays attention to the cache file if you give it
13835 # the --recheck option to rerun configure.
13837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13839 # following values.
13843 # The following way of writing the cache mishandles newlines in values,
13844 # but we know of no workaround that is simple, portable, and efficient.
13845 # So, we kill variables containing newlines.
13846 # Ultrix sh set writes to stderr and can't be redirected directly,
13847 # and sets the high bit in the cache file unless we assign to the vars.
13849 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13850 eval ac_val
=\$
$ac_var
13854 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13858 _ | IFS | as_nl
) ;; #(
13859 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13860 *) { eval $ac_var=; unset $ac_var;} ;;
13866 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13867 *${as_nl}ac_space
=\
*)
13868 # `set' does not quote correctly, so add quotes: double-quote
13869 # substitution turns \\\\ into \\, and sed turns \\ into \.
13872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13875 # `set' quotes correctly as required by POSIX, so do not add quotes.
13876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13887 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13889 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13890 if test -w "$cache_file"; then
13891 test "x$cache_file" != "x/dev/null" &&
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13893 $as_echo "$as_me: updating cache $cache_file" >&6;}
13894 cat confcache
>$cache_file
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13897 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13902 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13903 # Let make expand exec_prefix.
13904 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13906 DEFS
=-DHAVE_CONFIG_H
13910 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13911 # 1. Remove the extension, and $U if already installed.
13912 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13913 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13914 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13915 # will be set to the directory where LIBOBJS objects are built.
13916 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13917 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13919 LIBOBJS
=$ac_libobjs
13921 LTLIBOBJS
=$ac_ltlibobjs
13924 if test -n "$EXEEXT"; then
13926 am__EXEEXT_FALSE
='#'
13928 am__EXEEXT_TRUE
='#'
13932 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13933 as_fn_error
"conditional \"AMDEP\" was never defined.
13934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13936 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13937 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13940 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13941 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13944 if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
13945 as_fn_error
"conditional \"LIBGO_IS_DARWIN\" was never defined.
13946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13948 if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
13949 as_fn_error
"conditional \"LIBGO_IS_FREEBSD\" was never defined.
13950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13952 if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
13953 as_fn_error
"conditional \"LIBGO_IS_LINUX\" was never defined.
13954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13956 if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
13957 as_fn_error
"conditional \"LIBGO_IS_RTEMS\" was never defined.
13958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13960 if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
13961 as_fn_error
"conditional \"LIBGO_IS_386\" was never defined.
13962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13964 if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
13965 as_fn_error
"conditional \"LIBGO_IS_X86_64\" was never defined.
13966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13968 if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
13969 as_fn_error
"conditional \"LIBGO_IS_ARM\" was never defined.
13970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13972 if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
13973 as_fn_error
"conditional \"USING_SPLIT_STACK\" was never defined.
13974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13977 if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
13978 as_fn_error
"conditional \"HAVE_SYS_MMAN_H\" was never defined.
13979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13982 : ${CONFIG_STATUS=./config.status}
13984 ac_clean_files_save
=$ac_clean_files
13985 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13987 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13989 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13991 # Generated by $as_me.
13992 # Run this file to recreate the current configuration.
13993 # Compiler output produced by configure, useful for debugging
13994 # configure, is in config.log if it exists.
13997 ac_cs_recheck=false
14000 SHELL=\${CONFIG_SHELL-$SHELL}
14003 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14004 ## -------------------- ##
14005 ## M4sh Initialization. ##
14006 ## -------------------- ##
14008 # Be more Bourne compatible
14009 DUALCASE
=1; export DUALCASE
# for MKS sh
14010 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14013 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14014 # is contrary to our usage. Disable this feature.
14015 alias -g '${1+"$@"}'='"$@"'
14016 setopt NO_GLOB_SUBST
14018 case `(set -o) 2>/dev/null` in #(
14030 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14031 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14032 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14033 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14034 # Prefer a ksh shell builtin over an external printf program on Solaris,
14035 # but without wasting forks for bash or zsh.
14036 if test -z "$BASH_VERSION$ZSH_VERSION" \
14037 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14038 as_echo='print
-r --'
14039 as_echo_n='print
-rn --'
14040 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14041 as_echo='printf %s
\n'
14042 as_echo_n='printf %s
'
14044 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14045 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14046 as_echo_n='/usr
/ucb
/echo -n'
14048 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14049 as_echo_n_body='eval
14053 expr "X$arg" : "X\\(.*\\)$as_nl";
14054 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14056 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14058 export as_echo_n_body
14059 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14061 export as_echo_body
14062 as_echo='sh
-c $as_echo_body as_echo
'
14065 # The user is always right.
14066 if test "${PATH_SEPARATOR+set}" != set; then
14068 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14069 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14076 # We need space, tab and new line, in precisely that order. Quoting is
14077 # there to prevent editors from complaining about space-tab.
14078 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14079 # splitting by setting IFS to empty value.)
14082 # Find who we are. Look in the path if we contain no directory separator.
14084 *[\\/]* ) as_myself=$0 ;;
14085 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14086 for as_dir in $PATH
14089 test -z "$as_dir" && as_dir=.
14090 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14096 # We did not find ourselves, most probably we were run as `sh COMMAND'
14097 # in which case we are not to be found in the path.
14098 if test "x$as_myself" = x
; then
14101 if test ! -f "$as_myself"; then
14102 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14106 # Unset variables that we do not need and which cause bugs (e.g. in
14107 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14108 # suppresses any "Segmentation fault" message there. '((' could
14109 # trigger a bug in pdksh 5.2.14.
14110 for as_var
in BASH_ENV ENV MAIL MAILPATH
14111 do eval test x\
${$as_var+set} = xset \
14112 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14125 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14128 # as_fn_error ERROR [LINENO LOG_FD]
14129 # ---------------------------------
14130 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14131 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14132 # script with status $?, using 1 if that was 0.
14135 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14137 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14138 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14140 $as_echo "$as_me: error: $1" >&2
14141 as_fn_exit
$as_status
14145 # as_fn_set_status STATUS
14146 # -----------------------
14147 # Set $? to STATUS, without forking.
14148 as_fn_set_status
()
14151 } # as_fn_set_status
14153 # as_fn_exit STATUS
14154 # -----------------
14155 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14159 as_fn_set_status
$1
14165 # Portably unset VAR.
14168 { eval $1=; unset $1;}
14170 as_unset
=as_fn_unset
14171 # as_fn_append VAR VALUE
14172 # ----------------------
14173 # Append the text in VALUE to the end of the definition contained in VAR. Take
14174 # advantage of any shell optimizations that allow amortized linear growth over
14175 # repeated appends, instead of the typical quadratic growth present in naive
14177 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14178 eval 'as_fn_append ()
14189 # as_fn_arith ARG...
14190 # ------------------
14191 # Perform arithmetic evaluation on the ARGs, and store the result in the
14192 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14193 # must be portable across $(()) and expr.
14194 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14195 eval 'as_fn_arith ()
14202 as_val
=`expr "$@" || test $? -eq 1`
14207 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14208 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14214 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14215 as_basename
=basename
14220 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14226 as_me
=`$as_basename -- "$0" ||
14227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14228 X"$0" : 'X\(//\)$' \| \
14229 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14231 sed '/^.*\/\([^/][^/]*\)\/*$/{
14245 # Avoid depending upon Character Ranges.
14246 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14247 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14248 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14249 as_cr_digits
='0123456789'
14250 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14252 ECHO_C
= ECHO_N
= ECHO_T
=
14253 case `echo -n x` in #(((((
14255 case `echo 'xy\c'` in
14256 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14258 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14265 rm -f conf$$ conf$$.exe conf$$.
file
14266 if test -d conf$$.dir
; then
14267 rm -f conf$$.dir
/conf$$.
file
14270 mkdir conf$$.dir
2>/dev
/null
14272 if (echo >conf$$.
file) 2>/dev
/null
; then
14273 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14275 # ... but there are two gotchas:
14276 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14277 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14278 # In both cases, we have to default to `cp -p'.
14279 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14281 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14289 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14290 rmdir conf$$.dir
2>/dev
/null
14295 # Create "$as_dir" as a directory, including parents if necessary.
14300 -*) as_dir
=.
/$as_dir;;
14302 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14306 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14307 *) as_qdir
=$as_dir;;
14309 as_dirs
="'$as_qdir' $as_dirs"
14310 as_dir
=`$as_dirname -- "$as_dir" ||
14311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14312 X"$as_dir" : 'X\(//\)[^/]' \| \
14313 X"$as_dir" : 'X\(//\)$' \| \
14314 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14315 $as_echo X"$as_dir" |
14316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14320 /^X\(\/\/\)[^/].*/{
14333 test -d "$as_dir" && break
14335 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14336 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14340 if mkdir
-p .
2>/dev
/null
; then
14341 as_mkdir_p
='mkdir -p "$as_dir"'
14343 test -d .
/-p && rmdir .
/-p
14347 if test -x / >/dev
/null
2>&1; then
14348 as_test_x
='test -x'
14350 if ls -dL / >/dev
/null
2>&1; then
14357 if test -d "$1"; then
14363 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14364 ???[sx]*):;;*)false;;esac;fi
14368 as_executable_p
=$as_test_x
14370 # Sed expression to map a string onto a valid CPP name.
14371 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14373 # Sed expression to map a string onto a valid variable name.
14374 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14378 ## ----------------------------------- ##
14379 ## Main body of $CONFIG_STATUS script. ##
14380 ## ----------------------------------- ##
14382 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14385 # Save the log message, to keep $0 and so on meaningful, and to
14386 # report actual input values of CONFIG_FILES etc. instead of their
14387 # values after options handling.
14389 This file was extended by package-unused $as_me version-unused, which was
14390 generated by GNU Autoconf 2.64. Invocation command line was
14392 CONFIG_FILES = $CONFIG_FILES
14393 CONFIG_HEADERS = $CONFIG_HEADERS
14394 CONFIG_LINKS = $CONFIG_LINKS
14395 CONFIG_COMMANDS = $CONFIG_COMMANDS
14398 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14403 case $ac_config_files in *"
14404 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14407 case $ac_config_headers in *"
14408 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14413 # Files that config.status was made for.
14414 config_files="$ac_config_files"
14415 config_headers="$ac_config_headers"
14416 config_commands="$ac_config_commands"
14420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14422 \`$as_me' instantiates files and other configuration actions
14423 from templates according to the current configuration. Unless the files
14424 and actions are specified as TAGs, all are instantiated by default.
14426 Usage: $0 [OPTION]... [TAG]...
14428 -h, --help print this help, then exit
14429 -V, --version print version number and configuration settings, then exit
14430 -q, --quiet, --silent
14431 do not print progress messages
14432 -d, --debug don't remove temporary files
14433 --recheck update $as_me by reconfiguring in the same conditions
14434 --file=FILE[:TEMPLATE]
14435 instantiate the configuration file FILE
14436 --header=FILE[:TEMPLATE]
14437 instantiate the configuration header FILE
14439 Configuration files:
14442 Configuration headers:
14445 Configuration commands:
14448 Report bugs to the package provider."
14451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14453 package-unused config.status version-unused
14454 configured by $0, generated by GNU Autoconf 2.64,
14455 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14457 Copyright (C) 2009 Free Software Foundation, Inc.
14458 This config.status script is free software; the Free Software Foundation
14459 gives unlimited permission to copy, distribute and modify it."
14466 test -n "\$AWK" || AWK=awk
14469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14470 # The default lists apply if the user does not specify any file.
14476 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14477 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14488 # Handling of the options.
14489 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14491 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14492 $as_echo "$ac_cs_version"; exit ;;
14493 --debug |
--debu |
--deb |
--de |
--d |
-d )
14495 --file |
--fil |
--fi |
--f )
14498 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14500 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14501 ac_need_defaults
=false
;;
14502 --header |
--heade |
--head |
--hea )
14505 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14507 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14508 ac_need_defaults
=false
;;
14510 # Conflict between --help and --header
14511 as_fn_error
"ambiguous option: \`$1'
14512 Try \`$0 --help' for more information.";;
14513 --help |
--hel |
-h )
14514 $as_echo "$ac_cs_usage"; exit ;;
14515 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14516 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14519 # This is an error.
14520 -*) as_fn_error
"unrecognized option: \`$1'
14521 Try \`$0 --help' for more information." ;;
14523 *) as_fn_append ac_config_targets
" $1"
14524 ac_need_defaults
=false
;;
14530 ac_configure_extra_args
=
14532 if $ac_cs_silent; then
14534 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14539 if \$ac_cs_recheck; then
14540 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14542 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14543 CONFIG_SHELL='$SHELL'
14544 export CONFIG_SHELL
14549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14553 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14554 ## Running $as_me. ##
14560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14568 with_multisubdir="$with_multisubdir"
14569 with_multisrctop="$with_multisrctop"
14570 with_target_subdir="$with_target_subdir"
14571 ac_configure_args="${multilib_arg} ${ac_configure_args}"
14572 multi_basedir="$multi_basedir"
14573 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
14576 GFORTRAN="$GFORTRAN"
14578 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14581 # The HP-UX ksh and POSIX shell print the target directory to stdout
14582 # if CDPATH is set.
14583 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14585 sed_quote_subst='$sed_quote_subst'
14586 double_quote_subst='$double_quote_subst'
14587 delay_variable_subst='$delay_variable_subst'
14588 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14589 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14590 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14591 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14592 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14593 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14594 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14595 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14596 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14597 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14598 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14599 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14600 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14601 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14602 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14603 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14604 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14605 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14606 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14607 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14608 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14609 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14610 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14611 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14612 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14613 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14614 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14615 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14616 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14617 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14618 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14619 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14620 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14621 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14622 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14636 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"`'
14637 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14638 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14639 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14640 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14641 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14642 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14643 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14644 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14645 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14646 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14647 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14648 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14649 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14650 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14651 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14652 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14653 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14654 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14655 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14656 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14657 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14658 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14659 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14660 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14661 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14662 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14663 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14664 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14665 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14666 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14667 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14668 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14669 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14670 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14671 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14672 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14673 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14674 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14675 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14676 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14677 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14678 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14679 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14680 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14681 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14682 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14683 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14684 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14685 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14686 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14687 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14688 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14689 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14690 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14691 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14692 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14693 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14694 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14695 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14696 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14697 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14698 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14699 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14700 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14701 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14702 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14703 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14704 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14705 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14706 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14707 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14708 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
14709 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
14710 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
14711 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
14712 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
14713 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
14714 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
14715 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
14716 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
14717 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
14718 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
14719 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
14720 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
14721 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
14722 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
14723 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
14724 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
14725 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
14726 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
14727 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
14728 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
14729 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
14730 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
14731 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
14732 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
14733 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
14734 hardcode_libdir_flag_spec_ld_GO='`$ECHO "$hardcode_libdir_flag_spec_ld_GO" | $SED "$delay_single_quote_subst"`'
14735 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
14736 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
14737 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
14738 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
14739 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
14740 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
14741 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
14742 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
14743 fix_srcfile_path_GO='`$ECHO "$fix_srcfile_path_GO" | $SED "$delay_single_quote_subst"`'
14744 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
14745 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
14746 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
14747 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
14748 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
14749 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
14750 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
14753 LTCFLAGS='$LTCFLAGS'
14754 compiler='$compiler_DEFAULT'
14756 # A function that is used when there is no print builtin or printf.
14757 func_fallback_echo ()
14759 eval 'cat <<_LTECHO_EOF
14764 # Quote evaled strings.
14778 deplibs_check_method \
14787 lt_cv_sys_global_symbol_pipe \
14788 lt_cv_sys_global_symbol_to_cdecl \
14789 lt_cv_sys_global_symbol_to_c_name_address \
14790 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14791 lt_prog_compiler_no_builtin_flag \
14792 lt_prog_compiler_wl \
14793 lt_prog_compiler_pic \
14794 lt_prog_compiler_static \
14795 lt_cv_prog_compiler_c_o \
14803 export_dynamic_flag_spec \
14804 whole_archive_flag_spec \
14805 compiler_needs_object \
14807 allow_undefined_flag \
14808 no_undefined_flag \
14809 hardcode_libdir_flag_spec \
14810 hardcode_libdir_flag_spec_ld \
14811 hardcode_libdir_separator \
14816 variables_saved_for_relink \
14818 library_names_spec \
14820 install_override_mode \
14827 lt_prog_compiler_no_builtin_flag_GO \
14828 lt_prog_compiler_wl_GO \
14829 lt_prog_compiler_pic_GO \
14830 lt_prog_compiler_static_GO \
14831 lt_cv_prog_compiler_c_o_GO \
14832 export_dynamic_flag_spec_GO \
14833 whole_archive_flag_spec_GO \
14834 compiler_needs_object_GO \
14836 allow_undefined_flag_GO \
14837 no_undefined_flag_GO \
14838 hardcode_libdir_flag_spec_GO \
14839 hardcode_libdir_flag_spec_ld_GO \
14840 hardcode_libdir_separator_GO \
14841 fix_srcfile_path_GO \
14842 exclude_expsyms_GO \
14843 include_expsyms_GO \
14844 file_list_spec_GO; do
14845 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14846 *[\\\\\\\`\\"\\\$]*)
14847 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14850 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14855 # Double-quote double-evaled strings.
14856 for var in reload_cmds \
14857 old_postinstall_cmds \
14858 old_postuninstall_cmds \
14860 extract_expsyms_cmds \
14861 old_archive_from_new_cmds \
14862 old_archive_from_expsyms_cmds \
14864 archive_expsym_cmds \
14866 module_expsym_cmds \
14867 export_symbols_cmds \
14870 postuninstall_cmds \
14872 sys_lib_search_path_spec \
14873 sys_lib_dlsearch_path_spec \
14875 old_archive_cmds_GO \
14876 old_archive_from_new_cmds_GO \
14877 old_archive_from_expsyms_cmds_GO \
14879 archive_expsym_cmds_GO \
14881 module_expsym_cmds_GO \
14882 export_symbols_cmds_GO \
14883 prelink_cmds_GO; do
14884 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14885 *[\\\\\\\`\\"\\\$]*)
14886 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14889 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14894 ac_aux_dir='$ac_aux_dir'
14895 xsi_shell='$xsi_shell'
14896 lt_shell_append='$lt_shell_append'
14898 # See if we are running on zsh, and set the options which allow our
14899 # commands through without removal of \ escapes INIT.
14900 if test -n "\${ZSH_VERSION+set}" ; then
14901 setopt NO_GLOB_SUBST
14907 TIMESTAMP='$TIMESTAMP'
14916 # Variables needed in config.status (file generation) which aren't already
14917 # passed by autoconf.
14923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14925 # Handling of arguments.
14926 for ac_config_target
in $ac_config_targets
14928 case $ac_config_target in
14929 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14930 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14931 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14932 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14933 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14934 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
14935 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14937 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14942 # If the user did not use the arguments to specify the items to instantiate,
14943 # then the envvar interface is used. Set only those that are not.
14944 # We use the long form for the default assignment because of an extremely
14945 # bizarre bug on SunOS 4.1.3.
14946 if $ac_need_defaults; then
14947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14952 # Have a temporary directory for convenience. Make it in the build tree
14953 # simply because there is no reason against having it here, and in addition,
14954 # creating and moving files from /tmp can sometimes cause problems.
14955 # Hook for its removal unless debugging.
14956 # Note that there is a small window in which the directory will not be cleaned:
14957 # after its creation but before its name has been assigned to `$tmp'.
14961 trap 'exit_status=$?
14962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14964 trap 'as_fn_exit 1' 1 2 13 15
14966 # Create a (secure) tmp directory for tmp files.
14969 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14970 test -n "$tmp" && test -d "$tmp"
14973 tmp
=.
/conf$$
-$RANDOM
14974 (umask 077 && mkdir
"$tmp")
14975 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14977 # Set up the scripts for CONFIG_FILES section.
14978 # No need to generate them if there are no CONFIG_FILES.
14979 # This happens for instance with `./config.status config.h'.
14980 if test -n "$CONFIG_FILES"; then
14983 ac_cr
=`echo X | tr X '\015'`
14984 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14985 # But we know of no other shell where ac_cr would be empty at this
14986 # point, so we can use a bashism as a fallback.
14987 if test "x$ac_cr" = x
; then
14988 eval ac_cr
=\$
\'\\r
\'
14990 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14991 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14994 ac_cs_awk_cr
=$ac_cr
14997 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15002 echo "cat >conf$$subs.awk <<_ACEOF" &&
15003 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15005 } >conf$$subs.sh ||
15006 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15007 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15009 for ac_last_try in false false false false false :; do
15010 . ./conf$$subs.sh ||
15011 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15013 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15014 if test $ac_delim_n = $ac_delim_num; then
15016 elif $ac_last_try; then
15017 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15019 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15022 rm -f conf$$subs.sh
15024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15025 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15029 s/^/S["/; s
/!.
*/"]=/
15039 s/\(.\{148\}\).*/\1/
15041 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15046 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15053 s/\(.\{148\}\).*/\1/
15055 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15059 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15064 ' <conf$$subs.awk | sed '
15069 ' >>$CONFIG_STATUS || ac_write_fail=1
15070 rm -f conf$$subs.awk
15071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15073 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15074 for (key in S) S_is_set[key] = 1
15080 nfields = split(line, field, "@
")
15082 len = length(field[1])
15083 for (i = 2; i < nfields; i++) {
15085 keylen = length(key)
15086 if (S_is_set[key]) {
15088 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15089 len += length(value) + length(field[++i])
15100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15101 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15102 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15105 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15106 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15109 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15110 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15111 # trailing colons and then remove the whole line if VPATH becomes empty
15112 # (actually we leave an empty line to preserve line numbers).
15113 if test "x
$srcdir" = x.; then
15114 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15115 s/:*\$(srcdir):*/:/
15116 s/:*\${srcdir}:*/:/
15118 s/^\([^=]*=[ ]*\):*/\1/
15124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15125 fi # test -n "$CONFIG_FILES"
15127 # Set up the scripts for CONFIG_HEADERS section.
15128 # No need to generate them if there are no CONFIG_HEADERS.
15129 # This happens for instance with `./config.status Makefile'.
15130 if test -n "$CONFIG_HEADERS"; then
15131 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15135 # Transform confdefs.h into an awk script `defines.awk', embedded as
15136 # here-document in config.status, that substitutes the proper values into
15137 # config.h.in to produce config.h.
15139 # Create a delimiter string that does not exist in confdefs.h, to ease
15140 # handling of long lines.
15142 for ac_last_try in false false :; do
15143 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15144 if test -z "$ac_t"; then
15146 elif $ac_last_try; then
15147 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15149 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15153 # For the awk script, D is an array of macro values keyed by name,
15154 # likewise P contains macro parameters if any. Preserve backslash
15155 # newline sequences.
15157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15159 s/.\{148\}/&'"$ac_delim"'/g
15162 s/^[ ]*#[ ]*define[ ][ ]*/ /
15169 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15171 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15176 D["\
1"]=" \
3\\\\\\n
"\\/p
15178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15183 s/.\{148\}/&'"$ac_delim"'/g
15188 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15191 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15193 ' <confdefs.h | sed '
15194 s/'"$ac_delim"'/"\\\
15195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15198 for (key in D) D_is_set[key] = 1
15201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15203 split(line, arg, " ")
15204 if (arg[1] == "#") {
15208 defundef
= substr
(arg
[1], 2)
15211 split(mac1
, mac2
, "(") #)
15213 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15214 if (D_is_set
[macro
]) {
15215 # Preserve the white space surrounding the "#".
15216 print prefix
"define", macro P
[macro
] D
[macro
]
15219 # Replace #undef with comments. This is necessary, for example,
15220 # in the case of _POSIX_SOURCE, which is predefined and required
15221 # on some systems where configure will not decide to define it.
15222 if (defundef
== "undef") {
15223 print
"/*", prefix defundef
, macro
, "*/"
15231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15232 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15233 fi # test -n "$CONFIG_HEADERS"
15236 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15241 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15243 case $ac_mode$ac_tag in
15245 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15246 :[FH
]-) ac_tag
=-:-;;
15247 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15264 -) ac_f
="$tmp/stdin";;
15265 *) # Look for the file first in the build tree, then in the source tree
15266 # (if the path is not absolute). The absolute path cannot be DOS-style,
15267 # because $ac_f cannot contain `:'.
15271 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15273 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15275 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15276 as_fn_append ac_file_inputs
" '$ac_f'"
15279 # Let's still pretend it is `configure' which instantiates (i.e., don't
15280 # use $as_me), people would be surprised to read:
15281 # /* config.h. Generated by config.status. */
15282 configure_input
='Generated from '`
15283 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15285 if test x
"$ac_file" != x-
; then
15286 configure_input
="$ac_file. $configure_input"
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15288 $as_echo "$as_me: creating $ac_file" >&6;}
15290 # Neutralize special characters interpreted by sed in replacement strings.
15291 case $configure_input in #(
15292 *\
&* |
*\|
* |
*\\* )
15293 ac_sed_conf_input
=`$as_echo "$configure_input" |
15294 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15295 *) ac_sed_conf_input
=$configure_input;;
15299 *:-:* |
*:-) cat >"$tmp/stdin" \
15300 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15305 ac_dir
=`$as_dirname -- "$ac_file" ||
15306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15307 X"$ac_file" : 'X\(//\)[^/]' \| \
15308 X"$ac_file" : 'X\(//\)$' \| \
15309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15310 $as_echo X"$ac_file" |
15311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15315 /^X\(\/\/\)[^/].*/{
15328 as_dir
="$ac_dir"; as_fn_mkdir_p
15332 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15334 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15335 # A ".." for each directory in $ac_dir_suffix.
15336 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15337 case $ac_top_builddir_sub in
15338 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15339 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15342 ac_abs_top_builddir
=$ac_pwd
15343 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15344 # for backward compatibility:
15345 ac_top_builddir
=$ac_top_build_prefix
15348 .
) # We are building in place.
15350 ac_top_srcdir
=$ac_top_builddir_sub
15351 ac_abs_top_srcdir
=$ac_pwd ;;
15352 [\\/]* | ?
:[\\/]* ) # Absolute name.
15353 ac_srcdir
=$srcdir$ac_dir_suffix;
15354 ac_top_srcdir
=$srcdir
15355 ac_abs_top_srcdir
=$srcdir ;;
15356 *) # Relative name.
15357 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15358 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15359 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15361 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15371 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15372 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15374 ac_MKDIR_P
=$MKDIR_P
15376 [\\/$
]* | ?
:[\\/]* ) ;;
15377 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15382 # If the template does not know about datarootdir, expand it.
15383 # FIXME: This hack should be removed a few years after 2.60.
15384 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15395 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15396 *datarootdir
*) ac_datarootdir_seen
=yes;;
15397 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15399 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15402 ac_datarootdir_hack='
15403 s&@datadir@&$datadir&g
15404 s&@docdir@&$docdir&g
15405 s&@infodir@&$infodir&g
15406 s&@localedir@&$localedir&g
15407 s&@mandir@&$mandir&g
15408 s&\\\${datarootdir}&$datarootdir&g' ;;
15412 # Neutralize VPATH when `$srcdir' = `.'.
15413 # Shell code in configure.ac might set extrasub.
15414 # FIXME: do we really want to maintain this feature?
15415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15416 ac_sed_extra="$ac_vpsub
15419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15421 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15422 s|@configure_input@|
$ac_sed_conf_input|
;t t
15423 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15424 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15425 s
&@srcdir@
&$ac_srcdir&;t t
15426 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15427 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15428 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15429 s
&@builddir@
&$ac_builddir&;t t
15430 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15431 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15432 s
&@INSTALL@
&$ac_INSTALL&;t t
15433 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15434 $ac_datarootdir_hack
15436 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15437 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15439 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15440 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15441 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15443 which seems to be undefined. Please make sure it is defined." >&5
15444 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15445 which seems to be undefined. Please make sure it is defined." >&2;}
15449 -) cat "$tmp/out" && rm -f "$tmp/out";;
15450 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15452 || as_fn_error "could not create $ac_file" "$LINENO" 5
15458 if test x"$ac_file" != x-; then
15460 $as_echo "/* $configure_input */" \
15461 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15462 } >"$tmp/config.h" \
15463 || as_fn_error "could not create $ac_file" "$LINENO" 5
15464 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15466 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15469 mv "$tmp/config.h" "$ac_file" \
15470 || as_fn_error "could not create $ac_file" "$LINENO" 5
15473 $as_echo "/* $configure_input */" \
15474 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15475 || as_fn_error "could not create -" "$LINENO" 5
15477 # Compute "$ac_file"'s index
in $config_headers.
15480 for _am_header
in $config_headers :; do
15481 case $_am_header in
15482 $_am_arg |
$_am_arg:* )
15485 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15488 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15489 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15490 X"$_am_arg" : 'X\(//\)[^/]' \| \
15491 X"$_am_arg" : 'X\(//\)$' \| \
15492 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15493 $as_echo X"$_am_arg" |
15494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15498 /^X\(\/\/\)[^/].*/{
15510 s/.*/./; q'`/stamp-h
$_am_stamp_count
15513 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15514 $as_echo "$as_me: executing $ac_file commands" >&6;}
15519 case $ac_file$ac_mode in
15521 # Only add multilib support code if we just rebuilt the top-level
15523 case " $CONFIG_FILES " in
15525 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15528 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
15529 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15530 # are listed without --file. Let's play safe and only enable the eval
15531 # if we detect the quoting.
15532 case $CONFIG_FILES in
15533 *\'*) eval set x
"$CONFIG_FILES" ;;
15534 *) set x
$CONFIG_FILES ;;
15539 # Strip MF so we end up with the name of the file.
15540 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15541 # Check whether this is an Automake generated Makefile or not.
15542 # We used to match only the files named `Makefile.in', but
15543 # some people rename them; so instead we look at the file content.
15544 # Grep'ing the first line is not enough: some people post-process
15545 # each Makefile.in and add a new line on top of each file to say so.
15546 # Grep'ing the whole file is not good either: AIX grep has a line
15547 # limit of 2048, but all sed's we know have understand at least 4000.
15548 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
15549 dirpart
=`$as_dirname -- "$mf" ||
15550 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15551 X"$mf" : 'X\(//\)[^/]' \| \
15552 X"$mf" : 'X\(//\)$' \| \
15553 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15559 /^X\(\/\/\)[^/].*/{
15575 # Extract the definition of DEPDIR, am__include, and am__quote
15576 # from the Makefile without running `make'.
15577 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15578 test -z "$DEPDIR" && continue
15579 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15580 test -z "am__include" && continue
15581 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15582 # When using ansi2knr, U may be empty or an underscore; expand it
15583 U
=`sed -n 's/^U = //p' < "$mf"`
15584 # Find all dependency output files, they are included files with
15585 # $(DEPDIR) in their names. We invoke sed twice because it is the
15586 # simplest approach to changing $(DEPDIR) to its actual value in the
15588 for file in `sed -n "
15589 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15590 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15591 # Make sure the directory exists.
15592 test -f "$dirpart/$file" && continue
15593 fdir
=`$as_dirname -- "$file" ||
15594 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15595 X"$file" : 'X\(//\)[^/]' \| \
15596 X"$file" : 'X\(//\)$' \| \
15597 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15598 $as_echo X"$file" |
15599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15603 /^X\(\/\/\)[^/].*/{
15616 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15617 # echo "creating $dirpart/$file"
15618 echo '# dummy' > "$dirpart/$file"
15625 # See if we are running on zsh, and set the options which allow our
15626 # commands through without removal of \ escapes.
15627 if test -n "${ZSH_VERSION+set}" ; then
15628 setopt NO_GLOB_SUBST
15631 cfgfile
="${ofile}T"
15632 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15635 cat <<_LT_EOF >> "$cfgfile"
15638 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15639 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15640 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15641 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15643 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15644 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
15645 # Written by Gordon Matzigkeit, 1996
15647 # This file is part of GNU Libtool.
15649 # GNU Libtool is free software; you can redistribute it and/or
15650 # modify it under the terms of the GNU General Public License as
15651 # published by the Free Software Foundation; either version 2 of
15652 # the License, or (at your option) any later version.
15654 # As a special exception to the GNU General Public License,
15655 # if you distribute this file as part of a program or library that
15656 # is built using GNU Libtool, you may include this file under the
15657 # same distribution terms that you use for the rest of that program.
15659 # GNU Libtool is distributed in the hope that it will be useful,
15660 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15661 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15662 # GNU General Public License for more details.
15664 # You should have received a copy of the GNU General Public License
15665 # along with GNU Libtool; see the file COPYING. If not, a copy
15666 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15667 # obtained by writing to the Free Software Foundation, Inc.,
15668 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15671 # The names of the tagged configurations supported by this script.
15672 available_tags="GO "
15674 # ### BEGIN LIBTOOL CONFIG
15676 # A sed program that does not truncate output.
15679 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15680 Xsed="\$SED -e 1s/^X//"
15682 # A grep program that handles long lines.
15688 # A literal string matcher.
15691 # Shell to use when invoking shell scripts.
15694 # An echo program that protects backslashes.
15697 # Which release of libtool.m4 was used?
15698 macro_version=$macro_version
15699 macro_revision=$macro_revision
15701 # Whether or not to build shared libraries.
15702 build_libtool_libs=$enable_shared
15704 # Whether or not to build static libraries.
15705 build_old_libs=$enable_static
15707 # What type of objects to build.
15710 # Whether or not to optimize for fast installation.
15711 fast_install=$enable_fast_install
15714 host_alias=$host_alias
15718 # The build system.
15719 build_alias=$build_alias
15723 # A BSD- or MS-compatible name lister.
15726 # Whether we need soft or hard links.
15729 # What is the maximum length of a command?
15730 max_cmd_len=$max_cmd_len
15732 # Object file suffix (normally "o").
15735 # Executable file suffix (normally "").
15738 # whether the shell understands "unset".
15741 # turn spaces into newlines.
15744 # turn newlines into spaces.
15747 # An object symbol dumper.
15748 OBJDUMP=$lt_OBJDUMP
15750 # Method to check whether dependent libraries are shared objects.
15751 deplibs_check_method=$lt_deplibs_check_method
15753 # Command to use when deplibs_check_method == "file_magic".
15754 file_magic_cmd=$lt_file_magic_cmd
15758 AR_FLAGS=$lt_AR_FLAGS
15760 # A symbol stripping program.
15763 # Commands used to install an old-style archive.
15765 old_postinstall_cmds=$lt_old_postinstall_cmds
15766 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15768 # Whether to use a lock for old archive extraction.
15769 lock_old_archive_extraction=$lock_old_archive_extraction
15774 # LTCC compiler flags.
15775 LTCFLAGS=$lt_CFLAGS
15777 # Take the output of nm and produce a listing of raw symbols and C names.
15778 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15780 # Transform the output of nm in a proper C declaration.
15781 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15783 # Transform the output of nm in a C name address pair.
15784 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15786 # Transform the output of nm in a C name address pair when lib prefix is needed.
15787 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15789 # The name of the directory that contains temporary libtool files.
15792 # Used to examine libraries when file_magic_cmd begins with "file".
15793 MAGIC_CMD=$MAGIC_CMD
15795 # Must we lock files when doing compilation?
15796 need_locks=$lt_need_locks
15798 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15799 DSYMUTIL=$lt_DSYMUTIL
15801 # Tool to change global to local symbols on Mac OS X.
15804 # Tool to manipulate fat objects and archives on Mac OS X.
15807 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15810 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15811 OTOOL64=$lt_OTOOL64
15813 # Old archive suffix (normally "a").
15816 # Shared library suffix (normally ".so").
15817 shrext_cmds=$lt_shrext_cmds
15819 # The commands to extract the exported symbol list from a shared archive.
15820 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15822 # Variables whose values should be saved in libtool wrapper scripts and
15823 # restored at link time.
15824 variables_saved_for_relink=$lt_variables_saved_for_relink
15826 # Do we need the "lib" prefix for modules?
15827 need_lib_prefix=$need_lib_prefix
15829 # Do we need a version for libraries?
15830 need_version=$need_version
15832 # Library versioning type.
15833 version_type=$version_type
15835 # Shared library runtime path variable.
15836 runpath_var=$runpath_var
15838 # Shared library path variable.
15839 shlibpath_var=$shlibpath_var
15841 # Is shlibpath searched before the hard-coded library search path?
15842 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15844 # Format of library name prefix.
15845 libname_spec=$lt_libname_spec
15847 # List of archive names. First name is the real one, the rest are links.
15848 # The last name is the one that the linker finds with -lNAME
15849 library_names_spec=$lt_library_names_spec
15851 # The coded name of the library, if different from the real name.
15852 soname_spec=$lt_soname_spec
15854 # Permission mode override for installation of shared libraries.
15855 install_override_mode=$lt_install_override_mode
15857 # Command to use after installation of a shared archive.
15858 postinstall_cmds=$lt_postinstall_cmds
15860 # Command to use after uninstallation of a shared archive.
15861 postuninstall_cmds=$lt_postuninstall_cmds
15863 # Commands used to finish a libtool library installation in a directory.
15864 finish_cmds=$lt_finish_cmds
15866 # As "finish_cmds", except a single script fragment to be evaled but
15868 finish_eval=$lt_finish_eval
15870 # Whether we should hardcode library paths into libraries.
15871 hardcode_into_libs=$hardcode_into_libs
15873 # Compile-time system search path for libraries.
15874 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15876 # Run-time system search path for libraries.
15877 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15879 # Whether dlopen is supported.
15880 dlopen_support=$enable_dlopen
15882 # Whether dlopen of programs is supported.
15883 dlopen_self=$enable_dlopen_self
15885 # Whether dlopen of statically linked programs is supported.
15886 dlopen_self_static=$enable_dlopen_self_static
15888 # Commands to strip libraries.
15889 old_striplib=$lt_old_striplib
15890 striplib=$lt_striplib
15893 # The linker used to build libraries.
15896 # How to create reloadable object files.
15897 reload_flag=$lt_reload_flag
15898 reload_cmds=$lt_reload_cmds
15900 # Commands used to build an old-style archive.
15901 old_archive_cmds=$lt_old_archive_cmds
15903 # A language specific compiler.
15906 # Is the compiler the GNU compiler?
15909 # Compiler flag to turn off builtin functions.
15910 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15912 # How to pass a linker flag through the compiler.
15913 wl=$lt_lt_prog_compiler_wl
15915 # Additional compiler flags for building library objects.
15916 pic_flag=$lt_lt_prog_compiler_pic
15918 # Compiler flag to prevent dynamic linking.
15919 link_static_flag=$lt_lt_prog_compiler_static
15921 # Does compiler simultaneously support -c and -o options?
15922 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15924 # Whether or not to add -lc for building shared libraries.
15925 build_libtool_need_lc=$archive_cmds_need_lc
15927 # Whether or not to disallow shared libs when runtime libs are static.
15928 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15930 # Compiler flag to allow reflexive dlopens.
15931 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15933 # Compiler flag to generate shared objects directly from archives.
15934 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15936 # Whether the compiler copes with passing no objects directly.
15937 compiler_needs_object=$lt_compiler_needs_object
15939 # Create an old-style archive from a shared archive.
15940 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15942 # Create a temporary old-style archive to link instead of a shared archive.
15943 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15945 # Commands used to build a shared archive.
15946 archive_cmds=$lt_archive_cmds
15947 archive_expsym_cmds=$lt_archive_expsym_cmds
15949 # Commands used to build a loadable module if different from building
15950 # a shared archive.
15951 module_cmds=$lt_module_cmds
15952 module_expsym_cmds=$lt_module_expsym_cmds
15954 # Whether we are building with GNU ld or not.
15955 with_gnu_ld=$lt_with_gnu_ld
15957 # Flag that allows shared libraries with undefined symbols to be built.
15958 allow_undefined_flag=$lt_allow_undefined_flag
15960 # Flag that enforces no undefined symbols.
15961 no_undefined_flag=$lt_no_undefined_flag
15963 # Flag to hardcode \$libdir into a binary during linking.
15964 # This must work even if \$libdir does not exist
15965 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15967 # If ld is used when linking, flag to hardcode \$libdir into a binary
15968 # during linking. This must work even if \$libdir does not exist.
15969 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15971 # Whether we need a single "-rpath" flag with a separated argument.
15972 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15974 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15975 # DIR into the resulting binary.
15976 hardcode_direct=$hardcode_direct
15978 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15979 # DIR into the resulting binary and the resulting library dependency is
15980 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15981 # library is relocated.
15982 hardcode_direct_absolute=$hardcode_direct_absolute
15984 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15985 # into the resulting binary.
15986 hardcode_minus_L=$hardcode_minus_L
15988 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15989 # into the resulting binary.
15990 hardcode_shlibpath_var=$hardcode_shlibpath_var
15992 # Set to "yes" if building a shared library automatically hardcodes DIR
15993 # into the library and all subsequent libraries and executables linked
15995 hardcode_automatic=$hardcode_automatic
15997 # Set to yes if linker adds runtime paths of dependent libraries
15998 # to runtime path list.
15999 inherit_rpath=$inherit_rpath
16001 # Whether libtool must link a program against all its dependency libraries.
16002 link_all_deplibs=$link_all_deplibs
16004 # Fix the shell variable \$srcfile for the compiler.
16005 fix_srcfile_path=$lt_fix_srcfile_path
16007 # Set to "yes" if exported symbols are required.
16008 always_export_symbols=$always_export_symbols
16010 # The commands to list exported symbols.
16011 export_symbols_cmds=$lt_export_symbols_cmds
16013 # Symbols that should not be listed in the preloaded symbols.
16014 exclude_expsyms=$lt_exclude_expsyms
16016 # Symbols that must always be exported.
16017 include_expsyms=$lt_include_expsyms
16019 # Commands necessary for linking programs (against libraries) with templates.
16020 prelink_cmds=$lt_prelink_cmds
16022 # Specify filename containing input files.
16023 file_list_spec=$lt_file_list_spec
16025 # How to hardcode a shared library path into an executable.
16026 hardcode_action=$hardcode_action
16028 # ### END LIBTOOL CONFIG
16034 cat <<\_LT_EOF
>> "$cfgfile"
16035 # AIX sometimes has problems with the GCC collect2 program. For some
16036 # reason, if we set the COLLECT_NAMES environment variable, the problems
16037 # vanish in a puff of smoke.
16038 if test "X${COLLECT_NAMES+set}" != Xset
; then
16040 export COLLECT_NAMES
16047 ltmain
="$ac_aux_dir/ltmain.sh"
16050 # We use sed instead of cat because bash on DJGPP gets confused if
16051 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16052 # text mode, it properly converts lines to CR/LF. This bash problem
16053 # is reportedly fixed, but why not run on old versions too?
16054 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16055 ||
(rm -f "$cfgfile"; exit 1)
16059 cat << \_LT_EOF
>> "$cfgfile"
16061 # func_dirname file append nondir_replacement
16062 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16063 # otherwise set result to NONDIR_REPLACEMENT.
16067 */*) func_dirname_result
="${1%/*}${2}" ;;
16068 * ) func_dirname_result
="${3}" ;;
16072 # func_basename file
16075 func_basename_result
="${1##*/}"
16078 # func_dirname_and_basename file append nondir_replacement
16079 # perform func_basename and func_dirname in a single function
16081 # dirname: Compute the dirname of FILE. If nonempty,
16082 # add APPEND to the result, otherwise set result
16083 # to NONDIR_REPLACEMENT.
16084 # value returned in "$func_dirname_result"
16085 # basename: Compute filename of FILE.
16086 # value retuned in "$func_basename_result"
16087 # Implementation must be kept synchronized with func_dirname
16088 # and func_basename. For efficiency, we do not delegate to
16089 # those functions but instead duplicate the functionality here.
16090 func_dirname_and_basename
()
16093 */*) func_dirname_result
="${1%/*}${2}" ;;
16094 * ) func_dirname_result
="${3}" ;;
16096 func_basename_result
="${1##*/}"
16099 # func_stripname prefix suffix name
16100 # strip PREFIX and SUFFIX off of NAME.
16101 # PREFIX and SUFFIX must not contain globbing or regex special
16102 # characters, hashes, percent signs, but SUFFIX may contain a leading
16103 # dot (in which case that matches only a dot).
16106 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16107 # positional parameters, so assign one to ordinary parameter first.
16108 func_stripname_result
=${3}
16109 func_stripname_result
=${func_stripname_result#"${1}"}
16110 func_stripname_result
=${func_stripname_result%"${2}"}
16116 func_opt_split_opt
=${1%%=*}
16117 func_opt_split_arg
=${1#*=}
16124 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16125 *) func_lo2o_result
=${1} ;;
16129 # func_xform libobj-or-source
16132 func_xform_result
=${1%.*}.lo
16135 # func_arith arithmetic-term...
16138 func_arith_result
=$
(( $
* ))
16142 # STRING may not start with a hyphen.
16145 func_len_result
=${#1}
16150 *) # Bourne compatible functions.
16151 cat << \_LT_EOF
>> "$cfgfile"
16153 # func_dirname file append nondir_replacement
16154 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16155 # otherwise set result to NONDIR_REPLACEMENT.
16158 # Extract subdirectory from the argument.
16159 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16160 if test "X$func_dirname_result" = "X${1}"; then
16161 func_dirname_result
="${3}"
16163 func_dirname_result
="$func_dirname_result${2}"
16167 # func_basename file
16170 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16174 # func_stripname prefix suffix name
16175 # strip PREFIX and SUFFIX off of NAME.
16176 # PREFIX and SUFFIX must not contain globbing or regex special
16177 # characters, hashes, percent signs, but SUFFIX may contain a leading
16178 # dot (in which case that matches only a dot).
16179 # func_strip_suffix prefix name
16183 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16184 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16189 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16190 my_sed_long_arg
='1s/^-[^=]*=//'
16195 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16196 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16202 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16205 # func_xform libobj-or-source
16208 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16211 # func_arith arithmetic-term...
16214 func_arith_result
=`expr "$@"`
16218 # STRING may not start with a hyphen.
16221 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16227 case $lt_shell_append in
16229 cat << \_LT_EOF
>> "$cfgfile"
16231 # func_append var value
16232 # Append VALUE to the end of shell variable VAR.
16240 cat << \_LT_EOF
>> "$cfgfile"
16242 # func_append var value
16243 # Append VALUE to the end of shell variable VAR.
16254 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16255 ||
(rm -f "$cfgfile"; exit 1)
16257 mv -f "$cfgfile" "$ofile" ||
16258 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16262 cat <<_LT_EOF >> "$ofile"
16264 # ### BEGIN LIBTOOL TAG CONFIG: GO
16266 # The linker used to build libraries.
16269 # How to create reloadable object files.
16270 reload_flag=$lt_reload_flag_GO
16271 reload_cmds=$lt_reload_cmds_GO
16273 # Commands used to build an old-style archive.
16274 old_archive_cmds=$lt_old_archive_cmds_GO
16276 # A language specific compiler.
16279 # Is the compiler the GNU compiler?
16282 # Compiler flag to turn off builtin functions.
16283 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
16285 # How to pass a linker flag through the compiler.
16286 wl=$lt_lt_prog_compiler_wl_GO
16288 # Additional compiler flags for building library objects.
16289 pic_flag=$lt_lt_prog_compiler_pic_GO
16291 # Compiler flag to prevent dynamic linking.
16292 link_static_flag=$lt_lt_prog_compiler_static_GO
16294 # Does compiler simultaneously support -c and -o options?
16295 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
16297 # Whether or not to add -lc for building shared libraries.
16298 build_libtool_need_lc=$archive_cmds_need_lc_GO
16300 # Whether or not to disallow shared libs when runtime libs are static.
16301 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
16303 # Compiler flag to allow reflexive dlopens.
16304 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
16306 # Compiler flag to generate shared objects directly from archives.
16307 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
16309 # Whether the compiler copes with passing no objects directly.
16310 compiler_needs_object=$lt_compiler_needs_object_GO
16312 # Create an old-style archive from a shared archive.
16313 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
16315 # Create a temporary old-style archive to link instead of a shared archive.
16316 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
16318 # Commands used to build a shared archive.
16319 archive_cmds=$lt_archive_cmds_GO
16320 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
16322 # Commands used to build a loadable module if different from building
16323 # a shared archive.
16324 module_cmds=$lt_module_cmds_GO
16325 module_expsym_cmds=$lt_module_expsym_cmds_GO
16327 # Whether we are building with GNU ld or not.
16328 with_gnu_ld=$lt_with_gnu_ld_GO
16330 # Flag that allows shared libraries with undefined symbols to be built.
16331 allow_undefined_flag=$lt_allow_undefined_flag_GO
16333 # Flag that enforces no undefined symbols.
16334 no_undefined_flag=$lt_no_undefined_flag_GO
16336 # Flag to hardcode \$libdir into a binary during linking.
16337 # This must work even if \$libdir does not exist
16338 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
16340 # If ld is used when linking, flag to hardcode \$libdir into a binary
16341 # during linking. This must work even if \$libdir does not exist.
16342 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GO
16344 # Whether we need a single "-rpath" flag with a separated argument.
16345 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
16347 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16348 # DIR into the resulting binary.
16349 hardcode_direct=$hardcode_direct_GO
16351 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16352 # DIR into the resulting binary and the resulting library dependency is
16353 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16354 # library is relocated.
16355 hardcode_direct_absolute=$hardcode_direct_absolute_GO
16357 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16358 # into the resulting binary.
16359 hardcode_minus_L=$hardcode_minus_L_GO
16361 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16362 # into the resulting binary.
16363 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
16365 # Set to "yes" if building a shared library automatically hardcodes DIR
16366 # into the library and all subsequent libraries and executables linked
16368 hardcode_automatic=$hardcode_automatic_GO
16370 # Set to yes if linker adds runtime paths of dependent libraries
16371 # to runtime path list.
16372 inherit_rpath=$inherit_rpath_GO
16374 # Whether libtool must link a program against all its dependency libraries.
16375 link_all_deplibs=$link_all_deplibs_GO
16377 # Fix the shell variable \$srcfile for the compiler.
16378 fix_srcfile_path=$lt_fix_srcfile_path_GO
16380 # Set to "yes" if exported symbols are required.
16381 always_export_symbols=$always_export_symbols_GO
16383 # The commands to list exported symbols.
16384 export_symbols_cmds=$lt_export_symbols_cmds_GO
16386 # Symbols that should not be listed in the preloaded symbols.
16387 exclude_expsyms=$lt_exclude_expsyms_GO
16389 # Symbols that must always be exported.
16390 include_expsyms=$lt_include_expsyms_GO
16392 # Commands necessary for linking programs (against libraries) with templates.
16393 prelink_cmds=$lt_prelink_cmds_GO
16395 # Specify filename containing input files.
16396 file_list_spec=$lt_file_list_spec_GO
16398 # How to hardcode a shared library path into an executable.
16399 hardcode_action=$hardcode_action_GO
16401 # ### END LIBTOOL TAG CONFIG: GO
16405 "default":C
) if test -n "$CONFIG_FILES"; then
16406 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
16407 # that multilib installs will end up installed in the correct place.
16408 # The testsuite needs it for multilib-aware ABI baseline files.
16409 # To work around this not being passed down from config-ml.in ->
16410 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
16411 # append it here. Only modify Makefiles that have just been created.
16413 # Also, get rid of this simulated-VPATH thing that automake does.
16414 cat > vpsed
<< \_EOF
16415 s
!`test -f '$<' || echo '$(srcdir)/'`!!
16417 for i
in $SUBDIRS; do
16418 case $CONFIG_FILES in
16420 #echo "Adding MULTISUBDIR to $i/Makefile"
16421 sed -f vpsed
$i/Makefile
> tmp
16422 grep '^MULTISUBDIR =' Makefile
>> tmp
16437 ac_clean_files
=$ac_clean_files_save
16439 test $ac_write_fail = 0 ||
16440 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16443 # configure is writing to config.log, and then calls config.status.
16444 # config.status does its own redirection, appending to config.log.
16445 # Unfortunately, on DOS this fails, as config.log is still kept open
16446 # by configure, so config.status won't be able to write to it; its
16447 # output is simply discarded. So we exec the FD to /dev/null,
16448 # effectively closing config.log, so it can be properly (re)opened and
16449 # appended to by config.status. When coming back to configure, we
16450 # need to make the FD available again.
16451 if test "$no_create" != yes; then
16453 ac_config_status_args
=
16454 test "$silent" = yes &&
16455 ac_config_status_args
="$ac_config_status_args --quiet"
16457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16460 # would make configure fail if this is the last instruction.
16461 $ac_cs_success || as_fn_exit $?
16463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}