1
# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
4
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
6
5
# This file is free software; the Free Software Foundation
7
6
# gives unlimited permission to copy and/or distribute it,
8
7
# with or without modifications, as long as this notice is preserved.
15
14
m4_ifndef([AC_AUTOCONF_VERSION],
16
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18
[m4_warning([this file was generated for autoconf 2.69.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17
[m4_warning([this file was generated for autoconf 2.68.
19
18
You have another version of autoconf. It may work, but is not guaranteed to.
20
19
If you have problems, you may need to regenerate the build system entirely.
21
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
23
22
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
25
24
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
25
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
28
27
# Written by Gordon Matzigkeit, 1996
30
29
# This file is free software; the Free Software Foundation gives
34
33
m4_define([_LT_COPYING], [dnl
35
34
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
35
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
38
37
# Written by Gordon Matzigkeit, 1996
40
39
# This file is part of GNU Libtool.
168
167
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
169
168
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
171
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
173
170
_LT_DECL([], [host_alias], [0], [The host system])dnl
174
171
_LT_DECL([], [host], [0])dnl
175
172
_LT_DECL([], [host_os], [0])dnl
655
652
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
656
653
configured by $[0], generated by m4_PACKAGE_STRING.
658
Copyright (C) 2011 Free Software Foundation, Inc.
655
Copyright (C) 2010 Free Software Foundation, Inc.
659
656
This config.lt script is free software; the Free Software Foundation
660
657
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)
867
840
# _LT_LANG_DEFAULT_CONFIG
868
841
# -----------------------
869
842
m4_defun([_LT_LANG_DEFAULT_CONFIG],
894
867
m4_ifdef([LT_PROG_GCJ],
895
868
[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)])])
901
870
AC_PROVIDE_IFELSE([LT_PROG_RC],
903
872
[m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
1000
969
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1001
970
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
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
972
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1010
973
lt_cv_apple_cc_single_mod=yes
1012
975
cat conftest.err >&AS_MESSAGE_LOG_FD
1014
977
rm -rf libconftest.dylib*
1015
978
rm -f conftest.*
1018
980
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
1019
981
[lt_cv_ld_exported_symbols_list],
1020
982
[lt_cv_ld_exported_symbols_list=no
1044
1005
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
1045
1006
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
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
1008
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1050
1009
lt_cv_ld_force_load=yes
1052
1011
cat conftest.err >&AS_MESSAGE_LOG_FD
1094
# _LT_DARWIN_LINKER_FEATURES([TAG])
1095
# ---------------------------------
1053
# _LT_DARWIN_LINKER_FEATURES
1054
# --------------------------
1096
1055
# Checks for linker and compiler features on darwin
1097
1056
m4_defun([_LT_DARWIN_LINKER_FEATURES],
1103
1062
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1104
1063
if test "$lt_cv_ld_force_load" = "yes"; then
1105
1064
_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])
1109
1066
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
1388
1345
CFLAGS="$SAVE_CFLAGS"
1392
1349
# Find out which ABI we are using.
1393
1350
echo 'int i;' > conftest.$ac_ext
1394
1351
if AC_TRY_EVAL(ac_compile); then
1395
1352
case `/usr/bin/file conftest.o` in
1397
1354
case $lt_cv_prog_gnu_ld in
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
1355
yes*) LD="${LD-ld} -m elf64_sparc" ;;
1413
1357
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1414
1358
LD="${LD-ld} -64"
1485
1429
if test -n "$RANLIB"; then
1486
1430
case $host_os in
1488
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1432
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1491
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1435
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1494
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1438
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1497
1441
case $host_os in
1671
1615
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
1680
1619
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1681
1620
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1715
1654
# If test is not a shell built-in, we'll probably end up computing a
1716
1655
# maximum length that is only half of the actual maximum length, but
1717
1656
# we can't tell.
1718
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1657
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
1719
1658
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
1720
1659
test $i != 17 # 1/2 MB should be enough
2476
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
2477
soname_spec='${libname}${release}${shared_ext}$major'
2478
shlibpath_var=LD_LIBRARY_PATH
2479
shlibpath_overrides_runpath=no
2480
hardcode_into_libs=yes
2530
version_type=linux # correct to gnu/linux during the next big refactor
2531
2485
need_lib_prefix=no
2532
2486
need_version=no
2533
2487
dynamic_linker="$host_os runtime_loader"
2641
2595
dynamic_linker=no
2644
# This must be glibc/ELF.
2645
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2646
version_type=linux # correct to gnu/linux during the next big refactor
2598
# This must be Linux ELF.
2599
linux* | k*bsd*-gnu | kopensolaris*-gnu)
2647
2601
need_lib_prefix=no
2648
2602
need_version=no
2649
2603
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2721
version_type=linux # correct to gnu/linux during the next big refactor
2722
2676
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2723
2677
shlibpath_var=LD_LIBRARY_PATH
2724
2678
shlibpath_overrides_runpath=yes
2814
2768
sysv4 | sysv4.3*)
2815
version_type=linux # correct to gnu/linux during the next big refactor
2816
2770
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2817
2771
soname_spec='${libname}${release}${shared_ext}$major'
2818
2772
shlibpath_var=LD_LIBRARY_PATH
2838
2792
if test -d /usr/nec ;then
2839
version_type=linux # correct to gnu/linux during the next big refactor
2840
2794
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
2841
2795
soname_spec='$libname${shared_ext}.$major'
2842
2796
shlibpath_var=LD_LIBRARY_PATH
2880
version_type=linux # correct to gnu/linux during the next big refactor
2881
2835
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2882
2836
soname_spec='${libname}${release}${shared_ext}$major'
2883
2837
shlibpath_var=LD_LIBRARY_PATH
3295
3253
lt_cv_deplibs_check_method=pass_all
3298
# This must be glibc/ELF.
3299
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3256
# This must be Linux ELF.
3257
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3300
3258
lt_cv_deplibs_check_method=pass_all
3715
3673
# which start with @ or ?.
3716
3674
lt_cv_sys_global_symbol_pipe="$AWK ['"\
3717
3675
" {last_section=section; section=\$ 3};"\
3718
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
3719
3676
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
3720
3677
" \$ 0!~/External *\|/{next};"\
3721
3678
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4300
4257
case $cc_basename in
4301
4258
nvcc*) # Cuda Compiler Driver 2.2
4302
4259
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
4303
if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
4304
_LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
4260
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
4347
4302
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4350
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4305
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4351
4306
case $cc_basename in
4352
4307
# old Intel for x86_64 which still supported -KPIC.
4396
4351
case `$CC -V 2>&1 | sed 5q` in
4397
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
4352
*Sun\ F* | *Sun*Fortran*)
4398
4353
# Sun Fortran 8.3 passes all unrecognized flags to the linker
4399
4354
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4400
4355
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4401
4356
_LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4403
*Sun\ F* | *Sun*Fortran*)
4404
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4405
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4406
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
4410
4360
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4411
4361
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4412
4362
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4414
*Intel*\ [[CF]]*Compiler*)
4415
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4416
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4417
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4420
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4421
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
4422
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4581
4521
cygwin* | mingw* | cegcc*)
4582
4522
case $cc_basename in
4584
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
4587
4525
_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'
4588
4526
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
4610
4548
_LT_TAGVAR(hardcode_direct, $1)=no
4611
4549
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
4612
4550
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4551
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
4613
4552
_LT_TAGVAR(hardcode_libdir_separator, $1)=
4614
4553
_LT_TAGVAR(hardcode_minus_L, $1)=no
4615
4554
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4863
4802
xlf* | bgf* | bgxlf* | mpixlf*)
4864
4803
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4865
4804
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4866
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
4805
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4806
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4867
4807
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4868
4808
if test "x$supports_anon_versioning" = xyes; then
4869
4809
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
5159
5099
# The linker will not automatically build a static lib if we build a DLL.
5160
5100
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5161
5101
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5162
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
5163
5102
_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'
5164
5103
# Don't use ranlib
5165
5104
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
5206
5145
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
5149
_LT_TAGVAR(ld_shlibs, $1)=no
5209
5152
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5210
5153
# support. Future versions do this automatically, but an explicit c++rt0.o
5211
5154
# does not break anything, and helps significantly (at the cost of a little
5220
5163
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
5222
5165
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5223
5166
_LT_TAGVAR(hardcode_direct, $1)=yes
5224
5167
_LT_TAGVAR(hardcode_minus_L, $1)=yes
5258
5201
if test "$with_gnu_ld" = no; then
5259
5202
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5203
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5260
5204
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
5261
5205
_LT_TAGVAR(hardcode_direct, $1)=yes
5262
5206
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
5698
5642
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
5699
5643
[Flag to hardcode $libdir into a binary during linking.
5700
5644
This must work even if $libdir does not exist])
5645
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
5646
[[If ld is used when linking, flag to hardcode $libdir into a binary
5647
during linking. This must work even if $libdir does not exist]])
5701
5648
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
5702
5649
[Whether we need a single "-rpath" flag with a separated argument])
5703
5650
_LT_TAGDECL([], [hardcode_direct], [0],
5851
5798
_LT_TAGVAR(hardcode_direct, $1)=no
5852
5799
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
5853
5800
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
5801
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
5854
5802
_LT_TAGVAR(hardcode_libdir_separator, $1)=
5855
5803
_LT_TAGVAR(hardcode_minus_L, $1)=no
5856
5804
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6236
6184
_LT_TAGVAR(ld_shlibs, $1)=yes
6240
6191
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6241
6192
_LT_TAGVAR(link_all_deplibs, $1)=yes
6397
6348
_LT_TAGVAR(inherit_rpath, $1)=yes
6400
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6351
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6401
6352
case $cc_basename in
6403
6354
# Kuck and Associates, Inc. (KAI) C++ Compiler
6981
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
6988
6934
_lt_libdeps_save_CFLAGS=$CFLAGS
6989
6935
case "$CC $CFLAGS " in #(
6990
6936
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
6991
6937
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
6992
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
6995
6940
dnl Parse the compiler output and extract the necessary
7186
7131
_LT_TAGVAR(hardcode_direct, $1)=no
7187
7132
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7188
7133
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7134
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7189
7135
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7190
7136
_LT_TAGVAR(hardcode_minus_L, $1)=no
7191
7137
_LT_TAGVAR(hardcode_automatic, $1)=no
7318
7264
_LT_TAGVAR(hardcode_direct, $1)=no
7319
7265
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
7320
7266
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
7267
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
7321
7268
_LT_TAGVAR(hardcode_libdir_separator, $1)=
7322
7269
_LT_TAGVAR(hardcode_minus_L, $1)=no
7323
7270
_LT_TAGVAR(hardcode_automatic, $1)=no
7500
7447
])# _LT_LANG_GCJ_CONFIG
7503
# _LT_LANG_GO_CONFIG([TAG])
7504
# --------------------------
7505
# Ensure that the configuration variables for the GNU Go compiler
7506
# are suitably defined. These variables are subsequently used by _LT_CONFIG
7507
# to write the compiler configuration to `libtool'.
7508
m4_defun([_LT_LANG_GO_CONFIG],
7509
[AC_REQUIRE([LT_PROG_GO])dnl
7512
# Source file extension for Go test sources.
7515
# Object file extension for compiled Go test sources.
7517
_LT_TAGVAR(objext, $1)=$objext
7519
# Code to be used in simple compile tests
7520
lt_simple_compile_test_code="package main; func main() { }"
7522
# Code to be used in simple link tests
7523
lt_simple_link_test_code='package main; func main() { }'
7525
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
7528
# save warnings/boilerplate of simple test code
7529
_LT_COMPILER_BOILERPLATE
7530
_LT_LINKER_BOILERPLATE
7532
# Allow CC to be a program name with arguments.
7534
lt_save_CFLAGS=$CFLAGS
7540
_LT_TAGVAR(compiler, $1)=$CC
7541
_LT_TAGVAR(LD, $1)="$LD"
7542
_LT_CC_BASENAME([$compiler])
7544
# Go did not exist at the time GCC didn't implicitly link libc in.
7545
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7547
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
7548
_LT_TAGVAR(reload_flag, $1)=$reload_flag
7549
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7551
if test -n "$compiler"; then
7552
_LT_COMPILER_NO_RTTI($1)
7553
_LT_COMPILER_PIC($1)
7554
_LT_COMPILER_C_O($1)
7555
_LT_COMPILER_FILE_LOCKS($1)
7556
_LT_LINKER_SHLIBS($1)
7557
_LT_LINKER_HARDCODE_LIBPATH($1)
7566
CFLAGS=$lt_save_CFLAGS
7567
])# _LT_LANG_GO_CONFIG
7570
7450
# _LT_LANG_RC_CONFIG([TAG])
7571
7451
# -------------------------
7572
7452
# Ensure that the configuration variables for the Windows resource compiler
8307
8180
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
8308
8181
m4_define([_LT_WITH_PIC],
8309
8182
[AC_ARG_WITH([pic],
8310
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
8183
[AS_HELP_STRING([--with-pic],
8311
8184
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
8312
[lt_p=${PACKAGE-default}
8314
yes|no) pic_mode=$withval ;;
8317
# Look at the argument we got. We use all the common list separators.
8318
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8319
for lt_pkg in $withval; do
8321
if test "X$lt_pkg" = "X$lt_p"; then
8185
[pic_mode="$withval"],
8328
8186
[pic_mode=default])
8330
8188
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
8497
8355
# @configure_input@
8499
# serial 3337 ltversion.m4
8357
# serial 3293 ltversion.m4
8500
8358
# This file is part of GNU Libtool
8502
m4_define([LT_PACKAGE_VERSION], [2.4.2])
8503
m4_define([LT_PACKAGE_REVISION], [1.3337])
8360
m4_define([LT_PACKAGE_VERSION], [2.4])
8361
m4_define([LT_PACKAGE_REVISION], [1.3293])
8505
8363
AC_DEFUN([LTVERSION_VERSION],
8506
[macro_version='2.4.2'
8507
macro_revision='1.3337'
8364
[macro_version='2.4'
8365
macro_revision='1.3293'
8508
8366
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8509
8367
_LT_DECL(, macro_revision, 0)
8769
8627
])# PKG_CHECK_MODULES
8771
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
8629
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8774
8631
# This file is free software; the Free Software Foundation
8775
8632
# gives unlimited permission to copy and/or distribute it,
8776
8633
# with or without modifications, as long as this notice is preserved.
8780
8635
# AM_AUTOMAKE_VERSION(VERSION)
8781
8636
# ----------------------------
8782
8637
# Automake X.Y traces this macro to ensure aclocal.m4 has been
8786
8641
[am__api_version='1.11'
8787
8642
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8788
8643
dnl require some minimum version. Point them to the right macro.
8789
m4_if([$1], [1.11.6], [],
8644
m4_if([$1], [1.11.1], [],
8790
8645
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8802
8657
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8803
8658
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8804
8659
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8805
[AM_AUTOMAKE_VERSION([1.11.6])dnl
8660
[AM_AUTOMAKE_VERSION([1.11.1])dnl
8806
8661
m4_ifndef([AC_AUTOCONF_VERSION],
8807
8662
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8808
8663
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8810
8665
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
8812
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
8667
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8814
8669
# This file is free software; the Free Software Foundation
8815
8670
# gives unlimited permission to copy and/or distribute it,
8816
8671
# with or without modifications, as long as this notice is preserved.
8820
8673
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
8821
8674
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
8822
8675
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
8898
8751
Usually this means the macro was only invoked conditionally.]])
8901
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
8902
# 2010, 2011 Free Software Foundation, Inc.
8754
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8755
# Free Software Foundation, Inc.
8904
8757
# This file is free software; the Free Software Foundation
8905
8758
# gives unlimited permission to copy and/or distribute it,
8906
8759
# with or without modifications, as long as this notice is preserved.
8910
8763
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8911
8764
# written in clear, in which case automake, when reading aclocal.m4,
8945
8798
# instance it was reported that on HP-UX the gcc test will end up
8946
8799
# making a dummy file named `D' -- because `-MD' means `put the output
8949
8801
mkdir conftest.dir
8950
8802
# Copy depcomp to subdir because otherwise we won't find it if we're
8951
8803
# using a relative directory.
9013
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8865
msvisualcpp | msvcmsys)
9014
8866
# This compiler won't grok `-c -o', but also, the minuso test has
9015
8867
# not run yet. These depmodes are late enough in the game, and
9016
8868
# so weak that their functioning should not be impacted.
9075
8927
if test "x$enable_dependency_tracking" != xno; then
9076
8928
am_depcomp="$ac_aux_dir/depcomp"
9077
8929
AMDEPBACKSLASH='\'
9080
8931
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9081
8932
AC_SUBST([AMDEPBACKSLASH])dnl
9082
8933
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
9083
AC_SUBST([am__nodep])dnl
9084
_AM_SUBST_NOTMAKE([am__nodep])dnl
9087
8936
# Generate code to set up dependency tracking. -*- Autoconf -*-
9316
9165
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9318
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
9167
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
9321
9169
# This file is free software; the Free Software Foundation
9322
9170
# gives unlimited permission to copy and/or distribute it,
9323
9171
# with or without modifications, as long as this notice is preserved.
9327
9173
# AM_PROG_INSTALL_SH
9328
9174
# ------------------
9329
9175
# Define $install_sh.
9458
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
9304
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9461
9306
# This file is free software; the Free Software Foundation
9462
9307
# gives unlimited permission to copy and/or distribute it,
9463
9308
# with or without modifications, as long as this notice is preserved.
9467
9310
# AM_PROG_MKDIR_P
9468
9311
# ---------------
9469
9312
# Check for `mkdir -p'.
9487
9330
# Helper functions for option handling. -*- Autoconf -*-
9489
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
9332
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
9492
9334
# This file is free software; the Free Software Foundation
9493
9335
# gives unlimited permission to copy and/or distribute it,
9494
9336
# with or without modifications, as long as this notice is preserved.
9498
9340
# _AM_MANGLE_OPTION(NAME)
9499
9341
# -----------------------
9501
9343
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
9503
9345
# _AM_SET_OPTION(NAME)
9504
# --------------------
9346
# ------------------------------
9505
9347
# Set option NAME. Presently that only means defining a flag for this option.
9506
9348
AC_DEFUN([_AM_SET_OPTION],
9507
9349
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
9509
9351
# _AM_SET_OPTIONS(OPTIONS)
9510
# ------------------------
9352
# ----------------------------------
9511
9353
# OPTIONS is a space-separated list of Automake options.
9512
9354
AC_DEFUN([_AM_SET_OPTIONS],
9513
9355
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9584
9426
AC_MSG_RESULT(yes)])
9586
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
9428
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9588
9430
# This file is free software; the Free Software Foundation
9589
9431
# gives unlimited permission to copy and/or distribute it,
9590
9432
# with or without modifications, as long as this notice is preserved.
9594
9434
# AM_PROG_INSTALL_STRIP
9595
9435
# ---------------------
9596
9436
# One issue with vendor `install' (even GNU) is that you can't
9613
9453
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9614
9454
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9616
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
9456
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9618
9458
# This file is free software; the Free Software Foundation
9619
9459
# gives unlimited permission to copy and/or distribute it,
9620
9460
# with or without modifications, as long as this notice is preserved.
9624
9464
# _AM_SUBST_NOTMAKE(VARIABLE)
9625
9465
# ---------------------------
9628
9468
AC_DEFUN([_AM_SUBST_NOTMAKE])
9630
9470
# AM_SUBST_NOTMAKE(VARIABLE)
9631
# --------------------------
9471
# ---------------------------
9632
9472
# Public sister of _AM_SUBST_NOTMAKE.
9633
9473
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9635
9475
# Check how to create a tarball. -*- Autoconf -*-
9637
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
9477
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
9639
9479
# This file is free software; the Free Software Foundation
9640
9480
# gives unlimited permission to copy and/or distribute it,
9656
9496
# a tarball read from stdin.
9657
9497
# $(am__untar) < result.tar
9658
9498
AC_DEFUN([_AM_PROG_TAR],
9659
[# Always define AMTAR for backward compatibility. Yes, it's still used
9660
# in the wild :-( We should find a proper way to deprecate it ...
9661
AC_SUBST([AMTAR], ['$${TAR-tar}'])
9499
[# Always define AMTAR for backward compatibility.
9500
AM_MISSING_PROG([AMTAR], [tar])
9662
9501
m4_if([$1], [v7],
9663
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
9502
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
9664
9503
[m4_case([$1], [ustar],, [pax],,
9665
9504
[m4_fatal([Unknown tar format])])
9666
9505
AC_MSG_CHECKING([how to create a $1 tar archive])