1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
22
23
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
24
25
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
25
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
26
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
27
28
# Written by Gordon Matzigkeit, 1996
29
30
# This file is free software; the Free Software Foundation gives
33
34
m4_define([_LT_COPYING], [dnl
34
35
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
36
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
37
38
# Written by Gordon Matzigkeit, 1996
39
40
# This file is part of GNU Libtool.
167
168
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
168
169
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
171
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
170
173
_LT_DECL([], [host_alias], [0], [The host system])dnl
171
174
_LT_DECL([], [host], [0])dnl
172
175
_LT_DECL([], [host_os], [0])dnl
652
655
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
653
656
configured by $[0], generated by m4_PACKAGE_STRING.
655
Copyright (C) 2010 Free Software Foundation, Inc.
658
Copyright (C) 2011 Free Software Foundation, Inc.
656
659
This config.lt script is free software; the Free Software Foundation
657
660
gives unlimited permision to copy, distribute and modify it."
844
m4_ifndef([AC_PROG_GO], [
845
# NOTE: This macro has been submitted for inclusion into #
846
# GNU Autoconf as AC_PROG_GO. When it is available in #
847
# a released version of Autoconf we should remove this #
848
# macro and use it instead. #
849
m4_defun([AC_PROG_GO],
851
AC_ARG_VAR([GOC], [Go compiler command])dnl
852
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
853
_AC_ARG_VAR_LDFLAGS()dnl
854
AC_CHECK_TOOL(GOC, gccgo)
855
if test -z "$GOC"; then
856
if test -n "$ac_tool_prefix"; then
857
AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
860
if test -z "$GOC"; then
861
AC_CHECK_PROG(GOC, gccgo, gccgo, false)
840
867
# _LT_LANG_DEFAULT_CONFIG
841
868
# -----------------------
842
869
m4_defun([_LT_LANG_DEFAULT_CONFIG],
867
894
m4_ifdef([LT_PROG_GCJ],
868
895
[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
897
AC_PROVIDE_IFELSE([AC_PROG_GO],
899
[m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
870
901
AC_PROVIDE_IFELSE([LT_PROG_RC],
872
903
[m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
969
1000
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
970
1001
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
972
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1003
# If there is a non-empty error log, and "single_module"
1004
# appears in it, assume the flag caused a linker warning
1005
if test -s conftest.err && $GREP single_module conftest.err; then
1006
cat conftest.err >&AS_MESSAGE_LOG_FD
1007
# Otherwise, if the output was created with a 0 exit code from
1008
# the compiler, it worked.
1009
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
973
1010
lt_cv_apple_cc_single_mod=yes
975
1012
cat conftest.err >&AS_MESSAGE_LOG_FD
977
1014
rm -rf libconftest.dylib*
978
1015
rm -f conftest.*
980
1018
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
981
1019
[lt_cv_ld_exported_symbols_list],
982
1020
[lt_cv_ld_exported_symbols_list=no
1005
1044
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1006
1045
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1008
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1047
if test -s conftest.err && $GREP force_load conftest.err; then
1048
cat conftest.err >&AS_MESSAGE_LOG_FD
1049
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1009
1050
lt_cv_ld_force_load=yes
1011
1052
cat conftest.err >&AS_MESSAGE_LOG_FD
1053
# _LT_DARWIN_LINKER_FEATURES
1054
# --------------------------
1094
# _LT_DARWIN_LINKER_FEATURES([TAG])
1095
# ---------------------------------
1055
1096
# Checks for linker and compiler features on darwin
1056
1097
m4_defun([_LT_DARWIN_LINKER_FEATURES],
1062
1103
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1063
1104
if test "$lt_cv_ld_force_load" = "yes"; then
1064
1105
_LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1106
m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1107
[FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1066
1109
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
1345
1388
CFLAGS="$SAVE_CFLAGS"
1349
1392
# Find out which ABI we are using.
1350
1393
echo 'int i;' > conftest.$ac_ext
1351
1394
if AC_TRY_EVAL(ac_compile); then
1352
1395
case `/usr/bin/file conftest.o` in
1354
1397
case $lt_cv_prog_gnu_ld in
1355
yes*) LD="${LD-ld} -m elf64_sparc" ;;
1401
LD="${LD-ld} -m elf_x86_64"
1404
LD="${LD-ld} -m elf64_sparc"
1407
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1408
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1357
1413
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1358
1414
LD="${LD-ld} -64"
1429
1485
if test -n "$RANLIB"; then
1430
1486
case $host_os in
1432
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1488
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1435
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1491
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1438
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1494
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1441
1497
case $host_os in
1615
1671
lt_cv_sys_max_cmd_len=196608
1675
# The test takes a long time on OS/2.
1676
lt_cv_sys_max_cmd_len=8192
1619
1680
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1620
1681
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1654
1715
# If test is not a shell built-in, we'll probably end up computing a
1655
1716
# maximum length that is only half of the actual maximum length, but
1656
1717
# we can't tell.
1657
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
1718
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1658
1719
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
1659
1720
test $i != 17 # 1/2 MB should be enough
2530
version_type=linux # correct to gnu/linux during the next big refactor
2474
2531
need_lib_prefix=no
2475
2532
need_version=no
2476
2533
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2477
2534
soname_spec='${libname}${release}${shared_ext}$major'
2478
2535
shlibpath_var=LD_LIBRARY_PATH
2536
shlibpath_overrides_runpath=no
2479
2537
hardcode_into_libs=yes
2541
version_type=linux # correct to gnu/linux during the next big refactor
2484
2542
need_lib_prefix=no
2485
2543
need_version=no
2486
2544
dynamic_linker="$host_os runtime_loader"
2594
2652
dynamic_linker=no
2597
# This must be Linux ELF.
2655
# This must be glibc/ELF.
2598
2656
linux* | k*bsd*-gnu | kopensolaris*-gnu)
2657
version_type=linux # correct to gnu/linux during the next big refactor
2600
2658
need_lib_prefix=no
2601
2659
need_version=no
2602
2660
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2724
version_type=linux # correct to gnu/linux during the next big refactor
2667
2725
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2668
2726
shlibpath_var=LD_LIBRARY_PATH
2669
2727
shlibpath_overrides_runpath=yes
2759
2817
sysv4 | sysv4.3*)
2818
version_type=linux # correct to gnu/linux during the next big refactor
2761
2819
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2762
2820
soname_spec='${libname}${release}${shared_ext}$major'
2763
2821
shlibpath_var=LD_LIBRARY_PATH
2783
2841
if test -d /usr/nec ;then
2842
version_type=linux # correct to gnu/linux during the next big refactor
2785
2843
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2786
2844
soname_spec='$libname${shared_ext}.$major'
2787
2845
shlibpath_var=LD_LIBRARY_PATH
2883
version_type=linux # correct to gnu/linux during the next big refactor
2826
2884
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2827
2885
soname_spec='${libname}${release}${shared_ext}$major'
2828
2886
shlibpath_var=LD_LIBRARY_PATH
3244
3302
lt_cv_deplibs_check_method=pass_all
3247
# This must be Linux ELF.
3305
# This must be glibc/ELF.
3248
3306
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3249
3307
lt_cv_deplibs_check_method=pass_all
3664
3722
# which start with @ or ?.
3665
3723
lt_cv_sys_global_symbol_pipe="$AWK ['"\
3666
3724
" {last_section=section; section=\$ 3};"\
3725
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
3667
3726
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3668
3727
" \$ 0!~/External *\|/{next};"\
3669
3728
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4248
4307
case $cc_basename in
4249
4308
nvcc*) # Cuda Compiler Driver 2.2
4250
4309
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4251
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
4310
if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4311
_LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4342
4403
case `$CC -V 2>&1 | sed 5q` in
4343
*Sun\ F* | *Sun*Fortran*)
4404
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4344
4405
# Sun Fortran 8.3 passes all unrecognized flags to the linker
4345
4406
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4346
4407
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4347
4408
_LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4410
*Sun\ F* | *Sun*Fortran*)
4411
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4412
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4413
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4351
4417
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4352
4418
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4353
4419
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4421
*Intel*\ [[CF]]*Compiler*)
4422
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4423
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4424
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4427
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4428
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4429
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4512
4588
cygwin* | mingw* | cegcc*)
4513
4589
case $cc_basename in
4591
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4516
4594
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4517
4595
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
4536
4614
_LT_TAGVAR(hardcode_direct, $1)=no
4537
4615
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
4538
4616
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4539
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4540
4617
_LT_TAGVAR(hardcode_libdir_separator, $1)=
4541
4618
_LT_TAGVAR(hardcode_minus_L, $1)=no
4542
4619
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4787
4864
xlf* | bgf* | bgxlf* | mpixlf*)
4788
4865
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4789
4866
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4790
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4791
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4867
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4792
4868
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4793
4869
if test "x$supports_anon_versioning" = xyes; then
4794
4870
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5083
5159
# The linker will not automatically build a static lib if we build a DLL.
5084
5160
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5085
5161
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5162
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5086
5163
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5087
5164
# Don't use ranlib
5088
5165
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5129
5206
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5133
_LT_TAGVAR(ld_shlibs, $1)=no
5136
5209
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5137
5210
# support. Future versions do this automatically, but an explicit c++rt0.o
5138
5211
# does not break anything, and helps significantly (at the cost of a little
5147
5220
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
5149
5222
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5150
5223
_LT_TAGVAR(hardcode_direct, $1)=yes
5151
5224
_LT_TAGVAR(hardcode_minus_L, $1)=yes
5185
5258
if test "$with_gnu_ld" = no; then
5186
5259
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5187
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5188
5260
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
5189
5261
_LT_TAGVAR(hardcode_direct, $1)=yes
5190
5262
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5626
5698
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5627
5699
[Flag to hardcode $libdir into a binary during linking.
5628
5700
This must work even if $libdir does not exist])
5629
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5630
[[If ld is used when linking, flag to hardcode $libdir into a binary
5631
during linking. This must work even if $libdir does not exist]])
5632
5701
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5633
5702
[Whether we need a single "-rpath" flag with a separated argument])
5634
5703
_LT_TAGDECL([], [hardcode_direct], [0],
5782
5851
_LT_TAGVAR(hardcode_direct, $1)=no
5783
5852
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5784
5853
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5785
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5786
5854
_LT_TAGVAR(hardcode_libdir_separator, $1)=
5787
5855
_LT_TAGVAR(hardcode_minus_L, $1)=no
5788
5856
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6984
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
6918
6991
_lt_libdeps_save_CFLAGS=$CFLAGS
6919
6992
case "$CC $CFLAGS " in #(
6920
6993
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
6921
6994
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
6995
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
6924
6998
dnl Parse the compiler output and extract the necessary
7115
7189
_LT_TAGVAR(hardcode_direct, $1)=no
7116
7190
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7117
7191
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7118
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7119
7192
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7120
7193
_LT_TAGVAR(hardcode_minus_L, $1)=no
7121
7194
_LT_TAGVAR(hardcode_automatic, $1)=no
7248
7321
_LT_TAGVAR(hardcode_direct, $1)=no
7249
7322
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7250
7323
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7251
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7252
7324
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7253
7325
_LT_TAGVAR(hardcode_minus_L, $1)=no
7254
7326
_LT_TAGVAR(hardcode_automatic, $1)=no
7431
7503
])# _LT_LANG_GCJ_CONFIG
7506
# _LT_LANG_GO_CONFIG([TAG])
7507
# --------------------------
7508
# Ensure that the configuration variables for the GNU Go compiler
7509
# are suitably defined. These variables are subsequently used by _LT_CONFIG
7510
# to write the compiler configuration to `libtool'.
7511
m4_defun([_LT_LANG_GO_CONFIG],
7512
[AC_REQUIRE([LT_PROG_GO])dnl
7515
# Source file extension for Go test sources.
7518
# Object file extension for compiled Go test sources.
7520
_LT_TAGVAR(objext, $1)=$objext
7522
# Code to be used in simple compile tests
7523
lt_simple_compile_test_code="package main; func main() { }"
7525
# Code to be used in simple link tests
7526
lt_simple_link_test_code='package main; func main() { }'
7528
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7531
# save warnings/boilerplate of simple test code
7532
_LT_COMPILER_BOILERPLATE
7533
_LT_LINKER_BOILERPLATE
7535
# Allow CC to be a program name with arguments.
7537
lt_save_CFLAGS=$CFLAGS
7543
_LT_TAGVAR(compiler, $1)=$CC
7544
_LT_TAGVAR(LD, $1)="$LD"
7545
_LT_CC_BASENAME([$compiler])
7547
# Go did not exist at the time GCC didn't implicitly link libc in.
7548
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7550
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7551
_LT_TAGVAR(reload_flag, $1)=$reload_flag
7552
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7554
if test -n "$compiler"; then
7555
_LT_COMPILER_NO_RTTI($1)
7556
_LT_COMPILER_PIC($1)
7557
_LT_COMPILER_C_O($1)
7558
_LT_COMPILER_FILE_LOCKS($1)
7559
_LT_LINKER_SHLIBS($1)
7560
_LT_LINKER_HARDCODE_LIBPATH($1)
7569
CFLAGS=$lt_save_CFLAGS
7570
])# _LT_LANG_GO_CONFIG
7434
7573
# _LT_LANG_RC_CONFIG([TAG])
7435
7574
# -------------------------
7436
7575
# Ensure that the configuration variables for the Windows resource compiler
8164
8310
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
8165
8311
m4_define([_LT_WITH_PIC],
8166
8312
[AC_ARG_WITH([pic],
8167
[AS_HELP_STRING([--with-pic],
8313
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8168
8314
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8169
[pic_mode="$withval"],
8315
[lt_p=${PACKAGE-default}
8317
yes|no) pic_mode=$withval ;;
8320
# Look at the argument we got. We use all the common list separators.
8321
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8322
for lt_pkg in $withval; do
8324
if test "X$lt_pkg" = "X$lt_p"; then
8170
8331
[pic_mode=default])
8172
8333
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
8339
8500
# @configure_input@
8341
# serial 3293 ltversion.m4
8502
# serial 3337 ltversion.m4
8342
8503
# This file is part of GNU Libtool
8344
m4_define([LT_PACKAGE_VERSION], [2.4])
8345
m4_define([LT_PACKAGE_REVISION], [1.3293])
8505
m4_define([LT_PACKAGE_VERSION], [2.4.2])
8506
m4_define([LT_PACKAGE_REVISION], [1.3337])
8347
8508
AC_DEFUN([LTVERSION_VERSION],
8348
[macro_version='2.4'
8349
macro_revision='1.3293'
8509
[macro_version='2.4.2'
8510
macro_revision='1.3337'
8350
8511
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8351
8512
_LT_DECL(, macro_revision, 0)
8450
8611
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
8451
8612
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
8453
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8614
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
8455
8617
# This file is free software; the Free Software Foundation
8456
8618
# gives unlimited permission to copy and/or distribute it,
8457
8619
# with or without modifications, as long as this notice is preserved.
8459
8623
# AM_AUTOMAKE_VERSION(VERSION)
8460
8624
# ----------------------------
8461
8625
# Automake X.Y traces this macro to ensure aclocal.m4 has been
8465
8629
[am__api_version='1.11'
8466
8630
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8467
8631
dnl require some minimum version. Point them to the right macro.
8468
m4_if([$1], [1.11.1], [],
8632
m4_if([$1], [1.11.3], [],
8469
8633
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8481
8645
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8482
8646
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8483
8647
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8484
[AM_AUTOMAKE_VERSION([1.11.1])dnl
8648
[AM_AUTOMAKE_VERSION([1.11.3])dnl
8485
8649
m4_ifndef([AC_AUTOCONF_VERSION],
8486
8650
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8487
8651
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8489
8653
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
8491
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8655
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
8493
8657
# This file is free software; the Free Software Foundation
8494
8658
# gives unlimited permission to copy and/or distribute it,
8495
8659
# with or without modifications, as long as this notice is preserved.
8497
8663
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
8498
8664
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
8499
8665
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
8575
8741
Usually this means the macro was only invoked conditionally.]])
8578
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8579
# Free Software Foundation, Inc.
8744
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
8745
# 2010, 2011 Free Software Foundation, Inc.
8581
8747
# This file is free software; the Free Software Foundation
8582
8748
# gives unlimited permission to copy and/or distribute it,
8583
8749
# with or without modifications, as long as this notice is preserved.
8587
8753
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8588
8754
# written in clear, in which case automake, when reading aclocal.m4,
8622
8788
# instance it was reported that on HP-UX the gcc test will end up
8623
8789
# making a dummy file named `D' -- because `-MD' means `put the output
8625
8792
mkdir conftest.dir
8626
8793
# Copy depcomp to subdir because otherwise we won't find it if we're
8627
8794
# using a relative directory.
8689
msvisualcpp | msvcmsys)
8856
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8690
8857
# This compiler won't grok `-c -o', but also, the minuso test has
8691
8858
# not run yet. These depmodes are late enough in the game, and
8692
8859
# so weak that their functioning should not be impacted.
8751
8918
if test "x$enable_dependency_tracking" != xno; then
8752
8919
am_depcomp="$ac_aux_dir/depcomp"
8753
8920
AMDEPBACKSLASH='\'
8755
8923
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
8756
8924
AC_SUBST([AMDEPBACKSLASH])dnl
8757
8925
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
8926
AC_SUBST([am__nodep])dnl
8927
_AM_SUBST_NOTMAKE([am__nodep])dnl
8760
8930
# Generate code to set up dependency tracking. -*- Autoconf -*-
8989
9159
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8991
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
9161
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
8993
9164
# This file is free software; the Free Software Foundation
8994
9165
# gives unlimited permission to copy and/or distribute it,
8995
9166
# with or without modifications, as long as this notice is preserved.
8997
9170
# AM_PROG_INSTALL_SH
8998
9171
# ------------------
8999
9172
# Define $install_sh.
9128
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9301
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
9130
9304
# This file is free software; the Free Software Foundation
9131
9305
# gives unlimited permission to copy and/or distribute it,
9132
9306
# with or without modifications, as long as this notice is preserved.
9134
9310
# AM_PROG_MKDIR_P
9135
9311
# ---------------
9136
9312
# Check for `mkdir -p'.
9154
9330
# Helper functions for option handling. -*- Autoconf -*-
9156
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
9332
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
9158
9335
# This file is free software; the Free Software Foundation
9159
9336
# gives unlimited permission to copy and/or distribute it,
9160
9337
# with or without modifications, as long as this notice is preserved.
9164
9341
# _AM_MANGLE_OPTION(NAME)
9165
9342
# -----------------------
9167
9344
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9169
9346
# _AM_SET_OPTION(NAME)
9170
# ------------------------------
9347
# --------------------
9171
9348
# Set option NAME. Presently that only means defining a flag for this option.
9172
9349
AC_DEFUN([_AM_SET_OPTION],
9173
9350
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
9175
9352
# _AM_SET_OPTIONS(OPTIONS)
9176
# ----------------------------------
9353
# ------------------------
9177
9354
# OPTIONS is a space-separated list of Automake options.
9178
9355
AC_DEFUN([_AM_SET_OPTIONS],
9179
9356
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9250
9427
AC_MSG_RESULT(yes)])
9252
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9429
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
9254
9431
# This file is free software; the Free Software Foundation
9255
9432
# gives unlimited permission to copy and/or distribute it,
9256
9433
# with or without modifications, as long as this notice is preserved.
9258
9437
# AM_PROG_INSTALL_STRIP
9259
9438
# ---------------------
9260
9439
# One issue with vendor `install' (even GNU) is that you can't
9277
9456
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9278
9457
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9280
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9459
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
9282
9461
# This file is free software; the Free Software Foundation
9283
9462
# gives unlimited permission to copy and/or distribute it,
9284
9463
# with or without modifications, as long as this notice is preserved.
9288
9467
# _AM_SUBST_NOTMAKE(VARIABLE)
9289
9468
# ---------------------------
9292
9471
AC_DEFUN([_AM_SUBST_NOTMAKE])
9294
9473
# AM_SUBST_NOTMAKE(VARIABLE)
9295
# ---------------------------
9474
# --------------------------
9296
9475
# Public sister of _AM_SUBST_NOTMAKE.
9297
9476
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9299
9478
# Check how to create a tarball. -*- Autoconf -*-
9301
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
9480
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
9303
9482
# This file is free software; the Free Software Foundation
9304
9483
# gives unlimited permission to copy and/or distribute it,
9320
9499
# a tarball read from stdin.
9321
9500
# $(am__untar) < result.tar
9322
9501
AC_DEFUN([_AM_PROG_TAR],
9323
[# Always define AMTAR for backward compatibility.
9324
AM_MISSING_PROG([AMTAR], [tar])
9502
[# Always define AMTAR for backward compatibility. Yes, it's still used
9503
# in the wild :-( We should find a proper way to deprecate it ...
9504
AC_SUBST([AMTAR], ['$${TAR-tar}'])
9325
9505
m4_if([$1], [v7],
9326
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
9506
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
9327
9507
[m4_case([$1], [ustar],, [pax],,
9328
9508
[m4_fatal([Unknown tar format])])
9329
9509
AC_MSG_CHECKING([how to create a $1 tar archive])