| 1 |
< |
# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
| 1 |
> |
# generated automatically by aclocal 1.11.2 -*- Autoconf -*- |
| 2 |
|
|
| 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 |
> |
# Inc. |
| 6 |
|
# This file is free software; the Free Software Foundation |
| 7 |
|
# gives unlimited permission to copy and/or distribute it, |
| 8 |
|
# with or without modifications, as long as this notice is preserved. |
| 103 |
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
| 104 |
|
# |
| 105 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 106 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 107 |
< |
# Inc. |
| 106 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 107 |
> |
# Foundation, Inc. |
| 108 |
|
# Written by Gordon Matzigkeit, 1996 |
| 109 |
|
# |
| 110 |
|
# This file is free software; the Free Software Foundation gives |
| 113 |
|
|
| 114 |
|
m4_define([_LT_COPYING], [dnl |
| 115 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 116 |
< |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 117 |
< |
# Inc. |
| 116 |
> |
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 117 |
> |
# Foundation, Inc. |
| 118 |
|
# Written by Gordon Matzigkeit, 1996 |
| 119 |
|
# |
| 120 |
|
# This file is part of GNU Libtool. |
| 248 |
|
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl |
| 249 |
|
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl |
| 250 |
|
|
| 251 |
+ |
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl |
| 252 |
+ |
dnl |
| 253 |
|
_LT_DECL([], [host_alias], [0], [The host system])dnl |
| 254 |
|
_LT_DECL([], [host], [0])dnl |
| 255 |
|
_LT_DECL([], [host_os], [0])dnl |
| 735 |
|
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
| 736 |
|
configured by $[0], generated by m4_PACKAGE_STRING. |
| 737 |
|
|
| 738 |
< |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 738 |
> |
Copyright (C) 2011 Free Software Foundation, Inc. |
| 739 |
|
This config.lt script is free software; the Free Software Foundation |
| 740 |
|
gives unlimited permision to copy, distribute and modify it." |
| 741 |
|
|
| 899 |
|
m4_case([$1], |
| 900 |
|
[C], [_LT_LANG(C)], |
| 901 |
|
[C++], [_LT_LANG(CXX)], |
| 902 |
+ |
[Go], [_LT_LANG(GO)], |
| 903 |
|
[Java], [_LT_LANG(GCJ)], |
| 904 |
|
[Fortran 77], [_LT_LANG(F77)], |
| 905 |
|
[Fortran], [_LT_LANG(FC)], |
| 921 |
|
])# _LT_LANG |
| 922 |
|
|
| 923 |
|
|
| 924 |
+ |
m4_ifndef([AC_PROG_GO], [ |
| 925 |
+ |
# NOTE: This macro has been submitted for inclusion into # |
| 926 |
+ |
# GNU Autoconf as AC_PROG_GO. When it is available in # |
| 927 |
+ |
# a released version of Autoconf we should remove this # |
| 928 |
+ |
# macro and use it instead. # |
| 929 |
+ |
m4_defun([AC_PROG_GO], |
| 930 |
+ |
[AC_LANG_PUSH(Go)dnl |
| 931 |
+ |
AC_ARG_VAR([GOC], [Go compiler command])dnl |
| 932 |
+ |
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl |
| 933 |
+ |
_AC_ARG_VAR_LDFLAGS()dnl |
| 934 |
+ |
AC_CHECK_TOOL(GOC, gccgo) |
| 935 |
+ |
if test -z "$GOC"; then |
| 936 |
+ |
if test -n "$ac_tool_prefix"; then |
| 937 |
+ |
AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) |
| 938 |
+ |
fi |
| 939 |
+ |
fi |
| 940 |
+ |
if test -z "$GOC"; then |
| 941 |
+ |
AC_CHECK_PROG(GOC, gccgo, gccgo, false) |
| 942 |
+ |
fi |
| 943 |
+ |
])#m4_defun |
| 944 |
+ |
])#m4_ifndef |
| 945 |
+ |
|
| 946 |
+ |
|
| 947 |
|
# _LT_LANG_DEFAULT_CONFIG |
| 948 |
|
# ----------------------- |
| 949 |
|
m4_defun([_LT_LANG_DEFAULT_CONFIG], |
| 974 |
|
m4_ifdef([LT_PROG_GCJ], |
| 975 |
|
[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) |
| 976 |
|
|
| 977 |
+ |
AC_PROVIDE_IFELSE([AC_PROG_GO], |
| 978 |
+ |
[LT_LANG(GO)], |
| 979 |
+ |
[m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) |
| 980 |
+ |
|
| 981 |
|
AC_PROVIDE_IFELSE([LT_PROG_RC], |
| 982 |
|
[LT_LANG(RC)], |
| 983 |
|
[m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) |
| 1080 |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 1081 |
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 1082 |
|
_lt_result=$? |
| 1083 |
< |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then |
| 1083 |
> |
# If there is a non-empty error log, and "single_module" |
| 1084 |
> |
# appears in it, assume the flag caused a linker warning |
| 1085 |
> |
if test -s conftest.err && $GREP single_module conftest.err; then |
| 1086 |
> |
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1087 |
> |
# Otherwise, if the output was created with a 0 exit code from |
| 1088 |
> |
# the compiler, it worked. |
| 1089 |
> |
elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 1090 |
|
lt_cv_apple_cc_single_mod=yes |
| 1091 |
|
else |
| 1092 |
|
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1094 |
|
rm -rf libconftest.dylib* |
| 1095 |
|
rm -f conftest.* |
| 1096 |
|
fi]) |
| 1097 |
+ |
|
| 1098 |
|
AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
| 1099 |
|
[lt_cv_ld_exported_symbols_list], |
| 1100 |
|
[lt_cv_ld_exported_symbols_list=no |
| 1106 |
|
[lt_cv_ld_exported_symbols_list=no]) |
| 1107 |
|
LDFLAGS="$save_LDFLAGS" |
| 1108 |
|
]) |
| 1109 |
+ |
|
| 1110 |
|
AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], |
| 1111 |
|
[lt_cv_ld_force_load=no |
| 1112 |
|
cat > conftest.c << _LT_EOF |
| 1124 |
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD |
| 1125 |
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 1126 |
|
_lt_result=$? |
| 1127 |
< |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 1127 |
> |
if test -s conftest.err && $GREP force_load conftest.err; then |
| 1128 |
> |
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1129 |
> |
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
| 1130 |
|
lt_cv_ld_force_load=yes |
| 1131 |
|
else |
| 1132 |
|
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1171 |
|
]) |
| 1172 |
|
|
| 1173 |
|
|
| 1174 |
< |
# _LT_DARWIN_LINKER_FEATURES |
| 1175 |
< |
# -------------------------- |
| 1174 |
> |
# _LT_DARWIN_LINKER_FEATURES([TAG]) |
| 1175 |
> |
# --------------------------------- |
| 1176 |
|
# Checks for linker and compiler features on darwin |
| 1177 |
|
m4_defun([_LT_DARWIN_LINKER_FEATURES], |
| 1178 |
|
[ |
| 1183 |
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 1184 |
|
if test "$lt_cv_ld_force_load" = "yes"; then |
| 1185 |
|
_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\"`' |
| 1186 |
+ |
m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], |
| 1187 |
+ |
[FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) |
| 1188 |
|
else |
| 1189 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='' |
| 1190 |
|
fi |
| 1468 |
|
CFLAGS="$SAVE_CFLAGS" |
| 1469 |
|
fi |
| 1470 |
|
;; |
| 1471 |
< |
sparc*-*solaris*) |
| 1471 |
> |
*-*solaris*) |
| 1472 |
|
# Find out which ABI we are using. |
| 1473 |
|
echo 'int i;' > conftest.$ac_ext |
| 1474 |
|
if AC_TRY_EVAL(ac_compile); then |
| 1475 |
|
case `/usr/bin/file conftest.o` in |
| 1476 |
|
*64-bit*) |
| 1477 |
|
case $lt_cv_prog_gnu_ld in |
| 1478 |
< |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
| 1478 |
> |
yes*) |
| 1479 |
> |
case $host in |
| 1480 |
> |
i?86-*-solaris*) |
| 1481 |
> |
LD="${LD-ld} -m elf_x86_64" |
| 1482 |
> |
;; |
| 1483 |
> |
sparc*-*-solaris*) |
| 1484 |
> |
LD="${LD-ld} -m elf64_sparc" |
| 1485 |
> |
;; |
| 1486 |
> |
esac |
| 1487 |
> |
# GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 1488 |
> |
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 1489 |
> |
LD="${LD-ld}_sol2" |
| 1490 |
> |
fi |
| 1491 |
> |
;; |
| 1492 |
|
*) |
| 1493 |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 1494 |
|
LD="${LD-ld} -64" |
| 1565 |
|
if test -n "$RANLIB"; then |
| 1566 |
|
case $host_os in |
| 1567 |
|
openbsd*) |
| 1568 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
| 1568 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 1569 |
|
;; |
| 1570 |
|
*) |
| 1571 |
< |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
| 1571 |
> |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 1572 |
|
;; |
| 1573 |
|
esac |
| 1574 |
< |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 1574 |
> |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 1575 |
|
fi |
| 1576 |
|
|
| 1577 |
|
case $host_os in |
| 1751 |
|
lt_cv_sys_max_cmd_len=196608 |
| 1752 |
|
;; |
| 1753 |
|
|
| 1754 |
+ |
os2*) |
| 1755 |
+ |
# The test takes a long time on OS/2. |
| 1756 |
+ |
lt_cv_sys_max_cmd_len=8192 |
| 1757 |
+ |
;; |
| 1758 |
+ |
|
| 1759 |
|
osf*) |
| 1760 |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 1761 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 1795 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 1796 |
|
# maximum length that is only half of the actual maximum length, but |
| 1797 |
|
# we can't tell. |
| 1798 |
< |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 1798 |
> |
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 1799 |
|
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 1800 |
|
test $i != 17 # 1/2 MB should be enough |
| 1801 |
|
do |
| 2341 |
|
|
| 2342 |
|
case $host_os in |
| 2343 |
|
aix3*) |
| 2344 |
< |
version_type=linux |
| 2344 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2345 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 2346 |
|
shlibpath_var=LIBPATH |
| 2347 |
|
|
| 2350 |
|
;; |
| 2351 |
|
|
| 2352 |
|
aix[[4-9]]*) |
| 2353 |
< |
version_type=linux |
| 2353 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2354 |
|
need_lib_prefix=no |
| 2355 |
|
need_version=no |
| 2356 |
|
hardcode_into_libs=yes |
| 2415 |
|
;; |
| 2416 |
|
|
| 2417 |
|
bsdi[[45]]*) |
| 2418 |
< |
version_type=linux |
| 2418 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2419 |
|
need_version=no |
| 2420 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2421 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 2554 |
|
;; |
| 2555 |
|
|
| 2556 |
|
dgux*) |
| 2557 |
< |
version_type=linux |
| 2557 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2558 |
|
need_lib_prefix=no |
| 2559 |
|
need_version=no |
| 2560 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
| 2562 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2563 |
|
;; |
| 2564 |
|
|
| 2504 |
– |
freebsd1*) |
| 2505 |
– |
dynamic_linker=no |
| 2506 |
– |
;; |
| 2507 |
– |
|
| 2565 |
|
freebsd* | dragonfly*) |
| 2566 |
|
# DragonFly does not have aout. When/if they implement a new |
| 2567 |
|
# versioning mechanism, adjust this. |
| 2569 |
|
objformat=`/usr/bin/objformat` |
| 2570 |
|
else |
| 2571 |
|
case $host_os in |
| 2572 |
< |
freebsd[[123]]*) objformat=aout ;; |
| 2572 |
> |
freebsd[[23]].*) objformat=aout ;; |
| 2573 |
|
*) objformat=elf ;; |
| 2574 |
|
esac |
| 2575 |
|
fi |
| 2587 |
|
esac |
| 2588 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2589 |
|
case $host_os in |
| 2590 |
< |
freebsd2*) |
| 2590 |
> |
freebsd2.*) |
| 2591 |
|
shlibpath_overrides_runpath=yes |
| 2592 |
|
;; |
| 2593 |
|
freebsd3.[[01]]* | freebsdelf3.[[01]]*) |
| 2607 |
|
;; |
| 2608 |
|
|
| 2609 |
|
gnu*) |
| 2610 |
< |
version_type=linux |
| 2610 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2611 |
|
need_lib_prefix=no |
| 2612 |
|
need_version=no |
| 2613 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 2614 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 2615 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2616 |
+ |
shlibpath_overrides_runpath=no |
| 2617 |
|
hardcode_into_libs=yes |
| 2618 |
|
;; |
| 2619 |
|
|
| 2620 |
|
haiku*) |
| 2621 |
< |
version_type=linux |
| 2621 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2622 |
|
need_lib_prefix=no |
| 2623 |
|
need_version=no |
| 2624 |
|
dynamic_linker="$host_os runtime_loader" |
| 2679 |
|
;; |
| 2680 |
|
|
| 2681 |
|
interix[[3-9]]*) |
| 2682 |
< |
version_type=linux |
| 2682 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2683 |
|
need_lib_prefix=no |
| 2684 |
|
need_version=no |
| 2685 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
| 2695 |
|
nonstopux*) version_type=nonstopux ;; |
| 2696 |
|
*) |
| 2697 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 2698 |
< |
version_type=linux |
| 2698 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2699 |
|
else |
| 2700 |
|
version_type=irix |
| 2701 |
|
fi ;; |
| 2732 |
|
dynamic_linker=no |
| 2733 |
|
;; |
| 2734 |
|
|
| 2735 |
< |
# This must be Linux ELF. |
| 2735 |
> |
# This must be glibc/ELF. |
| 2736 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 2737 |
< |
version_type=linux |
| 2737 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2738 |
|
need_lib_prefix=no |
| 2739 |
|
need_version=no |
| 2740 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2797 |
|
;; |
| 2798 |
|
|
| 2799 |
|
newsos6) |
| 2800 |
< |
version_type=linux |
| 2800 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2801 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2802 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2803 |
|
shlibpath_overrides_runpath=yes |
| 2866 |
|
;; |
| 2867 |
|
|
| 2868 |
|
solaris*) |
| 2869 |
< |
version_type=linux |
| 2869 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2870 |
|
need_lib_prefix=no |
| 2871 |
|
need_version=no |
| 2872 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2891 |
|
;; |
| 2892 |
|
|
| 2893 |
|
sysv4 | sysv4.3*) |
| 2894 |
< |
version_type=linux |
| 2894 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2895 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2896 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 2897 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2915 |
|
|
| 2916 |
|
sysv4*MP*) |
| 2917 |
|
if test -d /usr/nec ;then |
| 2918 |
< |
version_type=linux |
| 2918 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2919 |
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
| 2920 |
|
soname_spec='$libname${shared_ext}.$major' |
| 2921 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2946 |
|
|
| 2947 |
|
tpf*) |
| 2948 |
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 2949 |
< |
version_type=linux |
| 2949 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2950 |
|
need_lib_prefix=no |
| 2951 |
|
need_version=no |
| 2952 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2956 |
|
;; |
| 2957 |
|
|
| 2958 |
|
uts4*) |
| 2959 |
< |
version_type=linux |
| 2959 |
> |
version_type=linux # correct to gnu/linux during the next big refactor |
| 2960 |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
| 2961 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 2962 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 3378 |
|
lt_cv_deplibs_check_method=pass_all |
| 3379 |
|
;; |
| 3380 |
|
|
| 3381 |
< |
# This must be Linux ELF. |
| 3381 |
> |
# This must be glibc/ELF. |
| 3382 |
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 3383 |
|
lt_cv_deplibs_check_method=pass_all |
| 3384 |
|
;; |
| 3798 |
|
# which start with @ or ?. |
| 3799 |
|
lt_cv_sys_global_symbol_pipe="$AWK ['"\ |
| 3800 |
|
" {last_section=section; section=\$ 3};"\ |
| 3801 |
+ |
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 3802 |
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 3803 |
|
" \$ 0!~/External *\|/{next};"\ |
| 3804 |
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 4383 |
|
case $cc_basename in |
| 4384 |
|
nvcc*) # Cuda Compiler Driver 2.2 |
| 4385 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' |
| 4386 |
< |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' |
| 4386 |
> |
if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then |
| 4387 |
> |
_LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" |
| 4388 |
> |
fi |
| 4389 |
|
;; |
| 4390 |
|
esac |
| 4391 |
|
else |
| 4477 |
|
;; |
| 4478 |
|
*) |
| 4479 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 4480 |
< |
*Sun\ F* | *Sun*Fortran*) |
| 4480 |
> |
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) |
| 4481 |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 4482 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4483 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4484 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='' |
| 4485 |
|
;; |
| 4486 |
+ |
*Sun\ F* | *Sun*Fortran*) |
| 4487 |
+ |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4488 |
+ |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4489 |
+ |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' |
| 4490 |
+ |
;; |
| 4491 |
|
*Sun\ C*) |
| 4492 |
|
# Sun C 5.9 |
| 4493 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4494 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4495 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4496 |
|
;; |
| 4497 |
+ |
*Intel*\ [[CF]]*Compiler*) |
| 4498 |
+ |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4499 |
+ |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4500 |
+ |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 4501 |
+ |
;; |
| 4502 |
+ |
*Portland\ Group*) |
| 4503 |
+ |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4504 |
+ |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' |
| 4505 |
+ |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4506 |
+ |
;; |
| 4507 |
|
esac |
| 4508 |
|
;; |
| 4509 |
|
esac |
| 4663 |
|
;; |
| 4664 |
|
cygwin* | mingw* | cegcc*) |
| 4665 |
|
case $cc_basename in |
| 4666 |
< |
cl*) ;; |
| 4666 |
> |
cl*) |
| 4667 |
> |
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 4668 |
> |
;; |
| 4669 |
|
*) |
| 4670 |
|
_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' |
| 4671 |
|
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] |
| 4690 |
|
_LT_TAGVAR(hardcode_direct, $1)=no |
| 4691 |
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| 4692 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 4615 |
– |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= |
| 4693 |
|
_LT_TAGVAR(hardcode_libdir_separator, $1)= |
| 4694 |
|
_LT_TAGVAR(hardcode_minus_L, $1)=no |
| 4695 |
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 4940 |
|
xlf* | bgf* | bgxlf* | mpixlf*) |
| 4941 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 4942 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' |
| 4943 |
< |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 4867 |
< |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' |
| 4943 |
> |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 4944 |
|
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 4945 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 4946 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
| 5235 |
|
# The linker will not automatically build a static lib if we build a DLL. |
| 5236 |
|
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
| 5237 |
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 5238 |
+ |
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 5239 |
|
_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' |
| 5240 |
|
# Don't use ranlib |
| 5241 |
|
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' |
| 5282 |
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5283 |
|
;; |
| 5284 |
|
|
| 5208 |
– |
freebsd1*) |
| 5209 |
– |
_LT_TAGVAR(ld_shlibs, $1)=no |
| 5210 |
– |
;; |
| 5211 |
– |
|
| 5285 |
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 5286 |
|
# support. Future versions do this automatically, but an explicit c++rt0.o |
| 5287 |
|
# does not break anything, and helps significantly (at the cost of a little |
| 5294 |
|
;; |
| 5295 |
|
|
| 5296 |
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 5297 |
< |
freebsd2*) |
| 5297 |
> |
freebsd2.*) |
| 5298 |
|
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 5299 |
|
_LT_TAGVAR(hardcode_direct, $1)=yes |
| 5300 |
|
_LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5333 |
|
fi |
| 5334 |
|
if test "$with_gnu_ld" = no; then |
| 5335 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
| 5263 |
– |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' |
| 5336 |
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5337 |
|
_LT_TAGVAR(hardcode_direct, $1)=yes |
| 5338 |
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 5774 |
|
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], |
| 5775 |
|
[Flag to hardcode $libdir into a binary during linking. |
| 5776 |
|
This must work even if $libdir does not exist]) |
| 5705 |
– |
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], |
| 5706 |
– |
[[If ld is used when linking, flag to hardcode $libdir into a binary |
| 5707 |
– |
during linking. This must work even if $libdir does not exist]]) |
| 5777 |
|
_LT_TAGDECL([], [hardcode_libdir_separator], [1], |
| 5778 |
|
[Whether we need a single "-rpath" flag with a separated argument]) |
| 5779 |
|
_LT_TAGDECL([], [hardcode_direct], [0], |
| 5927 |
|
_LT_TAGVAR(hardcode_direct, $1)=no |
| 5928 |
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| 5929 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 5861 |
– |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= |
| 5930 |
|
_LT_TAGVAR(hardcode_libdir_separator, $1)= |
| 5931 |
|
_LT_TAGVAR(hardcode_minus_L, $1)=no |
| 5932 |
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 6296 |
|
esac |
| 6297 |
|
;; |
| 6298 |
|
|
| 6299 |
< |
freebsd[[12]]*) |
| 6299 |
> |
freebsd2.*) |
| 6300 |
|
# C++ shared libraries reported to be fairly broken before |
| 6301 |
|
# switch to ELF |
| 6302 |
|
_LT_TAGVAR(ld_shlibs, $1)=no |
| 7057 |
|
} |
| 7058 |
|
}; |
| 7059 |
|
_LT_EOF |
| 7060 |
+ |
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF |
| 7061 |
+ |
package foo |
| 7062 |
+ |
func foo() { |
| 7063 |
+ |
} |
| 7064 |
+ |
_LT_EOF |
| 7065 |
|
]) |
| 7066 |
|
|
| 7067 |
|
_lt_libdeps_save_CFLAGS=$CFLAGS |
| 7068 |
|
case "$CC $CFLAGS " in #( |
| 7069 |
|
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
| 7070 |
|
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
| 7071 |
+ |
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; |
| 7072 |
|
esac |
| 7073 |
|
|
| 7074 |
|
dnl Parse the compiler output and extract the necessary |
| 7265 |
|
_LT_TAGVAR(hardcode_direct, $1)=no |
| 7266 |
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| 7267 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 7194 |
– |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= |
| 7268 |
|
_LT_TAGVAR(hardcode_libdir_separator, $1)= |
| 7269 |
|
_LT_TAGVAR(hardcode_minus_L, $1)=no |
| 7270 |
|
_LT_TAGVAR(hardcode_automatic, $1)=no |
| 7397 |
|
_LT_TAGVAR(hardcode_direct, $1)=no |
| 7398 |
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| 7399 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 7327 |
– |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= |
| 7400 |
|
_LT_TAGVAR(hardcode_libdir_separator, $1)= |
| 7401 |
|
_LT_TAGVAR(hardcode_minus_L, $1)=no |
| 7402 |
|
_LT_TAGVAR(hardcode_automatic, $1)=no |
| 7579 |
|
])# _LT_LANG_GCJ_CONFIG |
| 7580 |
|
|
| 7581 |
|
|
| 7582 |
+ |
# _LT_LANG_GO_CONFIG([TAG]) |
| 7583 |
+ |
# -------------------------- |
| 7584 |
+ |
# Ensure that the configuration variables for the GNU Go compiler |
| 7585 |
+ |
# are suitably defined. These variables are subsequently used by _LT_CONFIG |
| 7586 |
+ |
# to write the compiler configuration to `libtool'. |
| 7587 |
+ |
m4_defun([_LT_LANG_GO_CONFIG], |
| 7588 |
+ |
[AC_REQUIRE([LT_PROG_GO])dnl |
| 7589 |
+ |
AC_LANG_SAVE |
| 7590 |
+ |
|
| 7591 |
+ |
# Source file extension for Go test sources. |
| 7592 |
+ |
ac_ext=go |
| 7593 |
+ |
|
| 7594 |
+ |
# Object file extension for compiled Go test sources. |
| 7595 |
+ |
objext=o |
| 7596 |
+ |
_LT_TAGVAR(objext, $1)=$objext |
| 7597 |
+ |
|
| 7598 |
+ |
# Code to be used in simple compile tests |
| 7599 |
+ |
lt_simple_compile_test_code="package main; func main() { }" |
| 7600 |
+ |
|
| 7601 |
+ |
# Code to be used in simple link tests |
| 7602 |
+ |
lt_simple_link_test_code='package main; func main() { }' |
| 7603 |
+ |
|
| 7604 |
+ |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 7605 |
+ |
_LT_TAG_COMPILER |
| 7606 |
+ |
|
| 7607 |
+ |
# save warnings/boilerplate of simple test code |
| 7608 |
+ |
_LT_COMPILER_BOILERPLATE |
| 7609 |
+ |
_LT_LINKER_BOILERPLATE |
| 7610 |
+ |
|
| 7611 |
+ |
# Allow CC to be a program name with arguments. |
| 7612 |
+ |
lt_save_CC=$CC |
| 7613 |
+ |
lt_save_CFLAGS=$CFLAGS |
| 7614 |
+ |
lt_save_GCC=$GCC |
| 7615 |
+ |
GCC=yes |
| 7616 |
+ |
CC=${GOC-"gccgo"} |
| 7617 |
+ |
CFLAGS=$GOFLAGS |
| 7618 |
+ |
compiler=$CC |
| 7619 |
+ |
_LT_TAGVAR(compiler, $1)=$CC |
| 7620 |
+ |
_LT_TAGVAR(LD, $1)="$LD" |
| 7621 |
+ |
_LT_CC_BASENAME([$compiler]) |
| 7622 |
+ |
|
| 7623 |
+ |
# Go did not exist at the time GCC didn't implicitly link libc in. |
| 7624 |
+ |
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 7625 |
+ |
|
| 7626 |
+ |
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 7627 |
+ |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 7628 |
+ |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 7629 |
+ |
|
| 7630 |
+ |
if test -n "$compiler"; then |
| 7631 |
+ |
_LT_COMPILER_NO_RTTI($1) |
| 7632 |
+ |
_LT_COMPILER_PIC($1) |
| 7633 |
+ |
_LT_COMPILER_C_O($1) |
| 7634 |
+ |
_LT_COMPILER_FILE_LOCKS($1) |
| 7635 |
+ |
_LT_LINKER_SHLIBS($1) |
| 7636 |
+ |
_LT_LINKER_HARDCODE_LIBPATH($1) |
| 7637 |
+ |
|
| 7638 |
+ |
_LT_CONFIG($1) |
| 7639 |
+ |
fi |
| 7640 |
+ |
|
| 7641 |
+ |
AC_LANG_RESTORE |
| 7642 |
+ |
|
| 7643 |
+ |
GCC=$lt_save_GCC |
| 7644 |
+ |
CC=$lt_save_CC |
| 7645 |
+ |
CFLAGS=$lt_save_CFLAGS |
| 7646 |
+ |
])# _LT_LANG_GO_CONFIG |
| 7647 |
+ |
|
| 7648 |
+ |
|
| 7649 |
|
# _LT_LANG_RC_CONFIG([TAG]) |
| 7650 |
|
# ------------------------- |
| 7651 |
|
# Ensure that the configuration variables for the Windows resource compiler |
| 7715 |
|
dnl AC_DEFUN([LT_AC_PROG_GCJ], []) |
| 7716 |
|
|
| 7717 |
|
|
| 7718 |
+ |
# LT_PROG_GO |
| 7719 |
+ |
# ---------- |
| 7720 |
+ |
AC_DEFUN([LT_PROG_GO], |
| 7721 |
+ |
[AC_CHECK_TOOL(GOC, gccgo,) |
| 7722 |
+ |
]) |
| 7723 |
+ |
|
| 7724 |
+ |
|
| 7725 |
|
# LT_PROG_RC |
| 7726 |
|
# ---------- |
| 7727 |
|
AC_DEFUN([LT_PROG_RC], |
| 8063 |
|
|
| 8064 |
|
# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*- |
| 8065 |
|
# |
| 8066 |
< |
# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc. |
| 8066 |
> |
# Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc. |
| 8067 |
|
# Written by Thomas Tanner, 1999 |
| 8068 |
|
# |
| 8069 |
|
# This file is free software; the Free Software Foundation gives |
| 8616 |
|
[ |
| 8617 |
|
module=yes |
| 8618 |
|
eval libltdl_cv_shlibext=$shrext_cmds |
| 8619 |
+ |
module=no |
| 8620 |
+ |
eval libltdl_cv_shrext=$shrext_cmds |
| 8621 |
|
]) |
| 8622 |
|
if test -n "$libltdl_cv_shlibext"; then |
| 8623 |
|
m4_pattern_allow([LT_MODULE_EXT])dnl |
| 8624 |
|
AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], |
| 8625 |
|
[Define to the extension used for runtime loadable modules, say, ".so".]) |
| 8626 |
|
fi |
| 8627 |
+ |
if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then |
| 8628 |
+ |
m4_pattern_allow([LT_SHARED_EXT])dnl |
| 8629 |
+ |
AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"], |
| 8630 |
+ |
[Define to the shared library suffix, say, ".dylib".]) |
| 8631 |
+ |
fi |
| 8632 |
|
])# LT_SYS_MODULE_EXT |
| 8633 |
|
|
| 8634 |
|
# Old name: |
| 9204 |
|
# MODE is either `yes' or `no'. If omitted, it defaults to `both'. |
| 9205 |
|
m4_define([_LT_WITH_PIC], |
| 9206 |
|
[AC_ARG_WITH([pic], |
| 9207 |
< |
[AS_HELP_STRING([--with-pic], |
| 9207 |
> |
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], |
| 9208 |
|
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])], |
| 9209 |
< |
[pic_mode="$withval"], |
| 9209 |
> |
[lt_p=${PACKAGE-default} |
| 9210 |
> |
case $withval in |
| 9211 |
> |
yes|no) pic_mode=$withval ;; |
| 9212 |
> |
*) |
| 9213 |
> |
pic_mode=default |
| 9214 |
> |
# Look at the argument we got. We use all the common list separators. |
| 9215 |
> |
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9216 |
> |
for lt_pkg in $withval; do |
| 9217 |
> |
IFS="$lt_save_ifs" |
| 9218 |
> |
if test "X$lt_pkg" = "X$lt_p"; then |
| 9219 |
> |
pic_mode=yes |
| 9220 |
> |
fi |
| 9221 |
> |
done |
| 9222 |
> |
IFS="$lt_save_ifs" |
| 9223 |
> |
;; |
| 9224 |
> |
esac], |
| 9225 |
|
[pic_mode=default]) |
| 9226 |
|
|
| 9227 |
|
test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) |
| 9393 |
|
|
| 9394 |
|
# @configure_input@ |
| 9395 |
|
|
| 9396 |
< |
# serial 3293 ltversion.m4 |
| 9396 |
> |
# serial 3337 ltversion.m4 |
| 9397 |
|
# This file is part of GNU Libtool |
| 9398 |
|
|
| 9399 |
< |
m4_define([LT_PACKAGE_VERSION], [2.4]) |
| 9400 |
< |
m4_define([LT_PACKAGE_REVISION], [1.3293]) |
| 9399 |
> |
m4_define([LT_PACKAGE_VERSION], [2.4.2]) |
| 9400 |
> |
m4_define([LT_PACKAGE_REVISION], [1.3337]) |
| 9401 |
|
|
| 9402 |
|
AC_DEFUN([LTVERSION_VERSION], |
| 9403 |
< |
[macro_version='2.4' |
| 9404 |
< |
macro_revision='1.3293' |
| 9403 |
> |
[macro_version='2.4.2' |
| 9404 |
> |
macro_revision='1.3337' |
| 9405 |
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
| 9406 |
|
_LT_DECL(, macro_revision, 0) |
| 9407 |
|
]) |
| 9505 |
|
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
| 9506 |
|
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
| 9507 |
|
|
| 9508 |
< |
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 9508 |
> |
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software |
| 9509 |
> |
# Foundation, Inc. |
| 9510 |
|
# |
| 9511 |
|
# This file is free software; the Free Software Foundation |
| 9512 |
|
# gives unlimited permission to copy and/or distribute it, |
| 9513 |
|
# with or without modifications, as long as this notice is preserved. |
| 9514 |
|
|
| 9515 |
+ |
# serial 1 |
| 9516 |
+ |
|
| 9517 |
|
# AM_AUTOMAKE_VERSION(VERSION) |
| 9518 |
|
# ---------------------------- |
| 9519 |
|
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 9523 |
|
[am__api_version='1.11' |
| 9524 |
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 9525 |
|
dnl require some minimum version. Point them to the right macro. |
| 9526 |
< |
m4_if([$1], [1.11.1], [], |
| 9526 |
> |
m4_if([$1], [1.11.2], [], |
| 9527 |
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 9528 |
|
]) |
| 9529 |
|
|
| 9539 |
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 9540 |
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
| 9541 |
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 9542 |
< |
[AM_AUTOMAKE_VERSION([1.11.1])dnl |
| 9542 |
> |
[AM_AUTOMAKE_VERSION([1.11.2])dnl |
| 9543 |
|
m4_ifndef([AC_AUTOCONF_VERSION], |
| 9544 |
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 9545 |
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| 9546 |
|
|
| 9547 |
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 9548 |
|
|
| 9549 |
< |
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 9549 |
> |
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
| 9550 |
|
# |
| 9551 |
|
# This file is free software; the Free Software Foundation |
| 9552 |
|
# gives unlimited permission to copy and/or distribute it, |
| 9553 |
|
# with or without modifications, as long as this notice is preserved. |
| 9554 |
|
|
| 9555 |
+ |
# serial 1 |
| 9556 |
+ |
|
| 9557 |
|
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| 9558 |
|
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
| 9559 |
|
# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
| 9635 |
|
Usually this means the macro was only invoked conditionally.]]) |
| 9636 |
|
fi])]) |
| 9637 |
|
|
| 9638 |
< |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
| 9639 |
< |
# Free Software Foundation, Inc. |
| 9638 |
> |
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, |
| 9639 |
> |
# 2010, 2011 Free Software Foundation, Inc. |
| 9640 |
|
# |
| 9641 |
|
# This file is free software; the Free Software Foundation |
| 9642 |
|
# gives unlimited permission to copy and/or distribute it, |
| 9643 |
|
# with or without modifications, as long as this notice is preserved. |
| 9644 |
|
|
| 9645 |
< |
# serial 10 |
| 9645 |
> |
# serial 12 |
| 9646 |
|
|
| 9647 |
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
| 9648 |
|
# written in clear, in which case automake, when reading aclocal.m4, |
| 9682 |
|
# instance it was reported that on HP-UX the gcc test will end up |
| 9683 |
|
# making a dummy file named `D' -- because `-MD' means `put the output |
| 9684 |
|
# in D'. |
| 9685 |
+ |
rm -rf conftest.dir |
| 9686 |
|
mkdir conftest.dir |
| 9687 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 9688 |
|
# using a relative directory. |
| 9747 |
|
break |
| 9748 |
|
fi |
| 9749 |
|
;; |
| 9750 |
< |
msvisualcpp | msvcmsys) |
| 9750 |
> |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 9751 |
|
# This compiler won't grok `-c -o', but also, the minuso test has |
| 9752 |
|
# not run yet. These depmodes are late enough in the game, and |
| 9753 |
|
# so weak that their functioning should not be impacted. |
| 9812 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 9813 |
|
am_depcomp="$ac_aux_dir/depcomp" |
| 9814 |
|
AMDEPBACKSLASH='\' |
| 9815 |
+ |
am__nodep='_no' |
| 9816 |
|
fi |
| 9817 |
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 9818 |
|
AC_SUBST([AMDEPBACKSLASH])dnl |
| 9819 |
|
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 9820 |
+ |
AC_SUBST([am__nodep])dnl |
| 9821 |
+ |
_AM_SUBST_NOTMAKE([am__nodep])dnl |
| 9822 |
|
]) |
| 9823 |
|
|
| 9824 |
|
# Generate code to set up dependency tracking. -*- Autoconf -*- |
| 10040 |
|
done |
| 10041 |
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| 10042 |
|
|
| 10043 |
< |
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. |
| 10043 |
> |
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, |
| 10044 |
> |
# Inc. |
| 10045 |
|
# |
| 10046 |
|
# This file is free software; the Free Software Foundation |
| 10047 |
|
# gives unlimited permission to copy and/or distribute it, |
| 10048 |
|
# with or without modifications, as long as this notice is preserved. |
| 10049 |
|
|
| 10050 |
+ |
# serial 1 |
| 10051 |
+ |
|
| 10052 |
|
# AM_PROG_INSTALL_SH |
| 10053 |
|
# ------------------ |
| 10054 |
|
# Define $install_sh. |
| 10109 |
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
| 10110 |
|
# From Jim Meyering |
| 10111 |
|
|
| 10112 |
< |
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
| 10113 |
< |
# Free Software Foundation, Inc. |
| 10112 |
> |
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, |
| 10113 |
> |
# 2011 Free Software Foundation, Inc. |
| 10114 |
|
# |
| 10115 |
|
# This file is free software; the Free Software Foundation |
| 10116 |
|
# gives unlimited permission to copy and/or distribute it, |
| 10130 |
|
[disable], [m4_define([am_maintainer_other], [enable])], |
| 10131 |
|
[m4_define([am_maintainer_other], [enable]) |
| 10132 |
|
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
| 10133 |
< |
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) |
| 10133 |
> |
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
| 10134 |
|
dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
| 10135 |
|
AC_ARG_ENABLE([maintainer-mode], |
| 10136 |
|
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful |
| 10241 |
|
fi |
| 10242 |
|
]) |
| 10243 |
|
|
| 10244 |
< |
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 10244 |
> |
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, |
| 10245 |
> |
# Inc. |
| 10246 |
|
# |
| 10247 |
|
# This file is free software; the Free Software Foundation |
| 10248 |
|
# gives unlimited permission to copy and/or distribute it, |
| 10249 |
|
# with or without modifications, as long as this notice is preserved. |
| 10250 |
|
|
| 10251 |
+ |
# serial 1 |
| 10252 |
+ |
|
| 10253 |
|
# AM_PROG_MKDIR_P |
| 10254 |
|
# --------------- |
| 10255 |
|
# Check for `mkdir -p'. |
| 10272 |
|
|
| 10273 |
|
# Helper functions for option handling. -*- Autoconf -*- |
| 10274 |
|
|
| 10275 |
< |
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
| 10275 |
> |
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software |
| 10276 |
> |
# Foundation, Inc. |
| 10277 |
|
# |
| 10278 |
|
# This file is free software; the Free Software Foundation |
| 10279 |
|
# gives unlimited permission to copy and/or distribute it, |
| 10280 |
|
# with or without modifications, as long as this notice is preserved. |
| 10281 |
|
|
| 10282 |
< |
# serial 4 |
| 10282 |
> |
# serial 5 |
| 10283 |
|
|
| 10284 |
|
# _AM_MANGLE_OPTION(NAME) |
| 10285 |
|
# ----------------------- |
| 10287 |
|
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
| 10288 |
|
|
| 10289 |
|
# _AM_SET_OPTION(NAME) |
| 10290 |
< |
# ------------------------------ |
| 10290 |
> |
# -------------------- |
| 10291 |
|
# Set option NAME. Presently that only means defining a flag for this option. |
| 10292 |
|
AC_DEFUN([_AM_SET_OPTION], |
| 10293 |
|
[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
| 10294 |
|
|
| 10295 |
|
# _AM_SET_OPTIONS(OPTIONS) |
| 10296 |
< |
# ---------------------------------- |
| 10296 |
> |
# ------------------------ |
| 10297 |
|
# OPTIONS is a space-separated list of Automake options. |
| 10298 |
|
AC_DEFUN([_AM_SET_OPTIONS], |
| 10299 |
|
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
| 10369 |
|
fi |
| 10370 |
|
AC_MSG_RESULT(yes)]) |
| 10371 |
|
|
| 10372 |
< |
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 10372 |
> |
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
| 10373 |
|
# |
| 10374 |
|
# This file is free software; the Free Software Foundation |
| 10375 |
|
# gives unlimited permission to copy and/or distribute it, |
| 10376 |
|
# with or without modifications, as long as this notice is preserved. |
| 10377 |
|
|
| 10378 |
+ |
# serial 1 |
| 10379 |
+ |
|
| 10380 |
|
# AM_PROG_INSTALL_STRIP |
| 10381 |
|
# --------------------- |
| 10382 |
|
# One issue with vendor `install' (even GNU) is that you can't |
| 10399 |
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 10400 |
|
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 10401 |
|
|
| 10402 |
< |
# Copyright (C) 2006, 2008 Free Software Foundation, Inc. |
| 10402 |
> |
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. |
| 10403 |
|
# |
| 10404 |
|
# This file is free software; the Free Software Foundation |
| 10405 |
|
# gives unlimited permission to copy and/or distribute it, |
| 10406 |
|
# with or without modifications, as long as this notice is preserved. |
| 10407 |
|
|
| 10408 |
< |
# serial 2 |
| 10408 |
> |
# serial 3 |
| 10409 |
|
|
| 10410 |
|
# _AM_SUBST_NOTMAKE(VARIABLE) |
| 10411 |
|
# --------------------------- |
| 10414 |
|
AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 10415 |
|
|
| 10416 |
|
# AM_SUBST_NOTMAKE(VARIABLE) |
| 10417 |
< |
# --------------------------- |
| 10417 |
> |
# -------------------------- |
| 10418 |
|
# Public sister of _AM_SUBST_NOTMAKE. |
| 10419 |
|
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 10420 |
|
|