* Update GNU libtool to 2.4.2.
This commit is contained in:
parent
cae87ed58a
commit
ee7c87492b
@ -1,5 +1,7 @@
|
|||||||
2011-10-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
2011-10-22 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
||||||
|
|
||||||
|
* Update GNU libtool to 2.4.2.
|
||||||
|
|
||||||
* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
|
* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
|
||||||
uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe
|
uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe
|
||||||
Deroulers.
|
Deroulers.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
# libtool (GNU libtool) 2.4
|
# libtool (GNU libtool) 2.4.2
|
||||||
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||||
|
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
|
||||||
# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||||
# This is free software; see the source for copying conditions. There is NO
|
# This is free software; see the source for copying conditions. There is NO
|
||||||
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
@ -41,6 +41,7 @@
|
|||||||
# --quiet, --silent don't print informational messages
|
# --quiet, --silent don't print informational messages
|
||||||
# --no-quiet, --no-silent
|
# --no-quiet, --no-silent
|
||||||
# print informational messages (default)
|
# print informational messages (default)
|
||||||
|
# --no-warn don't display warning messages
|
||||||
# --tag=TAG use configuration variables from tag TAG
|
# --tag=TAG use configuration variables from tag TAG
|
||||||
# -v, --verbose print more informational messages than default
|
# -v, --verbose print more informational messages than default
|
||||||
# --no-verbose don't print the extra informational messages
|
# --no-verbose don't print the extra informational messages
|
||||||
@ -69,7 +70,7 @@
|
|||||||
# compiler: $LTCC
|
# compiler: $LTCC
|
||||||
# compiler flags: $LTCFLAGS
|
# compiler flags: $LTCFLAGS
|
||||||
# linker: $LD (gnu? $with_gnu_ld)
|
# linker: $LD (gnu? $with_gnu_ld)
|
||||||
# $progname: (GNU libtool) 2.4
|
# $progname: (GNU libtool) 2.4.2
|
||||||
# automake: $automake_version
|
# automake: $automake_version
|
||||||
# autoconf: $autoconf_version
|
# autoconf: $autoconf_version
|
||||||
#
|
#
|
||||||
@ -79,9 +80,9 @@
|
|||||||
|
|
||||||
PROGRAM=libtool
|
PROGRAM=libtool
|
||||||
PACKAGE=libtool
|
PACKAGE=libtool
|
||||||
VERSION=2.4
|
VERSION=2.4.2
|
||||||
TIMESTAMP=""
|
TIMESTAMP=""
|
||||||
package_revision=1.3293
|
package_revision=1.3337
|
||||||
|
|
||||||
# Be Bourne compatible
|
# Be Bourne compatible
|
||||||
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
||||||
@ -136,15 +137,10 @@ progpath="$0"
|
|||||||
|
|
||||||
: ${CP="cp -f"}
|
: ${CP="cp -f"}
|
||||||
test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
|
test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
|
||||||
: ${EGREP="grep -E"}
|
|
||||||
: ${FGREP="grep -F"}
|
|
||||||
: ${GREP="grep"}
|
|
||||||
: ${LN_S="ln -s"}
|
|
||||||
: ${MAKE="make"}
|
: ${MAKE="make"}
|
||||||
: ${MKDIR="mkdir"}
|
: ${MKDIR="mkdir"}
|
||||||
: ${MV="mv -f"}
|
: ${MV="mv -f"}
|
||||||
: ${RM="rm -f"}
|
: ${RM="rm -f"}
|
||||||
: ${SED="sed"}
|
|
||||||
: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
|
: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
|
||||||
: ${Xsed="$SED -e 1s/^X//"}
|
: ${Xsed="$SED -e 1s/^X//"}
|
||||||
|
|
||||||
@ -387,7 +383,7 @@ case $progpath in
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
save_IFS="$IFS"
|
save_IFS="$IFS"
|
||||||
IFS=:
|
IFS=${PATH_SEPARATOR-:}
|
||||||
for progdir in $PATH; do
|
for progdir in $PATH; do
|
||||||
IFS="$save_IFS"
|
IFS="$save_IFS"
|
||||||
test -x "$progdir/$progname" && break
|
test -x "$progdir/$progname" && break
|
||||||
@ -771,8 +767,8 @@ func_help ()
|
|||||||
s*\$LTCFLAGS*'"$LTCFLAGS"'*
|
s*\$LTCFLAGS*'"$LTCFLAGS"'*
|
||||||
s*\$LD*'"$LD"'*
|
s*\$LD*'"$LD"'*
|
||||||
s/\$with_gnu_ld/'"$with_gnu_ld"'/
|
s/\$with_gnu_ld/'"$with_gnu_ld"'/
|
||||||
s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
|
s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
|
||||||
s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
|
s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
|
||||||
p
|
p
|
||||||
d
|
d
|
||||||
}
|
}
|
||||||
@ -1052,6 +1048,7 @@ opt_finish=false
|
|||||||
opt_help=false
|
opt_help=false
|
||||||
opt_help_all=false
|
opt_help_all=false
|
||||||
opt_silent=:
|
opt_silent=:
|
||||||
|
opt_warning=:
|
||||||
opt_verbose=:
|
opt_verbose=:
|
||||||
opt_silent=false
|
opt_silent=false
|
||||||
opt_verbose=false
|
opt_verbose=false
|
||||||
@ -1118,6 +1115,10 @@ esac
|
|||||||
;;
|
;;
|
||||||
--no-silent|--no-quiet)
|
--no-silent|--no-quiet)
|
||||||
opt_silent=false
|
opt_silent=false
|
||||||
|
func_append preserve_args " $opt"
|
||||||
|
;;
|
||||||
|
--no-warning|--no-warn)
|
||||||
|
opt_warning=false
|
||||||
func_append preserve_args " $opt"
|
func_append preserve_args " $opt"
|
||||||
;;
|
;;
|
||||||
--no-verbose)
|
--no-verbose)
|
||||||
@ -2059,7 +2060,7 @@ func_mode_compile ()
|
|||||||
*.[cCFSifmso] | \
|
*.[cCFSifmso] | \
|
||||||
*.ada | *.adb | *.ads | *.asm | \
|
*.ada | *.adb | *.ads | *.asm | \
|
||||||
*.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
|
*.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
|
||||||
*.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
|
*.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
|
||||||
func_xform "$libobj"
|
func_xform "$libobj"
|
||||||
libobj=$func_xform_result
|
libobj=$func_xform_result
|
||||||
;;
|
;;
|
||||||
@ -3201,11 +3202,13 @@ func_mode_install ()
|
|||||||
|
|
||||||
# Set up the ranlib parameters.
|
# Set up the ranlib parameters.
|
||||||
oldlib="$destdir/$name"
|
oldlib="$destdir/$name"
|
||||||
|
func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
|
||||||
|
tool_oldlib=$func_to_tool_file_result
|
||||||
|
|
||||||
func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
|
func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
|
||||||
|
|
||||||
if test -n "$stripme" && test -n "$old_striplib"; then
|
if test -n "$stripme" && test -n "$old_striplib"; then
|
||||||
func_show_eval "$old_striplib $oldlib" 'exit $?'
|
func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Do each command in the postinstall commands.
|
# Do each command in the postinstall commands.
|
||||||
@ -3470,7 +3473,7 @@ static const void *lt_preloaded_setup() {
|
|||||||
# linked before any other PIC object. But we must not use
|
# linked before any other PIC object. But we must not use
|
||||||
# pic_flag when linking with -static. The problem exists in
|
# pic_flag when linking with -static. The problem exists in
|
||||||
# FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
|
# FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
|
||||||
*-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
|
*-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
|
||||||
pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
|
pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
|
||||||
*-*-hpux*)
|
*-*-hpux*)
|
||||||
pic_flag_for_symtable=" $pic_flag" ;;
|
pic_flag_for_symtable=" $pic_flag" ;;
|
||||||
@ -3982,14 +3985,17 @@ func_exec_program_core ()
|
|||||||
# launches target application with the remaining arguments.
|
# launches target application with the remaining arguments.
|
||||||
func_exec_program ()
|
func_exec_program ()
|
||||||
{
|
{
|
||||||
for lt_wr_arg
|
case \" \$* \" in
|
||||||
do
|
*\\ --lt-*)
|
||||||
case \$lt_wr_arg in
|
for lt_wr_arg
|
||||||
--lt-*) ;;
|
do
|
||||||
*) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
|
case \$lt_wr_arg in
|
||||||
esac
|
--lt-*) ;;
|
||||||
shift
|
*) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
|
||||||
done
|
esac
|
||||||
|
shift
|
||||||
|
done ;;
|
||||||
|
esac
|
||||||
func_exec_program_core \${1+\"\$@\"}
|
func_exec_program_core \${1+\"\$@\"}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5057,9 +5063,15 @@ void lt_dump_script (FILE* f)
|
|||||||
{
|
{
|
||||||
EOF
|
EOF
|
||||||
func_emit_wrapper yes |
|
func_emit_wrapper yes |
|
||||||
$SED -e 's/\([\\"]\)/\\\1/g' \
|
$SED -n -e '
|
||||||
-e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
|
s/^\(.\{79\}\)\(..*\)/\1\
|
||||||
|
\2/
|
||||||
|
h
|
||||||
|
s/\([\\"]\)/\\\1/g
|
||||||
|
s/$/\\n/
|
||||||
|
s/\([^\n]*\).*/ fputs ("\1", f);/p
|
||||||
|
g
|
||||||
|
D'
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
@ -5643,7 +5655,8 @@ func_mode_link ()
|
|||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
|
||||||
|
|-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
|
||||||
func_append compiler_flags " $arg"
|
func_append compiler_flags " $arg"
|
||||||
func_append compile_command " $arg"
|
func_append compile_command " $arg"
|
||||||
func_append finalize_command " $arg"
|
func_append finalize_command " $arg"
|
||||||
@ -6147,7 +6160,8 @@ func_mode_link ()
|
|||||||
lib=
|
lib=
|
||||||
found=no
|
found=no
|
||||||
case $deplib in
|
case $deplib in
|
||||||
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
|
||||||
|
|-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
|
||||||
if test "$linkmode,$pass" = "prog,link"; then
|
if test "$linkmode,$pass" = "prog,link"; then
|
||||||
compile_deplibs="$deplib $compile_deplibs"
|
compile_deplibs="$deplib $compile_deplibs"
|
||||||
finalize_deplibs="$deplib $finalize_deplibs"
|
finalize_deplibs="$deplib $finalize_deplibs"
|
||||||
@ -6831,7 +6845,7 @@ func_mode_link ()
|
|||||||
test "$hardcode_direct_absolute" = no; then
|
test "$hardcode_direct_absolute" = no; then
|
||||||
add="$dir/$linklib"
|
add="$dir/$linklib"
|
||||||
elif test "$hardcode_minus_L" = yes; then
|
elif test "$hardcode_minus_L" = yes; then
|
||||||
add_dir="-L$dir"
|
add_dir="-L$absdir"
|
||||||
# Try looking first in the location we're being installed to.
|
# Try looking first in the location we're being installed to.
|
||||||
if test -n "$inst_prefix_dir"; then
|
if test -n "$inst_prefix_dir"; then
|
||||||
case $libdir in
|
case $libdir in
|
||||||
@ -7316,6 +7330,7 @@ func_mode_link ()
|
|||||||
# which has an extra 1 added just for fun
|
# which has an extra 1 added just for fun
|
||||||
#
|
#
|
||||||
case $version_type in
|
case $version_type in
|
||||||
|
# correct linux to gnu/linux during the next big refactor
|
||||||
darwin|linux|osf|windows|none)
|
darwin|linux|osf|windows|none)
|
||||||
func_arith $number_major + $number_minor
|
func_arith $number_major + $number_minor
|
||||||
current=$func_arith_result
|
current=$func_arith_result
|
||||||
@ -7432,7 +7447,7 @@ func_mode_link ()
|
|||||||
versuffix="$major.$revision"
|
versuffix="$major.$revision"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
linux)
|
linux) # correct to gnu/linux during the next big refactor
|
||||||
func_arith $current - $age
|
func_arith $current - $age
|
||||||
major=.$func_arith_result
|
major=.$func_arith_result
|
||||||
versuffix="$major.$age.$revision"
|
versuffix="$major.$age.$revision"
|
||||||
@ -8020,6 +8035,11 @@ EOF
|
|||||||
|
|
||||||
# Test again, we may have decided not to build it any more
|
# Test again, we may have decided not to build it any more
|
||||||
if test "$build_libtool_libs" = yes; then
|
if test "$build_libtool_libs" = yes; then
|
||||||
|
# Remove ${wl} instances when linking with ld.
|
||||||
|
# FIXME: should test the right _cmds variable.
|
||||||
|
case $archive_cmds in
|
||||||
|
*\$LD\ *) wl= ;;
|
||||||
|
esac
|
||||||
if test "$hardcode_into_libs" = yes; then
|
if test "$hardcode_into_libs" = yes; then
|
||||||
# Hardcode the library paths
|
# Hardcode the library paths
|
||||||
hardcode_libdirs=
|
hardcode_libdirs=
|
||||||
@ -8050,7 +8070,7 @@ EOF
|
|||||||
elif test -n "$runpath_var"; then
|
elif test -n "$runpath_var"; then
|
||||||
case "$perm_rpath " in
|
case "$perm_rpath " in
|
||||||
*" $libdir "*) ;;
|
*" $libdir "*) ;;
|
||||||
*) func_apped perm_rpath " $libdir" ;;
|
*) func_append perm_rpath " $libdir" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -8058,11 +8078,7 @@ EOF
|
|||||||
if test -n "$hardcode_libdir_separator" &&
|
if test -n "$hardcode_libdir_separator" &&
|
||||||
test -n "$hardcode_libdirs"; then
|
test -n "$hardcode_libdirs"; then
|
||||||
libdir="$hardcode_libdirs"
|
libdir="$hardcode_libdirs"
|
||||||
if test -n "$hardcode_libdir_flag_spec_ld"; then
|
eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
|
||||||
eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
|
|
||||||
else
|
|
||||||
eval dep_rpath=\"$hardcode_libdir_flag_spec\"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if test -n "$runpath_var" && test -n "$perm_rpath"; then
|
if test -n "$runpath_var" && test -n "$perm_rpath"; then
|
||||||
# We should set the runpath_var.
|
# We should set the runpath_var.
|
||||||
@ -9152,6 +9168,8 @@ EOF
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
|
||||||
|
tool_oldlib=$func_to_tool_file_result
|
||||||
eval cmds=\"$old_archive_cmds\"
|
eval cmds=\"$old_archive_cmds\"
|
||||||
|
|
||||||
func_len " $cmds"
|
func_len " $cmds"
|
||||||
@ -9261,7 +9279,8 @@ EOF
|
|||||||
*.la)
|
*.la)
|
||||||
func_basename "$deplib"
|
func_basename "$deplib"
|
||||||
name="$func_basename_result"
|
name="$func_basename_result"
|
||||||
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
|
func_resolve_sysroot "$deplib"
|
||||||
|
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
|
||||||
test -z "$libdir" && \
|
test -z "$libdir" && \
|
||||||
func_fatal_error "\`$deplib' is not a valid libtool archive"
|
func_fatal_error "\`$deplib' is not a valid libtool archive"
|
||||||
func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
|
func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
|
||||||
|
229
configure
vendored
229
configure
vendored
@ -1514,7 +1514,7 @@ Optional Features:
|
|||||||
Optional Packages:
|
Optional Packages:
|
||||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
||||||
both]
|
both]
|
||||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||||
--with-sysroot=DIR Search for dependent libraries within DIR
|
--with-sysroot=DIR Search for dependent libraries within DIR
|
||||||
@ -4568,8 +4568,8 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
macro_version='2.4'
|
macro_version='2.4.2'
|
||||||
macro_revision='1.3293'
|
macro_revision='1.3337'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -5332,6 +5332,11 @@ else
|
|||||||
lt_cv_sys_max_cmd_len=196608
|
lt_cv_sys_max_cmd_len=196608
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
os2*)
|
||||||
|
# The test takes a long time on OS/2.
|
||||||
|
lt_cv_sys_max_cmd_len=8192
|
||||||
|
;;
|
||||||
|
|
||||||
osf*)
|
osf*)
|
||||||
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
||||||
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
||||||
@ -5371,7 +5376,7 @@ else
|
|||||||
# If test is not a shell built-in, we'll probably end up computing a
|
# If test is not a shell built-in, we'll probably end up computing a
|
||||||
# maximum length that is only half of the actual maximum length, but
|
# maximum length that is only half of the actual maximum length, but
|
||||||
# we can't tell.
|
# we can't tell.
|
||||||
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
|
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
|
||||||
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
||||||
test $i != 17 # 1/2 MB should be enough
|
test $i != 17 # 1/2 MB should be enough
|
||||||
do
|
do
|
||||||
@ -5797,7 +5802,7 @@ irix5* | irix6* | nonstopux*)
|
|||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# This must be Linux ELF.
|
# This must be glibc/ELF.
|
||||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
@ -6435,13 +6440,13 @@ old_postuninstall_cmds=
|
|||||||
if test -n "$RANLIB"; then
|
if test -n "$RANLIB"; then
|
||||||
case $host_os in
|
case $host_os in
|
||||||
openbsd*)
|
openbsd*)
|
||||||
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
@ -6588,6 +6593,7 @@ for ac_symprfx in "" "_"; do
|
|||||||
# which start with @ or ?.
|
# which start with @ or ?.
|
||||||
lt_cv_sys_global_symbol_pipe="$AWK '"\
|
lt_cv_sys_global_symbol_pipe="$AWK '"\
|
||||||
" {last_section=section; section=\$ 3};"\
|
" {last_section=section; section=\$ 3};"\
|
||||||
|
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
|
||||||
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
||||||
" \$ 0!~/External *\|/{next};"\
|
" \$ 0!~/External *\|/{next};"\
|
||||||
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
||||||
@ -6976,7 +6982,7 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
|||||||
CFLAGS="$SAVE_CFLAGS"
|
CFLAGS="$SAVE_CFLAGS"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
sparc*-*solaris*)
|
*-*solaris*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo 'int i;' > conftest.$ac_ext
|
echo 'int i;' > conftest.$ac_ext
|
||||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||||
@ -6987,7 +6993,20 @@ sparc*-*solaris*)
|
|||||||
case `/usr/bin/file conftest.o` in
|
case `/usr/bin/file conftest.o` in
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
case $lt_cv_prog_gnu_ld in
|
case $lt_cv_prog_gnu_ld in
|
||||||
yes*) LD="${LD-ld} -m elf64_sparc" ;;
|
yes*)
|
||||||
|
case $host in
|
||||||
|
i?86-*-solaris*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
sparc*-*-solaris*)
|
||||||
|
LD="${LD-ld} -m elf64_sparc"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
|
||||||
|
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
|
||||||
|
LD="${LD-ld}_sol2"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
||||||
LD="${LD-ld} -64"
|
LD="${LD-ld} -64"
|
||||||
@ -7627,7 +7646,13 @@ else
|
|||||||
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
||||||
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
||||||
_lt_result=$?
|
_lt_result=$?
|
||||||
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
|
# If there is a non-empty error log, and "single_module"
|
||||||
|
# appears in it, assume the flag caused a linker warning
|
||||||
|
if test -s conftest.err && $GREP single_module conftest.err; then
|
||||||
|
cat conftest.err >&5
|
||||||
|
# Otherwise, if the output was created with a 0 exit code from
|
||||||
|
# the compiler, it worked.
|
||||||
|
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
|
||||||
lt_cv_apple_cc_single_mod=yes
|
lt_cv_apple_cc_single_mod=yes
|
||||||
else
|
else
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
@ -7638,6 +7663,7 @@ else
|
|||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
||||||
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
||||||
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
||||||
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
if ${lt_cv_ld_exported_symbols_list+:} false; then :
|
||||||
@ -7670,6 +7696,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
|||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
||||||
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
|
||||||
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
$as_echo_n "checking for -force_load linker flag... " >&6; }
|
||||||
if ${lt_cv_ld_force_load+:} false; then :
|
if ${lt_cv_ld_force_load+:} false; then :
|
||||||
@ -7691,7 +7718,9 @@ _LT_EOF
|
|||||||
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
|
||||||
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
||||||
_lt_result=$?
|
_lt_result=$?
|
||||||
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
|
if test -s conftest.err && $GREP force_load conftest.err; then
|
||||||
|
cat conftest.err >&5
|
||||||
|
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
|
||||||
lt_cv_ld_force_load=yes
|
lt_cv_ld_force_load=yes
|
||||||
else
|
else
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
@ -8394,7 +8423,22 @@ fi
|
|||||||
|
|
||||||
# Check whether --with-pic was given.
|
# Check whether --with-pic was given.
|
||||||
if test "${with_pic+set}" = set; then :
|
if test "${with_pic+set}" = set; then :
|
||||||
withval=$with_pic; pic_mode="$withval"
|
withval=$with_pic; lt_p=${PACKAGE-default}
|
||||||
|
case $withval in
|
||||||
|
yes|no) pic_mode=$withval ;;
|
||||||
|
*)
|
||||||
|
pic_mode=default
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
||||||
|
for lt_pkg in $withval; do
|
||||||
|
IFS="$lt_save_ifs"
|
||||||
|
if test "X$lt_pkg" = "X$lt_p"; then
|
||||||
|
pic_mode=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$lt_save_ifs"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
else
|
else
|
||||||
pic_mode=default
|
pic_mode=default
|
||||||
fi
|
fi
|
||||||
@ -8467,6 +8511,10 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -8931,7 +8979,9 @@ lt_prog_compiler_static=
|
|||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
nvcc*) # Cuda Compiler Driver 2.2
|
nvcc*) # Cuda Compiler Driver 2.2
|
||||||
lt_prog_compiler_wl='-Xlinker '
|
lt_prog_compiler_wl='-Xlinker '
|
||||||
lt_prog_compiler_pic='-Xcompiler -fPIC'
|
if test -n "$lt_prog_compiler_pic"; then
|
||||||
|
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
@ -9022,18 +9072,33 @@ lt_prog_compiler_static=
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | sed 5q` in
|
||||||
*Sun\ F* | *Sun*Fortran*)
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
|
||||||
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
||||||
lt_prog_compiler_pic='-KPIC'
|
lt_prog_compiler_pic='-KPIC'
|
||||||
lt_prog_compiler_static='-Bstatic'
|
lt_prog_compiler_static='-Bstatic'
|
||||||
lt_prog_compiler_wl=''
|
lt_prog_compiler_wl=''
|
||||||
;;
|
;;
|
||||||
|
*Sun\ F* | *Sun*Fortran*)
|
||||||
|
lt_prog_compiler_pic='-KPIC'
|
||||||
|
lt_prog_compiler_static='-Bstatic'
|
||||||
|
lt_prog_compiler_wl='-Qoption ld '
|
||||||
|
;;
|
||||||
*Sun\ C*)
|
*Sun\ C*)
|
||||||
# Sun C 5.9
|
# Sun C 5.9
|
||||||
lt_prog_compiler_pic='-KPIC'
|
lt_prog_compiler_pic='-KPIC'
|
||||||
lt_prog_compiler_static='-Bstatic'
|
lt_prog_compiler_static='-Bstatic'
|
||||||
lt_prog_compiler_wl='-Wl,'
|
lt_prog_compiler_wl='-Wl,'
|
||||||
;;
|
;;
|
||||||
|
*Intel*\ [CF]*Compiler*)
|
||||||
|
lt_prog_compiler_wl='-Wl,'
|
||||||
|
lt_prog_compiler_pic='-fPIC'
|
||||||
|
lt_prog_compiler_static='-static'
|
||||||
|
;;
|
||||||
|
*Portland\ Group*)
|
||||||
|
lt_prog_compiler_wl='-Wl,'
|
||||||
|
lt_prog_compiler_pic='-fpic'
|
||||||
|
lt_prog_compiler_static='-Bstatic'
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -9395,7 +9460,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
|||||||
hardcode_direct=no
|
hardcode_direct=no
|
||||||
hardcode_direct_absolute=no
|
hardcode_direct_absolute=no
|
||||||
hardcode_libdir_flag_spec=
|
hardcode_libdir_flag_spec=
|
||||||
hardcode_libdir_flag_spec_ld=
|
|
||||||
hardcode_libdir_separator=
|
hardcode_libdir_separator=
|
||||||
hardcode_minus_L=no
|
hardcode_minus_L=no
|
||||||
hardcode_shlibpath_var=unsupported
|
hardcode_shlibpath_var=unsupported
|
||||||
@ -9645,8 +9709,7 @@ _LT_EOF
|
|||||||
xlf* | bgf* | bgxlf* | mpixlf*)
|
xlf* | bgf* | bgxlf* | mpixlf*)
|
||||||
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
||||||
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
|
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
|
||||||
hardcode_libdir_flag_spec=
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||||
hardcode_libdir_flag_spec_ld='-rpath $libdir'
|
|
||||||
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
||||||
if test "x$supports_anon_versioning" = xyes; then
|
if test "x$supports_anon_versioning" = xyes; then
|
||||||
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
@ -10025,6 +10088,7 @@ fi
|
|||||||
# The linker will not automatically build a static lib if we build a DLL.
|
# The linker will not automatically build a static lib if we build a DLL.
|
||||||
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
|
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
|
||||||
enable_shared_with_static_runtimes=yes
|
enable_shared_with_static_runtimes=yes
|
||||||
|
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
||||||
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
|
||||||
# Don't use ranlib
|
# Don't use ranlib
|
||||||
old_postinstall_cmds='chmod 644 $oldlib'
|
old_postinstall_cmds='chmod 644 $oldlib'
|
||||||
@ -10070,6 +10134,7 @@ fi
|
|||||||
hardcode_shlibpath_var=unsupported
|
hardcode_shlibpath_var=unsupported
|
||||||
if test "$lt_cv_ld_force_load" = "yes"; then
|
if test "$lt_cv_ld_force_load" = "yes"; then
|
||||||
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
||||||
|
|
||||||
else
|
else
|
||||||
whole_archive_flag_spec=''
|
whole_archive_flag_spec=''
|
||||||
fi
|
fi
|
||||||
@ -10098,10 +10163,6 @@ fi
|
|||||||
hardcode_shlibpath_var=no
|
hardcode_shlibpath_var=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd1*)
|
|
||||||
ld_shlibs=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
||||||
# support. Future versions do this automatically, but an explicit c++rt0.o
|
# support. Future versions do this automatically, but an explicit c++rt0.o
|
||||||
# does not break anything, and helps significantly (at the cost of a little
|
# does not break anything, and helps significantly (at the cost of a little
|
||||||
@ -10114,7 +10175,7 @@ fi
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
hardcode_minus_L=yes
|
hardcode_minus_L=yes
|
||||||
@ -10153,7 +10214,6 @@ fi
|
|||||||
fi
|
fi
|
||||||
if test "$with_gnu_ld" = no; then
|
if test "$with_gnu_ld" = no; then
|
||||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||||
hardcode_libdir_flag_spec_ld='+b $libdir'
|
|
||||||
hardcode_libdir_separator=:
|
hardcode_libdir_separator=:
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
hardcode_direct_absolute=yes
|
hardcode_direct_absolute=yes
|
||||||
@ -10771,11 +10831,6 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -10871,7 +10926,7 @@ need_version=unknown
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
aix3*)
|
aix3*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
||||||
shlibpath_var=LIBPATH
|
shlibpath_var=LIBPATH
|
||||||
|
|
||||||
@ -10880,7 +10935,7 @@ aix3*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
aix[4-9]*)
|
aix[4-9]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
@ -10945,7 +11000,7 @@ beos*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
bsdi[45]*)
|
bsdi[45]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
@ -11084,7 +11139,7 @@ darwin* | rhapsody*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
dgux*)
|
dgux*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
||||||
@ -11092,10 +11147,6 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd1*)
|
|
||||||
dynamic_linker=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly*)
|
||||||
# DragonFly does not have aout. When/if they implement a new
|
# DragonFly does not have aout. When/if they implement a new
|
||||||
# versioning mechanism, adjust this.
|
# versioning mechanism, adjust this.
|
||||||
@ -11103,7 +11154,7 @@ freebsd* | dragonfly*)
|
|||||||
objformat=`/usr/bin/objformat`
|
objformat=`/usr/bin/objformat`
|
||||||
else
|
else
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd[123]*) objformat=aout ;;
|
freebsd[23].*) objformat=aout ;;
|
||||||
*) objformat=elf ;;
|
*) objformat=elf ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
@ -11121,7 +11172,7 @@ freebsd* | dragonfly*)
|
|||||||
esac
|
esac
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
;;
|
;;
|
||||||
freebsd3.[01]* | freebsdelf3.[01]*)
|
freebsd3.[01]* | freebsdelf3.[01]*)
|
||||||
@ -11141,17 +11192,18 @@ freebsd* | dragonfly*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
gnu*)
|
gnu*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
|
shlibpath_overrides_runpath=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
haiku*)
|
haiku*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
dynamic_linker="$host_os runtime_loader"
|
dynamic_linker="$host_os runtime_loader"
|
||||||
@ -11212,7 +11264,7 @@ hpux9* | hpux10* | hpux11*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
interix[3-9]*)
|
interix[3-9]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
||||||
@ -11228,7 +11280,7 @@ irix5* | irix6* | nonstopux*)
|
|||||||
nonstopux*) version_type=nonstopux ;;
|
nonstopux*) version_type=nonstopux ;;
|
||||||
*)
|
*)
|
||||||
if test "$lt_cv_prog_gnu_ld" = yes; then
|
if test "$lt_cv_prog_gnu_ld" = yes; then
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
else
|
else
|
||||||
version_type=irix
|
version_type=irix
|
||||||
fi ;;
|
fi ;;
|
||||||
@ -11265,9 +11317,9 @@ linux*oldld* | linux*aout* | linux*coff*)
|
|||||||
dynamic_linker=no
|
dynamic_linker=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# This must be Linux ELF.
|
# This must be glibc/ELF.
|
||||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -11349,7 +11401,7 @@ netbsd*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
newsos6)
|
newsos6)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
@ -11418,7 +11470,7 @@ rdos*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -11443,7 +11495,7 @@ sunos4*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
sysv4 | sysv4.3*)
|
sysv4 | sysv4.3*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -11467,7 +11519,7 @@ sysv4 | sysv4.3*)
|
|||||||
|
|
||||||
sysv4*MP*)
|
sysv4*MP*)
|
||||||
if test -d /usr/nec ;then
|
if test -d /usr/nec ;then
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
||||||
soname_spec='$libname${shared_ext}.$major'
|
soname_spec='$libname${shared_ext}.$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -11498,7 +11550,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|||||||
|
|
||||||
tpf*)
|
tpf*)
|
||||||
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -11508,7 +11560,7 @@ tpf*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
uts4*)
|
uts4*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -12290,6 +12342,8 @@ CC="$lt_save_CC"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_config_commands="$ac_config_commands libtool"
|
ac_config_commands="$ac_config_commands libtool"
|
||||||
|
|
||||||
|
|
||||||
@ -12848,7 +12902,6 @@ export_dynamic_flag_spec_CXX=
|
|||||||
hardcode_direct_CXX=no
|
hardcode_direct_CXX=no
|
||||||
hardcode_direct_absolute_CXX=no
|
hardcode_direct_absolute_CXX=no
|
||||||
hardcode_libdir_flag_spec_CXX=
|
hardcode_libdir_flag_spec_CXX=
|
||||||
hardcode_libdir_flag_spec_ld_CXX=
|
|
||||||
hardcode_libdir_separator_CXX=
|
hardcode_libdir_separator_CXX=
|
||||||
hardcode_minus_L_CXX=no
|
hardcode_minus_L_CXX=no
|
||||||
hardcode_shlibpath_var_CXX=unsupported
|
hardcode_shlibpath_var_CXX=unsupported
|
||||||
@ -13432,6 +13485,7 @@ fi
|
|||||||
hardcode_shlibpath_var_CXX=unsupported
|
hardcode_shlibpath_var_CXX=unsupported
|
||||||
if test "$lt_cv_ld_force_load" = "yes"; then
|
if test "$lt_cv_ld_force_load" = "yes"; then
|
||||||
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
||||||
|
|
||||||
else
|
else
|
||||||
whole_archive_flag_spec_CXX=''
|
whole_archive_flag_spec_CXX=''
|
||||||
fi
|
fi
|
||||||
@ -13476,7 +13530,7 @@ fi
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd[12]*)
|
freebsd2.*)
|
||||||
# C++ shared libraries reported to be fairly broken before
|
# C++ shared libraries reported to be fairly broken before
|
||||||
# switch to ELF
|
# switch to ELF
|
||||||
ld_shlibs_CXX=no
|
ld_shlibs_CXX=no
|
||||||
@ -14152,6 +14206,7 @@ _lt_libdeps_save_CFLAGS=$CFLAGS
|
|||||||
case "$CC $CFLAGS " in #(
|
case "$CC $CFLAGS " in #(
|
||||||
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
|
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
|
||||||
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
|
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
|
||||||
|
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
||||||
@ -14941,7 +14996,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
|
|||||||
;;
|
;;
|
||||||
cygwin* | mingw* | cegcc*)
|
cygwin* | mingw* | cegcc*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*) ;;
|
cl*)
|
||||||
|
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
|
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
|
||||||
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
|
||||||
@ -15091,8 +15148,6 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -15121,7 +15176,7 @@ need_version=unknown
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
aix3*)
|
aix3*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
||||||
shlibpath_var=LIBPATH
|
shlibpath_var=LIBPATH
|
||||||
|
|
||||||
@ -15130,7 +15185,7 @@ aix3*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
aix[4-9]*)
|
aix[4-9]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
@ -15195,7 +15250,7 @@ beos*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
bsdi[45]*)
|
bsdi[45]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
@ -15332,7 +15387,7 @@ darwin* | rhapsody*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
dgux*)
|
dgux*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
||||||
@ -15340,10 +15395,6 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd1*)
|
|
||||||
dynamic_linker=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly*)
|
||||||
# DragonFly does not have aout. When/if they implement a new
|
# DragonFly does not have aout. When/if they implement a new
|
||||||
# versioning mechanism, adjust this.
|
# versioning mechanism, adjust this.
|
||||||
@ -15351,7 +15402,7 @@ freebsd* | dragonfly*)
|
|||||||
objformat=`/usr/bin/objformat`
|
objformat=`/usr/bin/objformat`
|
||||||
else
|
else
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd[123]*) objformat=aout ;;
|
freebsd[23].*) objformat=aout ;;
|
||||||
*) objformat=elf ;;
|
*) objformat=elf ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
@ -15369,7 +15420,7 @@ freebsd* | dragonfly*)
|
|||||||
esac
|
esac
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
;;
|
;;
|
||||||
freebsd3.[01]* | freebsdelf3.[01]*)
|
freebsd3.[01]* | freebsdelf3.[01]*)
|
||||||
@ -15389,17 +15440,18 @@ freebsd* | dragonfly*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
gnu*)
|
gnu*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
|
shlibpath_overrides_runpath=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
haiku*)
|
haiku*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
dynamic_linker="$host_os runtime_loader"
|
dynamic_linker="$host_os runtime_loader"
|
||||||
@ -15460,7 +15512,7 @@ hpux9* | hpux10* | hpux11*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
interix[3-9]*)
|
interix[3-9]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
||||||
@ -15476,7 +15528,7 @@ irix5* | irix6* | nonstopux*)
|
|||||||
nonstopux*) version_type=nonstopux ;;
|
nonstopux*) version_type=nonstopux ;;
|
||||||
*)
|
*)
|
||||||
if test "$lt_cv_prog_gnu_ld" = yes; then
|
if test "$lt_cv_prog_gnu_ld" = yes; then
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
else
|
else
|
||||||
version_type=irix
|
version_type=irix
|
||||||
fi ;;
|
fi ;;
|
||||||
@ -15513,9 +15565,9 @@ linux*oldld* | linux*aout* | linux*coff*)
|
|||||||
dynamic_linker=no
|
dynamic_linker=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# This must be Linux ELF.
|
# This must be glibc/ELF.
|
||||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -15597,7 +15649,7 @@ netbsd*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
newsos6)
|
newsos6)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
@ -15666,7 +15718,7 @@ rdos*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -15691,7 +15743,7 @@ sunos4*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
sysv4 | sysv4.3*)
|
sysv4 | sysv4.3*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -15715,7 +15767,7 @@ sysv4 | sysv4.3*)
|
|||||||
|
|
||||||
sysv4*MP*)
|
sysv4*MP*)
|
||||||
if test -d /usr/nec ;then
|
if test -d /usr/nec ;then
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
||||||
soname_spec='$libname${shared_ext}.$major'
|
soname_spec='$libname${shared_ext}.$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -15746,7 +15798,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|||||||
|
|
||||||
tpf*)
|
tpf*)
|
||||||
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -15756,7 +15808,7 @@ tpf*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
uts4*)
|
uts4*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -20498,6 +20550,7 @@ pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
|
|||||||
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
|
||||||
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
|
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
|
||||||
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
|
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
|
||||||
|
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
|
||||||
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
|
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
|
||||||
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
|
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
|
||||||
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
|
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
|
||||||
@ -20578,7 +20631,6 @@ with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
|
|||||||
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
||||||
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
|
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
|
|
||||||
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
|
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
|
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
|
||||||
@ -20650,7 +20702,6 @@ with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
|
|||||||
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
||||||
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
|
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
|
|
||||||
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
|
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
|
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
|
||||||
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
|
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
|
||||||
@ -20692,6 +20743,7 @@ DLLTOOL \
|
|||||||
OBJDUMP \
|
OBJDUMP \
|
||||||
SHELL \
|
SHELL \
|
||||||
ECHO \
|
ECHO \
|
||||||
|
PATH_SEPARATOR \
|
||||||
SED \
|
SED \
|
||||||
GREP \
|
GREP \
|
||||||
EGREP \
|
EGREP \
|
||||||
@ -20740,7 +20792,6 @@ with_gnu_ld \
|
|||||||
allow_undefined_flag \
|
allow_undefined_flag \
|
||||||
no_undefined_flag \
|
no_undefined_flag \
|
||||||
hardcode_libdir_flag_spec \
|
hardcode_libdir_flag_spec \
|
||||||
hardcode_libdir_flag_spec_ld \
|
|
||||||
hardcode_libdir_separator \
|
hardcode_libdir_separator \
|
||||||
exclude_expsyms \
|
exclude_expsyms \
|
||||||
include_expsyms \
|
include_expsyms \
|
||||||
@ -20774,7 +20825,6 @@ with_gnu_ld_CXX \
|
|||||||
allow_undefined_flag_CXX \
|
allow_undefined_flag_CXX \
|
||||||
no_undefined_flag_CXX \
|
no_undefined_flag_CXX \
|
||||||
hardcode_libdir_flag_spec_CXX \
|
hardcode_libdir_flag_spec_CXX \
|
||||||
hardcode_libdir_flag_spec_ld_CXX \
|
|
||||||
hardcode_libdir_separator_CXX \
|
hardcode_libdir_separator_CXX \
|
||||||
exclude_expsyms_CXX \
|
exclude_expsyms_CXX \
|
||||||
include_expsyms_CXX \
|
include_expsyms_CXX \
|
||||||
@ -21603,8 +21653,8 @@ $as_echo X"$file" |
|
|||||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||||
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
||||||
# Inc.
|
# Foundation, Inc.
|
||||||
# Written by Gordon Matzigkeit, 1996
|
# Written by Gordon Matzigkeit, 1996
|
||||||
#
|
#
|
||||||
# This file is part of GNU Libtool.
|
# This file is part of GNU Libtool.
|
||||||
@ -21667,6 +21717,9 @@ SHELL=$lt_SHELL
|
|||||||
# An echo program that protects backslashes.
|
# An echo program that protects backslashes.
|
||||||
ECHO=$lt_ECHO
|
ECHO=$lt_ECHO
|
||||||
|
|
||||||
|
# The PATH separator for the build system.
|
||||||
|
PATH_SEPARATOR=$lt_PATH_SEPARATOR
|
||||||
|
|
||||||
# The host system.
|
# The host system.
|
||||||
host_alias=$host_alias
|
host_alias=$host_alias
|
||||||
host=$host
|
host=$host
|
||||||
@ -21962,10 +22015,6 @@ no_undefined_flag=$lt_no_undefined_flag
|
|||||||
# This must work even if \$libdir does not exist
|
# This must work even if \$libdir does not exist
|
||||||
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
||||||
|
|
||||||
# If ld is used when linking, flag to hardcode \$libdir into a binary
|
|
||||||
# during linking. This must work even if \$libdir does not exist.
|
|
||||||
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
|
|
||||||
|
|
||||||
# Whether we need a single "-rpath" flag with a separated argument.
|
# Whether we need a single "-rpath" flag with a separated argument.
|
||||||
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
||||||
|
|
||||||
@ -22308,10 +22357,6 @@ no_undefined_flag=$lt_no_undefined_flag_CXX
|
|||||||
# This must work even if \$libdir does not exist
|
# This must work even if \$libdir does not exist
|
||||||
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
|
||||||
|
|
||||||
# If ld is used when linking, flag to hardcode \$libdir into a binary
|
|
||||||
# during linking. This must work even if \$libdir does not exist.
|
|
||||||
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
|
|
||||||
|
|
||||||
# Whether we need a single "-rpath" flag with a separated argument.
|
# Whether we need a single "-rpath" flag with a separated argument.
|
||||||
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
|
||||||
|
|
||||||
|
265
m4/libtool.m4
vendored
265
m4/libtool.m4
vendored
@ -1,8 +1,8 @@
|
|||||||
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||||
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
||||||
# Inc.
|
# Foundation, Inc.
|
||||||
# Written by Gordon Matzigkeit, 1996
|
# Written by Gordon Matzigkeit, 1996
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
m4_define([_LT_COPYING], [dnl
|
m4_define([_LT_COPYING], [dnl
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||||
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
|
||||||
# Inc.
|
# Foundation, Inc.
|
||||||
# Written by Gordon Matzigkeit, 1996
|
# Written by Gordon Matzigkeit, 1996
|
||||||
#
|
#
|
||||||
# This file is part of GNU Libtool.
|
# This file is part of GNU Libtool.
|
||||||
@ -146,6 +146,8 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
|||||||
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
|
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
|
||||||
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
|
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
|
||||||
|
|
||||||
|
_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
|
||||||
|
dnl
|
||||||
_LT_DECL([], [host_alias], [0], [The host system])dnl
|
_LT_DECL([], [host_alias], [0], [The host system])dnl
|
||||||
_LT_DECL([], [host], [0])dnl
|
_LT_DECL([], [host], [0])dnl
|
||||||
_LT_DECL([], [host_os], [0])dnl
|
_LT_DECL([], [host_os], [0])dnl
|
||||||
@ -637,7 +639,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
|
|||||||
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
|
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
|
||||||
configured by $[0], generated by m4_PACKAGE_STRING.
|
configured by $[0], generated by m4_PACKAGE_STRING.
|
||||||
|
|
||||||
Copyright (C) 2010 Free Software Foundation, Inc.
|
Copyright (C) 2011 Free Software Foundation, Inc.
|
||||||
This config.lt script is free software; the Free Software Foundation
|
This config.lt script is free software; the Free Software Foundation
|
||||||
gives unlimited permision to copy, distribute and modify it."
|
gives unlimited permision to copy, distribute and modify it."
|
||||||
|
|
||||||
@ -801,6 +803,7 @@ AC_DEFUN([LT_LANG],
|
|||||||
m4_case([$1],
|
m4_case([$1],
|
||||||
[C], [_LT_LANG(C)],
|
[C], [_LT_LANG(C)],
|
||||||
[C++], [_LT_LANG(CXX)],
|
[C++], [_LT_LANG(CXX)],
|
||||||
|
[Go], [_LT_LANG(GO)],
|
||||||
[Java], [_LT_LANG(GCJ)],
|
[Java], [_LT_LANG(GCJ)],
|
||||||
[Fortran 77], [_LT_LANG(F77)],
|
[Fortran 77], [_LT_LANG(F77)],
|
||||||
[Fortran], [_LT_LANG(FC)],
|
[Fortran], [_LT_LANG(FC)],
|
||||||
@ -822,6 +825,31 @@ m4_defun([_LT_LANG],
|
|||||||
])# _LT_LANG
|
])# _LT_LANG
|
||||||
|
|
||||||
|
|
||||||
|
m4_ifndef([AC_PROG_GO], [
|
||||||
|
############################################################
|
||||||
|
# NOTE: This macro has been submitted for inclusion into #
|
||||||
|
# GNU Autoconf as AC_PROG_GO. When it is available in #
|
||||||
|
# a released version of Autoconf we should remove this #
|
||||||
|
# macro and use it instead. #
|
||||||
|
############################################################
|
||||||
|
m4_defun([AC_PROG_GO],
|
||||||
|
[AC_LANG_PUSH(Go)dnl
|
||||||
|
AC_ARG_VAR([GOC], [Go compiler command])dnl
|
||||||
|
AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
|
||||||
|
_AC_ARG_VAR_LDFLAGS()dnl
|
||||||
|
AC_CHECK_TOOL(GOC, gccgo)
|
||||||
|
if test -z "$GOC"; then
|
||||||
|
if test -n "$ac_tool_prefix"; then
|
||||||
|
AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test -z "$GOC"; then
|
||||||
|
AC_CHECK_PROG(GOC, gccgo, gccgo, false)
|
||||||
|
fi
|
||||||
|
])#m4_defun
|
||||||
|
])#m4_ifndef
|
||||||
|
|
||||||
|
|
||||||
# _LT_LANG_DEFAULT_CONFIG
|
# _LT_LANG_DEFAULT_CONFIG
|
||||||
# -----------------------
|
# -----------------------
|
||||||
m4_defun([_LT_LANG_DEFAULT_CONFIG],
|
m4_defun([_LT_LANG_DEFAULT_CONFIG],
|
||||||
@ -852,6 +880,10 @@ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
|
|||||||
m4_ifdef([LT_PROG_GCJ],
|
m4_ifdef([LT_PROG_GCJ],
|
||||||
[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
|
[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
|
||||||
|
|
||||||
|
AC_PROVIDE_IFELSE([AC_PROG_GO],
|
||||||
|
[LT_LANG(GO)],
|
||||||
|
[m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
|
||||||
|
|
||||||
AC_PROVIDE_IFELSE([LT_PROG_RC],
|
AC_PROVIDE_IFELSE([LT_PROG_RC],
|
||||||
[LT_LANG(RC)],
|
[LT_LANG(RC)],
|
||||||
[m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
|
[m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
|
||||||
@ -954,7 +986,13 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
|
|||||||
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
|
||||||
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
|
||||||
_lt_result=$?
|
_lt_result=$?
|
||||||
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
|
# If there is a non-empty error log, and "single_module"
|
||||||
|
# appears in it, assume the flag caused a linker warning
|
||||||
|
if test -s conftest.err && $GREP single_module conftest.err; then
|
||||||
|
cat conftest.err >&AS_MESSAGE_LOG_FD
|
||||||
|
# Otherwise, if the output was created with a 0 exit code from
|
||||||
|
# the compiler, it worked.
|
||||||
|
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
|
||||||
lt_cv_apple_cc_single_mod=yes
|
lt_cv_apple_cc_single_mod=yes
|
||||||
else
|
else
|
||||||
cat conftest.err >&AS_MESSAGE_LOG_FD
|
cat conftest.err >&AS_MESSAGE_LOG_FD
|
||||||
@ -962,6 +1000,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
|
|||||||
rm -rf libconftest.dylib*
|
rm -rf libconftest.dylib*
|
||||||
rm -f conftest.*
|
rm -f conftest.*
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
|
AC_CACHE_CHECK([for -exported_symbols_list linker flag],
|
||||||
[lt_cv_ld_exported_symbols_list],
|
[lt_cv_ld_exported_symbols_list],
|
||||||
[lt_cv_ld_exported_symbols_list=no
|
[lt_cv_ld_exported_symbols_list=no
|
||||||
@ -973,6 +1012,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
|
|||||||
[lt_cv_ld_exported_symbols_list=no])
|
[lt_cv_ld_exported_symbols_list=no])
|
||||||
LDFLAGS="$save_LDFLAGS"
|
LDFLAGS="$save_LDFLAGS"
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
|
AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
|
||||||
[lt_cv_ld_force_load=no
|
[lt_cv_ld_force_load=no
|
||||||
cat > conftest.c << _LT_EOF
|
cat > conftest.c << _LT_EOF
|
||||||
@ -990,7 +1030,9 @@ _LT_EOF
|
|||||||
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
|
||||||
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
|
||||||
_lt_result=$?
|
_lt_result=$?
|
||||||
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
|
if test -s conftest.err && $GREP force_load conftest.err; then
|
||||||
|
cat conftest.err >&AS_MESSAGE_LOG_FD
|
||||||
|
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
|
||||||
lt_cv_ld_force_load=yes
|
lt_cv_ld_force_load=yes
|
||||||
else
|
else
|
||||||
cat conftest.err >&AS_MESSAGE_LOG_FD
|
cat conftest.err >&AS_MESSAGE_LOG_FD
|
||||||
@ -1035,8 +1077,8 @@ _LT_EOF
|
|||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
# _LT_DARWIN_LINKER_FEATURES
|
# _LT_DARWIN_LINKER_FEATURES([TAG])
|
||||||
# --------------------------
|
# ---------------------------------
|
||||||
# Checks for linker and compiler features on darwin
|
# Checks for linker and compiler features on darwin
|
||||||
m4_defun([_LT_DARWIN_LINKER_FEATURES],
|
m4_defun([_LT_DARWIN_LINKER_FEATURES],
|
||||||
[
|
[
|
||||||
@ -1047,6 +1089,8 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
|
|||||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
|
||||||
if test "$lt_cv_ld_force_load" = "yes"; then
|
if test "$lt_cv_ld_force_load" = "yes"; then
|
||||||
_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\"`'
|
_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\"`'
|
||||||
|
m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
|
||||||
|
[FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
|
||||||
else
|
else
|
||||||
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
|
_LT_TAGVAR(whole_archive_flag_spec, $1)=''
|
||||||
fi
|
fi
|
||||||
@ -1330,14 +1374,27 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
CFLAGS="$SAVE_CFLAGS"
|
CFLAGS="$SAVE_CFLAGS"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
sparc*-*solaris*)
|
*-*solaris*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo 'int i;' > conftest.$ac_ext
|
echo 'int i;' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `/usr/bin/file conftest.o` in
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
case $lt_cv_prog_gnu_ld in
|
case $lt_cv_prog_gnu_ld in
|
||||||
yes*) LD="${LD-ld} -m elf64_sparc" ;;
|
yes*)
|
||||||
|
case $host in
|
||||||
|
i?86-*-solaris*)
|
||||||
|
LD="${LD-ld} -m elf_x86_64"
|
||||||
|
;;
|
||||||
|
sparc*-*-solaris*)
|
||||||
|
LD="${LD-ld} -m elf64_sparc"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
|
||||||
|
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
|
||||||
|
LD="${LD-ld}_sol2"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
|
||||||
LD="${LD-ld} -64"
|
LD="${LD-ld} -64"
|
||||||
@ -1414,13 +1471,13 @@ old_postuninstall_cmds=
|
|||||||
if test -n "$RANLIB"; then
|
if test -n "$RANLIB"; then
|
||||||
case $host_os in
|
case $host_os in
|
||||||
openbsd*)
|
openbsd*)
|
||||||
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
@ -1600,6 +1657,11 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|||||||
lt_cv_sys_max_cmd_len=196608
|
lt_cv_sys_max_cmd_len=196608
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
os2*)
|
||||||
|
# The test takes a long time on OS/2.
|
||||||
|
lt_cv_sys_max_cmd_len=8192
|
||||||
|
;;
|
||||||
|
|
||||||
osf*)
|
osf*)
|
||||||
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
|
||||||
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
|
||||||
@ -1639,7 +1701,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|||||||
# If test is not a shell built-in, we'll probably end up computing a
|
# If test is not a shell built-in, we'll probably end up computing a
|
||||||
# maximum length that is only half of the actual maximum length, but
|
# maximum length that is only half of the actual maximum length, but
|
||||||
# we can't tell.
|
# we can't tell.
|
||||||
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
|
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
|
||||||
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
|
||||||
test $i != 17 # 1/2 MB should be enough
|
test $i != 17 # 1/2 MB should be enough
|
||||||
do
|
do
|
||||||
@ -2185,7 +2247,7 @@ need_version=unknown
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
aix3*)
|
aix3*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
|
||||||
shlibpath_var=LIBPATH
|
shlibpath_var=LIBPATH
|
||||||
|
|
||||||
@ -2194,7 +2256,7 @@ aix3*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
aix[[4-9]]*)
|
aix[[4-9]]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
@ -2259,7 +2321,7 @@ beos*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
bsdi[[45]]*)
|
bsdi[[45]]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
@ -2398,7 +2460,7 @@ m4_if([$1], [],[
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
dgux*)
|
dgux*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
|
||||||
@ -2406,10 +2468,6 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd1*)
|
|
||||||
dynamic_linker=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly*)
|
||||||
# DragonFly does not have aout. When/if they implement a new
|
# DragonFly does not have aout. When/if they implement a new
|
||||||
# versioning mechanism, adjust this.
|
# versioning mechanism, adjust this.
|
||||||
@ -2417,7 +2475,7 @@ freebsd* | dragonfly*)
|
|||||||
objformat=`/usr/bin/objformat`
|
objformat=`/usr/bin/objformat`
|
||||||
else
|
else
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd[[123]]*) objformat=aout ;;
|
freebsd[[23]].*) objformat=aout ;;
|
||||||
*) objformat=elf ;;
|
*) objformat=elf ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
@ -2435,7 +2493,7 @@ freebsd* | dragonfly*)
|
|||||||
esac
|
esac
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
case $host_os in
|
case $host_os in
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
;;
|
;;
|
||||||
freebsd3.[[01]]* | freebsdelf3.[[01]]*)
|
freebsd3.[[01]]* | freebsdelf3.[[01]]*)
|
||||||
@ -2455,17 +2513,18 @@ freebsd* | dragonfly*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
gnu*)
|
gnu*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
|
shlibpath_overrides_runpath=no
|
||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
haiku*)
|
haiku*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
dynamic_linker="$host_os runtime_loader"
|
dynamic_linker="$host_os runtime_loader"
|
||||||
@ -2526,7 +2585,7 @@ hpux9* | hpux10* | hpux11*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix[[3-9]]*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
||||||
@ -2542,7 +2601,7 @@ irix5* | irix6* | nonstopux*)
|
|||||||
nonstopux*) version_type=nonstopux ;;
|
nonstopux*) version_type=nonstopux ;;
|
||||||
*)
|
*)
|
||||||
if test "$lt_cv_prog_gnu_ld" = yes; then
|
if test "$lt_cv_prog_gnu_ld" = yes; then
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
else
|
else
|
||||||
version_type=irix
|
version_type=irix
|
||||||
fi ;;
|
fi ;;
|
||||||
@ -2579,9 +2638,9 @@ linux*oldld* | linux*aout* | linux*coff*)
|
|||||||
dynamic_linker=no
|
dynamic_linker=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# This must be Linux ELF.
|
# This must be glibc/ELF.
|
||||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -2644,7 +2703,7 @@ netbsd*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
newsos6)
|
newsos6)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
shlibpath_overrides_runpath=yes
|
shlibpath_overrides_runpath=yes
|
||||||
@ -2713,7 +2772,7 @@ rdos*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
solaris*)
|
solaris*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -2738,7 +2797,7 @@ sunos4*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
sysv4 | sysv4.3*)
|
sysv4 | sysv4.3*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -2762,7 +2821,7 @@ sysv4 | sysv4.3*)
|
|||||||
|
|
||||||
sysv4*MP*)
|
sysv4*MP*)
|
||||||
if test -d /usr/nec ;then
|
if test -d /usr/nec ;then
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
|
||||||
soname_spec='$libname${shared_ext}.$major'
|
soname_spec='$libname${shared_ext}.$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -2793,7 +2852,7 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
|||||||
|
|
||||||
tpf*)
|
tpf*)
|
||||||
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
need_version=no
|
need_version=no
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
@ -2803,7 +2862,7 @@ tpf*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
uts4*)
|
uts4*)
|
||||||
version_type=linux
|
version_type=linux # correct to gnu/linux during the next big refactor
|
||||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||||
soname_spec='${libname}${release}${shared_ext}$major'
|
soname_spec='${libname}${release}${shared_ext}$major'
|
||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
@ -3225,7 +3284,7 @@ irix5* | irix6* | nonstopux*)
|
|||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# This must be Linux ELF.
|
# This must be glibc/ELF.
|
||||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
@ -3645,6 +3704,7 @@ for ac_symprfx in "" "_"; do
|
|||||||
# which start with @ or ?.
|
# which start with @ or ?.
|
||||||
lt_cv_sys_global_symbol_pipe="$AWK ['"\
|
lt_cv_sys_global_symbol_pipe="$AWK ['"\
|
||||||
" {last_section=section; section=\$ 3};"\
|
" {last_section=section; section=\$ 3};"\
|
||||||
|
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
|
||||||
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
|
||||||
" \$ 0!~/External *\|/{next};"\
|
" \$ 0!~/External *\|/{next};"\
|
||||||
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
|
||||||
@ -4229,7 +4289,9 @@ m4_if([$1], [CXX], [
|
|||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
nvcc*) # Cuda Compiler Driver 2.2
|
nvcc*) # Cuda Compiler Driver 2.2
|
||||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
|
||||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
|
if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
@ -4321,18 +4383,33 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | sed 5q` in
|
||||||
*Sun\ F* | *Sun*Fortran*)
|
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
|
||||||
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker
|
||||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)=''
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)=''
|
||||||
;;
|
;;
|
||||||
|
*Sun\ F* | *Sun*Fortran*)
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
|
||||||
|
;;
|
||||||
*Sun\ C*)
|
*Sun\ C*)
|
||||||
# Sun C 5.9
|
# Sun C 5.9
|
||||||
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
|
||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
;;
|
;;
|
||||||
|
*Intel*\ [[CF]]*Compiler*)
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
|
||||||
|
;;
|
||||||
|
*Portland\ Group*)
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
|
||||||
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -4492,7 +4569,9 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
cygwin* | mingw* | cegcc*)
|
cygwin* | mingw* | cegcc*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*) ;;
|
cl*)
|
||||||
|
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
_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'
|
_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'
|
||||||
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
|
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
|
||||||
@ -4517,7 +4596,6 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_TAGVAR(hardcode_direct, $1)=no
|
_LT_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
|
|
||||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
||||||
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
||||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
|
||||||
@ -4768,8 +4846,7 @@ _LT_EOF
|
|||||||
xlf* | bgf* | bgxlf* | mpixlf*)
|
xlf* | bgf* | bgxlf* | mpixlf*)
|
||||||
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
|
||||||
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
|
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
|
||||||
if test "x$supports_anon_versioning" = xyes; then
|
if test "x$supports_anon_versioning" = xyes; then
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
@ -5064,6 +5141,7 @@ _LT_EOF
|
|||||||
# The linker will not automatically build a static lib if we build a DLL.
|
# The linker will not automatically build a static lib if we build a DLL.
|
||||||
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
|
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
||||||
_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'
|
_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'
|
||||||
# Don't use ranlib
|
# Don't use ranlib
|
||||||
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
|
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
|
||||||
@ -5110,10 +5188,6 @@ _LT_EOF
|
|||||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd1*)
|
|
||||||
_LT_TAGVAR(ld_shlibs, $1)=no
|
|
||||||
;;
|
|
||||||
|
|
||||||
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
|
||||||
# support. Future versions do this automatically, but an explicit c++rt0.o
|
# support. Future versions do this automatically, but an explicit c++rt0.o
|
||||||
# does not break anything, and helps significantly (at the cost of a little
|
# does not break anything, and helps significantly (at the cost of a little
|
||||||
@ -5126,7 +5200,7 @@ _LT_EOF
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
|
||||||
freebsd2*)
|
freebsd2.*)
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
|
||||||
_LT_TAGVAR(hardcode_direct, $1)=yes
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
||||||
_LT_TAGVAR(hardcode_minus_L, $1)=yes
|
_LT_TAGVAR(hardcode_minus_L, $1)=yes
|
||||||
@ -5165,7 +5239,6 @@ _LT_EOF
|
|||||||
fi
|
fi
|
||||||
if test "$with_gnu_ld" = no; then
|
if test "$with_gnu_ld" = no; then
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
|
|
||||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
|
||||||
_LT_TAGVAR(hardcode_direct, $1)=yes
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
||||||
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
|
||||||
@ -5607,9 +5680,6 @@ _LT_TAGDECL([], [no_undefined_flag], [1],
|
|||||||
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
|
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
|
||||||
[Flag to hardcode $libdir into a binary during linking.
|
[Flag to hardcode $libdir into a binary during linking.
|
||||||
This must work even if $libdir does not exist])
|
This must work even if $libdir does not exist])
|
||||||
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
|
|
||||||
[[If ld is used when linking, flag to hardcode $libdir into a binary
|
|
||||||
during linking. This must work even if $libdir does not exist]])
|
|
||||||
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
|
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
|
||||||
[Whether we need a single "-rpath" flag with a separated argument])
|
[Whether we need a single "-rpath" flag with a separated argument])
|
||||||
_LT_TAGDECL([], [hardcode_direct], [0],
|
_LT_TAGDECL([], [hardcode_direct], [0],
|
||||||
@ -5767,7 +5837,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
|
|||||||
_LT_TAGVAR(hardcode_direct, $1)=no
|
_LT_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
|
|
||||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
||||||
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
||||||
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
|
||||||
@ -6137,7 +6206,7 @@ if test "$_lt_caught_CXX_error" != yes; then
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd[[12]]*)
|
freebsd2.*)
|
||||||
# C++ shared libraries reported to be fairly broken before
|
# C++ shared libraries reported to be fairly broken before
|
||||||
# switch to ELF
|
# switch to ELF
|
||||||
_LT_TAGVAR(ld_shlibs, $1)=no
|
_LT_TAGVAR(ld_shlibs, $1)=no
|
||||||
@ -6898,12 +6967,18 @@ public class foo {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
_LT_EOF
|
_LT_EOF
|
||||||
|
], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
|
||||||
|
package foo
|
||||||
|
func foo() {
|
||||||
|
}
|
||||||
|
_LT_EOF
|
||||||
])
|
])
|
||||||
|
|
||||||
_lt_libdeps_save_CFLAGS=$CFLAGS
|
_lt_libdeps_save_CFLAGS=$CFLAGS
|
||||||
case "$CC $CFLAGS " in #(
|
case "$CC $CFLAGS " in #(
|
||||||
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
|
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
|
||||||
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
|
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
|
||||||
|
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dnl Parse the compiler output and extract the necessary
|
dnl Parse the compiler output and extract the necessary
|
||||||
@ -7100,7 +7175,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
|
|||||||
_LT_TAGVAR(hardcode_direct, $1)=no
|
_LT_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
|
|
||||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
||||||
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
||||||
_LT_TAGVAR(hardcode_automatic, $1)=no
|
_LT_TAGVAR(hardcode_automatic, $1)=no
|
||||||
@ -7233,7 +7307,6 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)=
|
|||||||
_LT_TAGVAR(hardcode_direct, $1)=no
|
_LT_TAGVAR(hardcode_direct, $1)=no
|
||||||
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
|
|
||||||
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=
|
||||||
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
_LT_TAGVAR(hardcode_minus_L, $1)=no
|
||||||
_LT_TAGVAR(hardcode_automatic, $1)=no
|
_LT_TAGVAR(hardcode_automatic, $1)=no
|
||||||
@ -7420,6 +7493,77 @@ CFLAGS=$lt_save_CFLAGS
|
|||||||
])# _LT_LANG_GCJ_CONFIG
|
])# _LT_LANG_GCJ_CONFIG
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_LANG_GO_CONFIG([TAG])
|
||||||
|
# --------------------------
|
||||||
|
# Ensure that the configuration variables for the GNU Go compiler
|
||||||
|
# are suitably defined. These variables are subsequently used by _LT_CONFIG
|
||||||
|
# to write the compiler configuration to `libtool'.
|
||||||
|
m4_defun([_LT_LANG_GO_CONFIG],
|
||||||
|
[AC_REQUIRE([LT_PROG_GO])dnl
|
||||||
|
AC_LANG_SAVE
|
||||||
|
|
||||||
|
# Source file extension for Go test sources.
|
||||||
|
ac_ext=go
|
||||||
|
|
||||||
|
# Object file extension for compiled Go test sources.
|
||||||
|
objext=o
|
||||||
|
_LT_TAGVAR(objext, $1)=$objext
|
||||||
|
|
||||||
|
# Code to be used in simple compile tests
|
||||||
|
lt_simple_compile_test_code="package main; func main() { }"
|
||||||
|
|
||||||
|
# Code to be used in simple link tests
|
||||||
|
lt_simple_link_test_code='package main; func main() { }'
|
||||||
|
|
||||||
|
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
|
||||||
|
_LT_TAG_COMPILER
|
||||||
|
|
||||||
|
# save warnings/boilerplate of simple test code
|
||||||
|
_LT_COMPILER_BOILERPLATE
|
||||||
|
_LT_LINKER_BOILERPLATE
|
||||||
|
|
||||||
|
# Allow CC to be a program name with arguments.
|
||||||
|
lt_save_CC=$CC
|
||||||
|
lt_save_CFLAGS=$CFLAGS
|
||||||
|
lt_save_GCC=$GCC
|
||||||
|
GCC=yes
|
||||||
|
CC=${GOC-"gccgo"}
|
||||||
|
CFLAGS=$GOFLAGS
|
||||||
|
compiler=$CC
|
||||||
|
_LT_TAGVAR(compiler, $1)=$CC
|
||||||
|
_LT_TAGVAR(LD, $1)="$LD"
|
||||||
|
_LT_CC_BASENAME([$compiler])
|
||||||
|
|
||||||
|
# Go did not exist at the time GCC didn't implicitly link libc in.
|
||||||
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
||||||
|
|
||||||
|
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
|
||||||
|
_LT_TAGVAR(reload_flag, $1)=$reload_flag
|
||||||
|
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
|
||||||
|
|
||||||
|
## CAVEAT EMPTOR:
|
||||||
|
## There is no encapsulation within the following macros, do not change
|
||||||
|
## the running order or otherwise move them around unless you know exactly
|
||||||
|
## what you are doing...
|
||||||
|
if test -n "$compiler"; then
|
||||||
|
_LT_COMPILER_NO_RTTI($1)
|
||||||
|
_LT_COMPILER_PIC($1)
|
||||||
|
_LT_COMPILER_C_O($1)
|
||||||
|
_LT_COMPILER_FILE_LOCKS($1)
|
||||||
|
_LT_LINKER_SHLIBS($1)
|
||||||
|
_LT_LINKER_HARDCODE_LIBPATH($1)
|
||||||
|
|
||||||
|
_LT_CONFIG($1)
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_LANG_RESTORE
|
||||||
|
|
||||||
|
GCC=$lt_save_GCC
|
||||||
|
CC=$lt_save_CC
|
||||||
|
CFLAGS=$lt_save_CFLAGS
|
||||||
|
])# _LT_LANG_GO_CONFIG
|
||||||
|
|
||||||
|
|
||||||
# _LT_LANG_RC_CONFIG([TAG])
|
# _LT_LANG_RC_CONFIG([TAG])
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# Ensure that the configuration variables for the Windows resource compiler
|
# Ensure that the configuration variables for the Windows resource compiler
|
||||||
@ -7489,6 +7633,13 @@ dnl aclocal-1.4 backwards compatibility:
|
|||||||
dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
|
dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
|
||||||
|
|
||||||
|
|
||||||
|
# LT_PROG_GO
|
||||||
|
# ----------
|
||||||
|
AC_DEFUN([LT_PROG_GO],
|
||||||
|
[AC_CHECK_TOOL(GOC, gccgo,)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
# LT_PROG_RC
|
# LT_PROG_RC
|
||||||
# ----------
|
# ----------
|
||||||
AC_DEFUN([LT_PROG_RC],
|
AC_DEFUN([LT_PROG_RC],
|
||||||
|
19
m4/ltoptions.m4
vendored
19
m4/ltoptions.m4
vendored
@ -326,9 +326,24 @@ dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
|||||||
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
|
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
|
||||||
m4_define([_LT_WITH_PIC],
|
m4_define([_LT_WITH_PIC],
|
||||||
[AC_ARG_WITH([pic],
|
[AC_ARG_WITH([pic],
|
||||||
[AS_HELP_STRING([--with-pic],
|
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
|
||||||
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
||||||
[pic_mode="$withval"],
|
[lt_p=${PACKAGE-default}
|
||||||
|
case $withval in
|
||||||
|
yes|no) pic_mode=$withval ;;
|
||||||
|
*)
|
||||||
|
pic_mode=default
|
||||||
|
# Look at the argument we got. We use all the common list separators.
|
||||||
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
||||||
|
for lt_pkg in $withval; do
|
||||||
|
IFS="$lt_save_ifs"
|
||||||
|
if test "X$lt_pkg" = "X$lt_p"; then
|
||||||
|
pic_mode=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
IFS="$lt_save_ifs"
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
[pic_mode=default])
|
[pic_mode=default])
|
||||||
|
|
||||||
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
|
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
|
||||||
|
10
m4/ltversion.m4
vendored
10
m4/ltversion.m4
vendored
@ -9,15 +9,15 @@
|
|||||||
|
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# serial 3293 ltversion.m4
|
# serial 3337 ltversion.m4
|
||||||
# This file is part of GNU Libtool
|
# This file is part of GNU Libtool
|
||||||
|
|
||||||
m4_define([LT_PACKAGE_VERSION], [2.4])
|
m4_define([LT_PACKAGE_VERSION], [2.4.2])
|
||||||
m4_define([LT_PACKAGE_REVISION], [1.3293])
|
m4_define([LT_PACKAGE_REVISION], [1.3337])
|
||||||
|
|
||||||
AC_DEFUN([LTVERSION_VERSION],
|
AC_DEFUN([LTVERSION_VERSION],
|
||||||
[macro_version='2.4'
|
[macro_version='2.4.2'
|
||||||
macro_revision='1.3293'
|
macro_revision='1.3337'
|
||||||
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||||
_LT_DECL(, macro_revision, 0)
|
_LT_DECL(, macro_revision, 0)
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user