Latest libsodium-1.0.18-stable.tar.gz.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3929 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
1efc0fd73b
commit
3078536245
10
deps/libsodium/.github/workflows/dotnet-core.yml
vendored
10
deps/libsodium/.github/workflows/dotnet-core.yml
vendored
@ -206,7 +206,7 @@ jobs:
|
|||||||
- build-macos-x64
|
- build-macos-x64
|
||||||
- build-macos-arm64
|
- build-macos-arm64
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:5.0
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||||
env:
|
env:
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
||||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
||||||
@ -259,7 +259,7 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- pack
|
- pack
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:5.0
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||||
env:
|
env:
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
||||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
||||||
@ -288,9 +288,9 @@ jobs:
|
|||||||
- name: Move Build Output
|
- name: Move Build Output
|
||||||
run: |
|
run: |
|
||||||
mkdir .libsodium-builds
|
mkdir .libsodium-builds
|
||||||
mv .libsodium-test/bin/Release/net5.0/linux-arm/publish .libsodium-builds/linux-arm
|
mv .libsodium-test/bin/Release/net6.0/linux-arm/publish .libsodium-builds/linux-arm
|
||||||
mv .libsodium-test/bin/Release/net5.0/linux-arm64/publish .libsodium-builds/linux-arm64
|
mv .libsodium-test/bin/Release/net6.0/linux-arm64/publish .libsodium-builds/linux-arm64
|
||||||
mv .libsodium-test/bin/Release/net5.0/linux-x64/publish .libsodium-builds/linux-x64
|
mv .libsodium-test/bin/Release/net6.0/linux-x64/publish .libsodium-builds/linux-x64
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: test-builds
|
name: test-builds
|
||||||
|
2
deps/libsodium/.gitignore
vendored
2
deps/libsodium/.gitignore
vendored
@ -160,3 +160,5 @@ test/default/verify1
|
|||||||
test/default/xchacha20
|
test/default/xchacha20
|
||||||
test/js.done
|
test/js.done
|
||||||
testing
|
testing
|
||||||
|
zig-cache
|
||||||
|
zig-out
|
||||||
|
1
deps/libsodium/Makefile.in
vendored
1
deps/libsodium/Makefile.in
vendored
@ -300,6 +300,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
8
deps/libsodium/README.markdown
vendored
8
deps/libsodium/README.markdown
vendored
@ -23,12 +23,10 @@ as well as Javascript and Webassembly.
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
The documentation is available on Gitbook and built from the [libsodium-doc](https://github.com/jedisct1/libsodium-doc) repository:
|
The documentation is available on Gitbook and built from the
|
||||||
|
[libsodium-doc](https://github.com/jedisct1/libsodium-doc) repository:
|
||||||
|
|
||||||
* [libsodium documentation](https://download.libsodium.org/doc/) -
|
* [libsodium documentation](https://doc.libsodium.org) - online, requires Javascript.
|
||||||
online, requires Javascript.
|
|
||||||
* [offline documentation](https://www.gitbook.com/book/jedisct1/libsodium/details)
|
|
||||||
in PDF format.
|
|
||||||
|
|
||||||
## Integrity Checking
|
## Integrity Checking
|
||||||
|
|
||||||
|
2
deps/libsodium/azure-pipelines.yml
vendored
2
deps/libsodium/azure-pipelines.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
env PATH=/opt/zig/bin:/opt/zig:$PATH
|
env PATH=/opt/zig/bin:/opt/zig:$PATH
|
||||||
displayName: Install the Zig SDK
|
displayName: Install the Zig SDK
|
||||||
- script: |
|
- script: |
|
||||||
env WASMER_DIR=${HOME}/.wasmer PATH=${HOME}/.wasmer/bin:/opt/wasi-sdk/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh
|
env WASMER_DIR=${HOME}/.wasmer PATH=${HOME}/.wasmer/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh
|
||||||
displayName: Compile libsodium
|
displayName: Compile libsodium
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
condition: not(canceled())
|
condition: not(canceled())
|
||||||
|
833
deps/libsodium/build-aux/ltmain.sh
vendored
833
deps/libsodium/build-aux/ltmain.sh
vendored
File diff suppressed because it is too large
Load Diff
91
deps/libsodium/build.zig
vendored
Normal file
91
deps/libsodium/build.zig
vendored
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
const std = @import("std");
|
||||||
|
const builtin = @import("builtin");
|
||||||
|
const fmt = std.fmt;
|
||||||
|
const fs = std.fs;
|
||||||
|
const heap = std.heap;
|
||||||
|
const mem = std.mem;
|
||||||
|
const LibExeObjStep = std.build.LibExeObjStep;
|
||||||
|
|
||||||
|
pub fn build(b: *std.build.Builder) !void {
|
||||||
|
const src_path = "src/libsodium";
|
||||||
|
const src_dir = try fs.Dir.openDir(fs.cwd(), src_path, .{ .iterate = true, .no_follow = true });
|
||||||
|
|
||||||
|
var target = b.standardTargetOptions(.{});
|
||||||
|
var mode = b.standardReleaseOptions();
|
||||||
|
|
||||||
|
const static = b.addStaticLibrary("sodium", null);
|
||||||
|
const shared = b.addSharedLibrary("sodium", null, .unversioned);
|
||||||
|
shared.strip = true;
|
||||||
|
static.strip = true;
|
||||||
|
|
||||||
|
const libs = [_]*LibExeObjStep{ static, shared };
|
||||||
|
|
||||||
|
const prebuilt_version_file_path = "builds/msvc/version.h";
|
||||||
|
const version_file_path = "include/sodium/version.h";
|
||||||
|
|
||||||
|
if (src_dir.access(version_file_path, .{ .mode = .read_only })) {} else |_| {
|
||||||
|
try fs.cwd().copyFile(prebuilt_version_file_path, src_dir, version_file_path, .{});
|
||||||
|
}
|
||||||
|
|
||||||
|
for (libs) |lib| {
|
||||||
|
lib.setTarget(target);
|
||||||
|
lib.setBuildMode(mode);
|
||||||
|
lib.install();
|
||||||
|
if (mode != .Debug) {
|
||||||
|
lib.strip = true;
|
||||||
|
}
|
||||||
|
lib.linkLibC();
|
||||||
|
|
||||||
|
lib.addIncludeDir("src/libsodium/include/sodium");
|
||||||
|
lib.defineCMacro("CONFIGURED", "1");
|
||||||
|
lib.defineCMacro("DEV_MODE", "1");
|
||||||
|
lib.defineCMacro("_GNU_SOURCE", "1");
|
||||||
|
lib.defineCMacro("HAVE_INLINE_ASM", "1");
|
||||||
|
lib.defineCMacro("HAVE_TI_MODE", "1");
|
||||||
|
lib.defineCMacro("HAVE_ATOMIC_OPS", "1");
|
||||||
|
|
||||||
|
switch (target.getCpuArch()) {
|
||||||
|
.x86_64 => {
|
||||||
|
lib.defineCMacro("HAVE_AMD64_ASM", "1");
|
||||||
|
lib.defineCMacro("HAVE_AVX_ASM", "1");
|
||||||
|
lib.defineCMacro("HAVE_CPUID", "1");
|
||||||
|
lib.defineCMacro("HAVE_MMINTRIN_H", "1");
|
||||||
|
lib.defineCMacro("HAVE_EMMINTRIN_H", "1");
|
||||||
|
lib.defineCMacro("HAVE_PMMINTRIN_H", "1");
|
||||||
|
},
|
||||||
|
.aarch64, .aarch64_be => {
|
||||||
|
lib.defineCMacro("HAVE_ARMCRYTO", "1");
|
||||||
|
},
|
||||||
|
.wasm32, .wasm64 => {
|
||||||
|
lib.defineCMacro("__wasm__", "1");
|
||||||
|
},
|
||||||
|
else => {},
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (target.getOsTag()) {
|
||||||
|
.wasi => {
|
||||||
|
lib.defineCMacro("__wasi__", "1");
|
||||||
|
},
|
||||||
|
else => {},
|
||||||
|
}
|
||||||
|
|
||||||
|
var allocator = heap.page_allocator;
|
||||||
|
var walker = try src_dir.walk(allocator);
|
||||||
|
while (try walker.next()) |entry| {
|
||||||
|
const name = entry.basename;
|
||||||
|
if (mem.endsWith(u8, name, ".c")) {
|
||||||
|
const full_path = try fmt.allocPrint(allocator, "{s}/{s}", .{ src_path, entry.path });
|
||||||
|
lib.addCSourceFiles(&.{full_path}, &.{
|
||||||
|
"-fvisibility=hidden",
|
||||||
|
"-fno-strict-aliasing",
|
||||||
|
"-fno-strict-overflow",
|
||||||
|
"-fwrapv",
|
||||||
|
"-flax-vector-conversions",
|
||||||
|
});
|
||||||
|
} else if (mem.endsWith(u8, name, ".S")) {
|
||||||
|
const full_path = try fmt.allocPrint(allocator, "{s}/{s}", .{ src_path, entry.path });
|
||||||
|
lib.addAssemblyFile(full_path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
deps/libsodium/builds/Makefile.in
vendored
1
deps/libsodium/builds/Makefile.in
vendored
@ -179,6 +179,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
282
deps/libsodium/configure
vendored
282
deps/libsodium/configure
vendored
@ -706,6 +706,7 @@ ac_ct_AR
|
|||||||
AR
|
AR
|
||||||
DLLTOOL
|
DLLTOOL
|
||||||
OBJDUMP
|
OBJDUMP
|
||||||
|
FILECMD
|
||||||
LN_S
|
LN_S
|
||||||
NM
|
NM
|
||||||
ac_ct_DUMPBIN
|
ac_ct_DUMPBIN
|
||||||
@ -10125,8 +10126,8 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
macro_version='2.4.6'
|
macro_version='2.4.7'
|
||||||
macro_revision='2.4.6'
|
macro_revision='2.4.7'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -10537,13 +10538,13 @@ else
|
|||||||
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
||||||
*) lt_bad_file=/dev/null ;;
|
*) lt_bad_file=/dev/null ;;
|
||||||
esac
|
esac
|
||||||
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
|
||||||
*$lt_bad_file* | *'Invalid file or object type'*)
|
*$lt_bad_file* | *'Invalid file or object type'*)
|
||||||
lt_cv_path_NM="$tmp_nm -B"
|
lt_cv_path_NM="$tmp_nm -B"
|
||||||
break 2
|
break 2
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
|
||||||
*/dev/null*)
|
*/dev/null*)
|
||||||
lt_cv_path_NM="$tmp_nm -p"
|
lt_cv_path_NM="$tmp_nm -p"
|
||||||
break 2
|
break 2
|
||||||
@ -10681,7 +10682,7 @@ esac
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
|
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
|
||||||
*COFF*)
|
*COFF*)
|
||||||
DUMPBIN="$DUMPBIN -symbols -headers"
|
DUMPBIN="$DUMPBIN -symbols -headers"
|
||||||
;;
|
;;
|
||||||
@ -10785,7 +10786,7 @@ else $as_nop
|
|||||||
lt_cv_sys_max_cmd_len=8192;
|
lt_cv_sys_max_cmd_len=8192;
|
||||||
;;
|
;;
|
||||||
|
|
||||||
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
|
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
||||||
# This has been around since 386BSD, at least. Likely further.
|
# This has been around since 386BSD, at least. Likely further.
|
||||||
if test -x /sbin/sysctl; then
|
if test -x /sbin/sysctl; then
|
||||||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
||||||
@ -10828,7 +10829,7 @@ else $as_nop
|
|||||||
sysv5* | sco5v6* | sysv4.2uw2*)
|
sysv5* | sco5v6* | sysv4.2uw2*)
|
||||||
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
||||||
if test -n "$kargmax"; then
|
if test -n "$kargmax"; then
|
||||||
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
|
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
|
||||||
else
|
else
|
||||||
lt_cv_sys_max_cmd_len=32768
|
lt_cv_sys_max_cmd_len=32768
|
||||||
fi
|
fi
|
||||||
@ -11033,6 +11034,114 @@ esac
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test -n "$ac_tool_prefix"; then
|
||||||
|
# Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
|
||||||
|
set dummy ${ac_tool_prefix}file; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_prog_FILECMD+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
if test -n "$FILECMD"; then
|
||||||
|
ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_prog_FILECMD="${ac_tool_prefix}file"
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
FILECMD=$ac_cv_prog_FILECMD
|
||||||
|
if test -n "$FILECMD"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
|
||||||
|
printf "%s\n" "$FILECMD" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
if test -z "$ac_cv_prog_FILECMD"; then
|
||||||
|
ac_ct_FILECMD=$FILECMD
|
||||||
|
# Extract the first word of "file", so it can be a program name with args.
|
||||||
|
set dummy file; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_prog_ac_ct_FILECMD+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
if test -n "$ac_ct_FILECMD"; then
|
||||||
|
ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_prog_ac_ct_FILECMD="file"
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
|
||||||
|
if test -n "$ac_ct_FILECMD"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
|
||||||
|
printf "%s\n" "$ac_ct_FILECMD" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$ac_ct_FILECMD" = x; then
|
||||||
|
FILECMD=":"
|
||||||
|
else
|
||||||
|
case $cross_compiling:$ac_tool_warned in
|
||||||
|
yes:)
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
||||||
|
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
||||||
|
ac_tool_warned=yes ;;
|
||||||
|
esac
|
||||||
|
FILECMD=$ac_ct_FILECMD
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
FILECMD="$ac_cv_prog_FILECMD"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
||||||
@ -11176,7 +11285,7 @@ beos*)
|
|||||||
|
|
||||||
bsdi[45]*)
|
bsdi[45]*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
lt_cv_file_magic_cmd='$FILECMD -L'
|
||||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -11210,14 +11319,14 @@ darwin* | rhapsody*)
|
|||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
i*86 )
|
i*86 )
|
||||||
# Not sure whether the presence of OpenBSD here was a mistake.
|
# Not sure whether the presence of OpenBSD here was a mistake.
|
||||||
# Let's accept both of them until this is cleared up.
|
# Let's accept both of them until this is cleared up.
|
||||||
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -11231,7 +11340,7 @@ haiku*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
hpux10.20* | hpux11*)
|
hpux10.20* | hpux11*)
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
ia64*)
|
ia64*)
|
||||||
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
|
||||||
@ -11278,7 +11387,7 @@ netbsd*)
|
|||||||
|
|
||||||
newos6*)
|
newos6*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -11651,13 +11760,29 @@ esac
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
: ${AR=ar}
|
: ${AR=ar}
|
||||||
: ${AR_FLAGS=cru}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Use ARFLAGS variable as AR's operation code to sync the variable naming with
|
||||||
|
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
|
||||||
|
# higher priority because thats what people were doing historically (setting
|
||||||
|
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
|
||||||
|
# variable obsoleted/removed.
|
||||||
|
|
||||||
|
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
|
||||||
|
lt_ar_flags=$AR_FLAGS
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
|
||||||
|
# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -12074,7 +12199,7 @@ esac
|
|||||||
|
|
||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Gets list of data symbols to import.
|
# Gets list of data symbols to import.
|
||||||
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
|
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
|
||||||
# Adjust the below global symbol transforms to fixup imported variables.
|
# Adjust the below global symbol transforms to fixup imported variables.
|
||||||
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
||||||
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
||||||
@ -12092,20 +12217,20 @@ fi
|
|||||||
# Transform an extracted symbol line into a proper C declaration.
|
# Transform an extracted symbol line into a proper C declaration.
|
||||||
# Some systems (esp. on ia64) link data and code symbols differently,
|
# Some systems (esp. on ia64) link data and code symbols differently,
|
||||||
# so use this general approach.
|
# so use this general approach.
|
||||||
lt_cv_sys_global_symbol_to_cdecl="sed -n"\
|
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
|
||||||
$lt_cdecl_hook\
|
$lt_cdecl_hook\
|
||||||
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name and symbol address
|
# Transform an extracted symbol line into symbol name and symbol address
|
||||||
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
|
||||||
$lt_c_name_hook\
|
$lt_c_name_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name with lib prefix and
|
# Transform an extracted symbol line into symbol name with lib prefix and
|
||||||
# symbol address.
|
# symbol address.
|
||||||
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
|
||||||
$lt_c_name_lib_hook\
|
$lt_c_name_lib_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
||||||
@ -12129,7 +12254,7 @@ for ac_symprfx in "" "_"; do
|
|||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Fake it for dumpbin and say T for any non-static function,
|
# Fake it for dumpbin and say T for any non-static function,
|
||||||
# D for any global variable and I for any imported variable.
|
# D for any global variable and I for any imported variable.
|
||||||
# Also find C++ and __fastcall symbols from MSVC++,
|
# Also find C++ and __fastcall symbols from MSVC++ or ICC,
|
||||||
# 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};"\
|
||||||
@ -12147,9 +12272,9 @@ for ac_symprfx in "" "_"; do
|
|||||||
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
||||||
" ' prfx=^$ac_symprfx"
|
" ' prfx=^$ac_symprfx"
|
||||||
else
|
else
|
||||||
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
||||||
fi
|
fi
|
||||||
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
|
||||||
|
|
||||||
# Check to see that the pipe works correctly.
|
# Check to see that the pipe works correctly.
|
||||||
pipe_works=no
|
pipe_works=no
|
||||||
@ -12352,7 +12477,7 @@ case $with_sysroot in #(
|
|||||||
fi
|
fi
|
||||||
;; #(
|
;; #(
|
||||||
/*)
|
/*)
|
||||||
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
|
||||||
;; #(
|
;; #(
|
||||||
no|'')
|
no|'')
|
||||||
;; #(
|
;; #(
|
||||||
@ -12477,7 +12602,7 @@ ia64-*-hpux*)
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*ELF-32*)
|
*ELF-32*)
|
||||||
HPUX_IA64_MODE=32
|
HPUX_IA64_MODE=32
|
||||||
;;
|
;;
|
||||||
@ -12498,7 +12623,7 @@ ia64-*-hpux*)
|
|||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
if test yes = "$lt_cv_prog_gnu_ld"; then
|
if test yes = "$lt_cv_prog_gnu_ld"; then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -melf32bsmip"
|
LD="${LD-ld} -melf32bsmip"
|
||||||
;;
|
;;
|
||||||
@ -12510,7 +12635,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -32"
|
LD="${LD-ld} -32"
|
||||||
;;
|
;;
|
||||||
@ -12536,7 +12661,7 @@ mips64*-*linux*)
|
|||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
emul=elf
|
emul=elf
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
emul="${emul}32"
|
emul="${emul}32"
|
||||||
;;
|
;;
|
||||||
@ -12544,7 +12669,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}64"
|
emul="${emul}64"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*MSB*)
|
*MSB*)
|
||||||
emul="${emul}btsmip"
|
emul="${emul}btsmip"
|
||||||
;;
|
;;
|
||||||
@ -12552,7 +12677,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}ltsmip"
|
emul="${emul}ltsmip"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*N32*)
|
*N32*)
|
||||||
emul="${emul}n32"
|
emul="${emul}n32"
|
||||||
;;
|
;;
|
||||||
@ -12576,14 +12701,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
case $host in
|
case $host in
|
||||||
x86_64-*kfreebsd*-gnu)
|
x86_64-*kfreebsd*-gnu)
|
||||||
LD="${LD-ld} -m elf_i386_fbsd"
|
LD="${LD-ld} -m elf_i386_fbsd"
|
||||||
;;
|
;;
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*x86-64*)
|
*x86-64*)
|
||||||
LD="${LD-ld} -m elf32_x86_64"
|
LD="${LD-ld} -m elf32_x86_64"
|
||||||
;;
|
;;
|
||||||
@ -12691,7 +12816,7 @@ printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
|
|||||||
ac_status=$?
|
ac_status=$?
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||||
test $ac_status = 0; }; then
|
test $ac_status = 0; }; then
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
case $lt_cv_prog_gnu_ld in
|
case $lt_cv_prog_gnu_ld in
|
||||||
yes*)
|
yes*)
|
||||||
@ -13474,8 +13599,8 @@ int forced_loaded() { return 2;}
|
|||||||
_LT_EOF
|
_LT_EOF
|
||||||
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
|
||||||
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
|
||||||
echo "$AR cru libconftest.a conftest.o" >&5
|
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
|
||||||
$AR cru libconftest.a conftest.o 2>&5
|
$AR $AR_FLAGS libconftest.a conftest.o 2>&5
|
||||||
echo "$RANLIB libconftest.a" >&5
|
echo "$RANLIB libconftest.a" >&5
|
||||||
$RANLIB libconftest.a 2>&5
|
$RANLIB libconftest.a 2>&5
|
||||||
cat > conftest.c << _LT_EOF
|
cat > conftest.c << _LT_EOF
|
||||||
@ -13503,8 +13628,8 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; }
|
|||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*)
|
darwin*)
|
||||||
case ${MACOSX_DEPLOYMENT_TARGET},$host in
|
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||||
10.[012],*|,*powerpc*)
|
10.[012],*|,*powerpc*-darwin[5-8]*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
*)
|
*)
|
||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
||||||
@ -13866,8 +13991,8 @@ esac
|
|||||||
ofile=libtool
|
ofile=libtool
|
||||||
can_build_shared=yes
|
can_build_shared=yes
|
||||||
|
|
||||||
# All known linkers require a '.a' archive for static linking (except MSVC,
|
# All known linkers require a '.a' archive for static linking (except MSVC and
|
||||||
# which needs '.lib').
|
# ICC, which need '.lib').
|
||||||
libext=a
|
libext=a
|
||||||
|
|
||||||
with_gnu_ld=$lt_cv_prog_gnu_ld
|
with_gnu_ld=$lt_cv_prog_gnu_ld
|
||||||
@ -14379,7 +14504,7 @@ lt_prog_compiler_static=
|
|||||||
lt_prog_compiler_static='-qstaticlink'
|
lt_prog_compiler_static='-qstaticlink'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
|
*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'
|
||||||
@ -14802,15 +14927,15 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
if test yes != "$GCC"; then
|
if test yes != "$GCC"; then
|
||||||
with_gnu_ld=no
|
with_gnu_ld=no
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
interix*)
|
interix*)
|
||||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
|
||||||
with_gnu_ld=yes
|
with_gnu_ld=yes
|
||||||
;;
|
;;
|
||||||
openbsd* | bitrig*)
|
openbsd* | bitrig*)
|
||||||
@ -14862,7 +14987,7 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
|
|||||||
whole_archive_flag_spec=
|
whole_archive_flag_spec=
|
||||||
fi
|
fi
|
||||||
supports_anon_versioning=no
|
supports_anon_versioning=no
|
||||||
case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
|
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
|
||||||
*GNU\ gold*) supports_anon_versioning=yes ;;
|
*GNU\ gold*) supports_anon_versioning=yes ;;
|
||||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
||||||
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
||||||
@ -14974,6 +15099,7 @@ _LT_EOF
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
enable_shared_with_static_runtimes=yes
|
enable_shared_with_static_runtimes=yes
|
||||||
|
file_list_spec='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[3-9]*)
|
interix[3-9]*)
|
||||||
@ -14988,7 +15114,7 @@ _LT_EOF
|
|||||||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
||||||
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
||||||
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
@ -15031,7 +15157,7 @@ _LT_EOF
|
|||||||
compiler_needs_object=yes
|
compiler_needs_object=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*) # Sun C 5.9
|
*Sun\ C*) # Sun C 5.9
|
||||||
whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
||||||
compiler_needs_object=yes
|
compiler_needs_object=yes
|
||||||
@ -15043,7 +15169,7 @@ _LT_EOF
|
|||||||
|
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@ -15059,7 +15185,7 @@ _LT_EOF
|
|||||||
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 yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; then
|
||||||
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@ -15191,7 +15317,7 @@ _LT_EOF
|
|||||||
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
||||||
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
||||||
else
|
else
|
||||||
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
||||||
fi
|
fi
|
||||||
aix_use_runtimelinking=no
|
aix_use_runtimelinking=no
|
||||||
|
|
||||||
@ -15462,12 +15588,12 @@ fi
|
|||||||
|
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||||
# no search path for DLLs.
|
# no search path for DLLs.
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*)
|
cl* | icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
hardcode_libdir_flag_spec=' '
|
hardcode_libdir_flag_spec=' '
|
||||||
allow_undefined_flag=unsupported
|
allow_undefined_flag=unsupported
|
||||||
always_export_symbols=yes
|
always_export_symbols=yes
|
||||||
@ -15508,7 +15634,7 @@ fi
|
|||||||
fi'
|
fi'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
hardcode_libdir_flag_spec=' '
|
hardcode_libdir_flag_spec=' '
|
||||||
allow_undefined_flag=unsupported
|
allow_undefined_flag=unsupported
|
||||||
# Tell ltmain to make .lib files, not .a files.
|
# Tell ltmain to make .lib files, not .a files.
|
||||||
@ -15549,8 +15675,8 @@ fi
|
|||||||
output_verbose_link_cmd=func_echo_all
|
output_verbose_link_cmd=func_echo_all
|
||||||
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
||||||
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
||||||
archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
|
|
||||||
else
|
else
|
||||||
ld_shlibs=no
|
ld_shlibs=no
|
||||||
@ -15584,7 +15710,7 @@ fi
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
hardcode_libdir_flag_spec='-R$libdir'
|
hardcode_libdir_flag_spec='-R$libdir'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
@ -15835,6 +15961,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
enable_shared_with_static_runtimes=yes
|
enable_shared_with_static_runtimes=yes
|
||||||
|
file_list_spec='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
osf3*)
|
osf3*)
|
||||||
@ -16527,7 +16654,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
||||||
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
||||||
|
|
||||||
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
||||||
;;
|
;;
|
||||||
@ -16537,14 +16664,14 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
;;
|
;;
|
||||||
pw32*)
|
pw32*)
|
||||||
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
||||||
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*,cl*)
|
*,cl* | *,icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
libname_spec='$name'
|
libname_spec='$name'
|
||||||
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
||||||
library_names_spec='$libname.dll.lib'
|
library_names_spec='$libname.dll.lib'
|
||||||
@ -16563,7 +16690,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
done
|
done
|
||||||
IFS=$lt_save_ifs
|
IFS=$lt_save_ifs
|
||||||
# Convert to MSYS style.
|
# Convert to MSYS style.
|
||||||
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
||||||
;;
|
;;
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Convert to unix form, then to dos form, then back to unix form
|
# Convert to unix form, then to dos form, then back to unix form
|
||||||
@ -16600,7 +16727,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
|
library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
@ -16633,7 +16760,7 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# 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.
|
||||||
if test -x /usr/bin/objformat; then
|
if test -x /usr/bin/objformat; then
|
||||||
@ -17786,19 +17913,29 @@ striplib=
|
|||||||
old_striplib=
|
old_striplib=
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
||||||
printf %s "checking whether stripping libraries is possible... " >&6; }
|
printf %s "checking whether stripping libraries is possible... " >&6; }
|
||||||
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
if test -z "$STRIP"; then
|
||||||
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
printf "%s\n" "no" >&6; }
|
||||||
|
else
|
||||||
|
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
||||||
|
old_striplib="$STRIP --strip-debug"
|
||||||
|
striplib="$STRIP --strip-unneeded"
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
printf "%s\n" "yes" >&6; }
|
printf "%s\n" "yes" >&6; }
|
||||||
else
|
else
|
||||||
# FIXME - insert some real tests, host_os isn't really good enough
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
darwin*)
|
darwin*)
|
||||||
if test -n "$STRIP"; then
|
# FIXME - insert some real tests, host_os isn't really good enough
|
||||||
striplib="$STRIP -x"
|
striplib="$STRIP -x"
|
||||||
old_striplib="$STRIP -S"
|
old_striplib="$STRIP -S"
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
printf "%s\n" "yes" >&6; }
|
||||||
|
;;
|
||||||
|
freebsd*)
|
||||||
|
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
|
||||||
|
old_striplib="$STRIP --strip-debug"
|
||||||
|
striplib="$STRIP --strip-unneeded"
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
printf "%s\n" "yes" >&6; }
|
printf "%s\n" "yes" >&6; }
|
||||||
else
|
else
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
@ -17811,6 +17948,7 @@ printf "%s\n" "no" >&6; }
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -21423,6 +21561,7 @@ lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_q
|
|||||||
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
|
||||||
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
|
||||||
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
|
||||||
|
FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
|
||||||
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
|
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
|
||||||
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
|
||||||
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
|
||||||
@ -21431,6 +21570,7 @@ want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
|
|||||||
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
|
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
|
||||||
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
|
||||||
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
|
||||||
|
lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
|
||||||
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
|
||||||
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
|
||||||
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
|
||||||
@ -21551,6 +21691,7 @@ LN_S \
|
|||||||
lt_SP2NL \
|
lt_SP2NL \
|
||||||
lt_NL2SP \
|
lt_NL2SP \
|
||||||
reload_flag \
|
reload_flag \
|
||||||
|
FILECMD \
|
||||||
OBJDUMP \
|
OBJDUMP \
|
||||||
deplibs_check_method \
|
deplibs_check_method \
|
||||||
file_magic_cmd \
|
file_magic_cmd \
|
||||||
@ -21559,7 +21700,6 @@ want_nocaseglob \
|
|||||||
DLLTOOL \
|
DLLTOOL \
|
||||||
sharedlib_from_linklib_cmd \
|
sharedlib_from_linklib_cmd \
|
||||||
AR \
|
AR \
|
||||||
AR_FLAGS \
|
|
||||||
archiver_list_spec \
|
archiver_list_spec \
|
||||||
STRIP \
|
STRIP \
|
||||||
RANLIB \
|
RANLIB \
|
||||||
@ -22347,6 +22487,9 @@ to_host_file_cmd=$lt_cv_to_host_file_cmd
|
|||||||
# convert \$build files to toolchain format.
|
# convert \$build files to toolchain format.
|
||||||
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
||||||
|
|
||||||
|
# A file(cmd) program that detects file types.
|
||||||
|
FILECMD=$lt_FILECMD
|
||||||
|
|
||||||
# An object symbol dumper.
|
# An object symbol dumper.
|
||||||
OBJDUMP=$lt_OBJDUMP
|
OBJDUMP=$lt_OBJDUMP
|
||||||
|
|
||||||
@ -22371,8 +22514,11 @@ sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
|||||||
# The archiver.
|
# The archiver.
|
||||||
AR=$lt_AR
|
AR=$lt_AR
|
||||||
|
|
||||||
|
# Flags to create an archive (by configure).
|
||||||
|
lt_ar_flags=$lt_ar_flags
|
||||||
|
|
||||||
# Flags to create an archive.
|
# Flags to create an archive.
|
||||||
AR_FLAGS=$lt_AR_FLAGS
|
AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
|
||||||
|
|
||||||
# How to feed a file listing to the archiver.
|
# How to feed a file listing to the archiver.
|
||||||
archiver_list_spec=$lt_archiver_list_spec
|
archiver_list_spec=$lt_archiver_list_spec
|
||||||
@ -22748,7 +22894,7 @@ ltmain=$ac_aux_dir/ltmain.sh
|
|||||||
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
||||||
# text mode, it properly converts lines to CR/LF. This bash problem
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
||||||
# is reportedly fixed, but why not run on old versions too?
|
# is reportedly fixed, but why not run on old versions too?
|
||||||
sed '$q' "$ltmain" >> "$cfgfile" \
|
$SED '$q' "$ltmain" >> "$cfgfile" \
|
||||||
|| (rm -f "$cfgfile"; exit 1)
|
|| (rm -f "$cfgfile"; exit 1)
|
||||||
|
|
||||||
mv -f "$cfgfile" "$ofile" ||
|
mv -f "$cfgfile" "$ofile" ||
|
||||||
|
1
deps/libsodium/contrib/Makefile.in
vendored
1
deps/libsodium/contrib/Makefile.in
vendored
@ -179,6 +179,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
1
deps/libsodium/dist-build/Makefile.in
vendored
1
deps/libsodium/dist-build/Makefile.in
vendored
@ -179,6 +179,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
@ -256,8 +256,8 @@ build_catalyst() {
|
|||||||
|
|
||||||
## arm64 catalyst
|
## arm64 catalyst
|
||||||
if [ "$APPLE_SILICON_SUPPORTED" = "true" ]; then
|
if [ "$APPLE_SILICON_SUPPORTED" = "true" ]; then
|
||||||
export CFLAGS="-O2 -arch arm64 -target arm64-apple-ios13.0-macabi -isysroot ${SDK}"
|
export CFLAGS="-O2 -arch arm64 -target arm64-apple-ios13.1-macabi -isysroot ${SDK}"
|
||||||
export LDFLAGS="-arch arm64 -target arm64-apple-ios13.0-macabi -isysroot ${SDK}"
|
export LDFLAGS="-arch arm64 -target arm64-apple-ios13.1-macabi -isysroot ${SDK}"
|
||||||
|
|
||||||
make distclean >/dev/null 2>&1
|
make distclean >/dev/null 2>&1
|
||||||
./configure --host=arm-apple-ios --prefix="$CATALYST_ARM64_PREFIX" \
|
./configure --host=arm-apple-ios --prefix="$CATALYST_ARM64_PREFIX" \
|
||||||
@ -266,8 +266,8 @@ build_catalyst() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## x86_64 catalyst
|
## x86_64 catalyst
|
||||||
export CFLAGS="-O2 -arch x86_64 -target x86_64-apple-ios13.0-macabi -isysroot ${SDK}"
|
export CFLAGS="-O2 -arch x86_64 -target x86_64-apple-ios13.1-macabi -isysroot ${SDK}"
|
||||||
export LDFLAGS="-arch x86_64 -target x86_64-apple-ios13.0-macabi -isysroot ${SDK}"
|
export LDFLAGS="-arch x86_64 -target x86_64-apple-ios13.1-macabi -isysroot ${SDK}"
|
||||||
|
|
||||||
make distclean >/dev/null 2>&1
|
make distclean >/dev/null 2>&1
|
||||||
./configure --host=x86_64-apple-ios --prefix="$CATALYST_X86_64_PREFIX" \
|
./configure --host=x86_64-apple-ios --prefix="$CATALYST_X86_64_PREFIX" \
|
||||||
|
194
deps/libsodium/m4/libtool.m4
vendored
194
deps/libsodium/m4/libtool.m4
vendored
@ -1,6 +1,7 @@
|
|||||||
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2001, 2003-2019, 2021-2022 Free Software
|
||||||
|
# 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
|
||||||
@ -31,7 +32,7 @@ m4_define([_LT_COPYING], [dnl
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 58 LT_INIT
|
# serial 59 LT_INIT
|
||||||
|
|
||||||
|
|
||||||
# LT_PREREQ(VERSION)
|
# LT_PREREQ(VERSION)
|
||||||
@ -181,6 +182,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl
|
|||||||
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
|
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
|
||||||
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
|
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
|
||||||
m4_require([_LT_CMD_RELOAD])dnl
|
m4_require([_LT_CMD_RELOAD])dnl
|
||||||
|
m4_require([_LT_DECL_FILECMD])dnl
|
||||||
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
|
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
|
||||||
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
|
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
|
||||||
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
|
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
|
||||||
@ -219,8 +221,8 @@ esac
|
|||||||
ofile=libtool
|
ofile=libtool
|
||||||
can_build_shared=yes
|
can_build_shared=yes
|
||||||
|
|
||||||
# All known linkers require a '.a' archive for static linking (except MSVC,
|
# All known linkers require a '.a' archive for static linking (except MSVC and
|
||||||
# which needs '.lib').
|
# ICC, which need '.lib').
|
||||||
libext=a
|
libext=a
|
||||||
|
|
||||||
with_gnu_ld=$lt_cv_prog_gnu_ld
|
with_gnu_ld=$lt_cv_prog_gnu_ld
|
||||||
@ -778,7 +780,7 @@ _LT_EOF
|
|||||||
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
||||||
# text mode, it properly converts lines to CR/LF. This bash problem
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
||||||
# is reportedly fixed, but why not run on old versions too?
|
# is reportedly fixed, but why not run on old versions too?
|
||||||
sed '$q' "$ltmain" >> "$cfgfile" \
|
$SED '$q' "$ltmain" >> "$cfgfile" \
|
||||||
|| (rm -f "$cfgfile"; exit 1)
|
|| (rm -f "$cfgfile"; exit 1)
|
||||||
|
|
||||||
mv -f "$cfgfile" "$ofile" ||
|
mv -f "$cfgfile" "$ofile" ||
|
||||||
@ -1042,8 +1044,8 @@ int forced_loaded() { return 2;}
|
|||||||
_LT_EOF
|
_LT_EOF
|
||||||
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
|
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
|
||||||
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
|
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
|
||||||
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
|
echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
|
||||||
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
|
$AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
|
||||||
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
|
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
|
||||||
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
|
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
|
||||||
cat > conftest.c << _LT_EOF
|
cat > conftest.c << _LT_EOF
|
||||||
@ -1068,8 +1070,8 @@ _LT_EOF
|
|||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*)
|
darwin*)
|
||||||
case ${MACOSX_DEPLOYMENT_TARGET},$host in
|
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||||
10.[[012]],*|,*powerpc*)
|
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
*)
|
*)
|
||||||
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
|
||||||
@ -1121,12 +1123,12 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
|
|||||||
output_verbose_link_cmd=func_echo_all
|
output_verbose_link_cmd=func_echo_all
|
||||||
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
|
||||||
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
_LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
_LT_TAGVAR(module_expsym_cmds, $1)="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
m4_if([$1], [CXX],
|
m4_if([$1], [CXX],
|
||||||
[ if test yes != "$lt_cv_apple_cc_single_mod"; then
|
[ if test yes != "$lt_cv_apple_cc_single_mod"; then
|
||||||
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
|
_LT_TAGVAR(archive_expsym_cmds, $1)="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
|
||||||
fi
|
fi
|
||||||
],[])
|
],[])
|
||||||
else
|
else
|
||||||
@ -1240,7 +1242,8 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
|
|||||||
# _LT_WITH_SYSROOT
|
# _LT_WITH_SYSROOT
|
||||||
# ----------------
|
# ----------------
|
||||||
AC_DEFUN([_LT_WITH_SYSROOT],
|
AC_DEFUN([_LT_WITH_SYSROOT],
|
||||||
[AC_MSG_CHECKING([for sysroot])
|
[m4_require([_LT_DECL_SED])dnl
|
||||||
|
AC_MSG_CHECKING([for sysroot])
|
||||||
AC_ARG_WITH([sysroot],
|
AC_ARG_WITH([sysroot],
|
||||||
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
|
[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
|
||||||
[Search for dependent libraries within DIR (or the compiler's sysroot
|
[Search for dependent libraries within DIR (or the compiler's sysroot
|
||||||
@ -1257,7 +1260,7 @@ case $with_sysroot in #(
|
|||||||
fi
|
fi
|
||||||
;; #(
|
;; #(
|
||||||
/*)
|
/*)
|
||||||
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
|
lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
|
||||||
;; #(
|
;; #(
|
||||||
no|'')
|
no|'')
|
||||||
;; #(
|
;; #(
|
||||||
@ -1287,7 +1290,7 @@ ia64-*-hpux*)
|
|||||||
# options accordingly.
|
# options accordingly.
|
||||||
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.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*ELF-32*)
|
*ELF-32*)
|
||||||
HPUX_IA64_MODE=32
|
HPUX_IA64_MODE=32
|
||||||
;;
|
;;
|
||||||
@ -1304,7 +1307,7 @@ ia64-*-hpux*)
|
|||||||
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
if test yes = "$lt_cv_prog_gnu_ld"; then
|
if test yes = "$lt_cv_prog_gnu_ld"; then
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -melf32bsmip"
|
LD="${LD-ld} -melf32bsmip"
|
||||||
;;
|
;;
|
||||||
@ -1316,7 +1319,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
LD="${LD-ld} -32"
|
LD="${LD-ld} -32"
|
||||||
;;
|
;;
|
||||||
@ -1338,7 +1341,7 @@ mips64*-*linux*)
|
|||||||
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
|
||||||
if AC_TRY_EVAL(ac_compile); then
|
if AC_TRY_EVAL(ac_compile); then
|
||||||
emul=elf
|
emul=elf
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
emul="${emul}32"
|
emul="${emul}32"
|
||||||
;;
|
;;
|
||||||
@ -1346,7 +1349,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}64"
|
emul="${emul}64"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*MSB*)
|
*MSB*)
|
||||||
emul="${emul}btsmip"
|
emul="${emul}btsmip"
|
||||||
;;
|
;;
|
||||||
@ -1354,7 +1357,7 @@ mips64*-*linux*)
|
|||||||
emul="${emul}ltsmip"
|
emul="${emul}ltsmip"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `/usr/bin/file conftest.$ac_objext` in
|
case `$FILECMD conftest.$ac_objext` in
|
||||||
*N32*)
|
*N32*)
|
||||||
emul="${emul}n32"
|
emul="${emul}n32"
|
||||||
;;
|
;;
|
||||||
@ -1374,14 +1377,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
# not appear in the list.
|
# not appear in the list.
|
||||||
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 `$FILECMD conftest.o` in
|
||||||
*32-bit*)
|
*32-bit*)
|
||||||
case $host in
|
case $host in
|
||||||
x86_64-*kfreebsd*-gnu)
|
x86_64-*kfreebsd*-gnu)
|
||||||
LD="${LD-ld} -m elf_i386_fbsd"
|
LD="${LD-ld} -m elf_i386_fbsd"
|
||||||
;;
|
;;
|
||||||
x86_64-*linux*)
|
x86_64-*linux*)
|
||||||
case `/usr/bin/file conftest.o` in
|
case `$FILECMD conftest.o` in
|
||||||
*x86-64*)
|
*x86-64*)
|
||||||
LD="${LD-ld} -m elf32_x86_64"
|
LD="${LD-ld} -m elf32_x86_64"
|
||||||
;;
|
;;
|
||||||
@ -1449,7 +1452,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|||||||
# options accordingly.
|
# options accordingly.
|
||||||
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 `$FILECMD conftest.o` in
|
||||||
*64-bit*)
|
*64-bit*)
|
||||||
case $lt_cv_prog_gnu_ld in
|
case $lt_cv_prog_gnu_ld in
|
||||||
yes*)
|
yes*)
|
||||||
@ -1488,9 +1491,22 @@ need_locks=$enable_libtool_lock
|
|||||||
m4_defun([_LT_PROG_AR],
|
m4_defun([_LT_PROG_AR],
|
||||||
[AC_CHECK_TOOLS(AR, [ar], false)
|
[AC_CHECK_TOOLS(AR, [ar], false)
|
||||||
: ${AR=ar}
|
: ${AR=ar}
|
||||||
: ${AR_FLAGS=cru}
|
|
||||||
_LT_DECL([], [AR], [1], [The archiver])
|
_LT_DECL([], [AR], [1], [The archiver])
|
||||||
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
|
|
||||||
|
# Use ARFLAGS variable as AR's operation code to sync the variable naming with
|
||||||
|
# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
|
||||||
|
# higher priority because thats what people were doing historically (setting
|
||||||
|
# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
|
||||||
|
# variable obsoleted/removed.
|
||||||
|
|
||||||
|
test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
|
||||||
|
lt_ar_flags=$AR_FLAGS
|
||||||
|
_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
|
||||||
|
|
||||||
|
# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
|
||||||
|
# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
|
||||||
|
_LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
|
||||||
|
[Flags to create an archive])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
|
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
|
||||||
[lt_cv_ar_at_file=no
|
[lt_cv_ar_at_file=no
|
||||||
@ -1709,7 +1725,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|||||||
lt_cv_sys_max_cmd_len=8192;
|
lt_cv_sys_max_cmd_len=8192;
|
||||||
;;
|
;;
|
||||||
|
|
||||||
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
|
bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
|
||||||
# This has been around since 386BSD, at least. Likely further.
|
# This has been around since 386BSD, at least. Likely further.
|
||||||
if test -x /sbin/sysctl; then
|
if test -x /sbin/sysctl; then
|
||||||
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
|
||||||
@ -1752,7 +1768,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|||||||
sysv5* | sco5v6* | sysv4.2uw2*)
|
sysv5* | sco5v6* | sysv4.2uw2*)
|
||||||
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
|
||||||
if test -n "$kargmax"; then
|
if test -n "$kargmax"; then
|
||||||
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
|
lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'`
|
||||||
else
|
else
|
||||||
lt_cv_sys_max_cmd_len=32768
|
lt_cv_sys_max_cmd_len=32768
|
||||||
fi
|
fi
|
||||||
@ -2202,18 +2218,26 @@ m4_defun([_LT_CMD_STRIPLIB],
|
|||||||
striplib=
|
striplib=
|
||||||
old_striplib=
|
old_striplib=
|
||||||
AC_MSG_CHECKING([whether stripping libraries is possible])
|
AC_MSG_CHECKING([whether stripping libraries is possible])
|
||||||
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
if test -z "$STRIP"; then
|
||||||
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
AC_MSG_RESULT([no])
|
||||||
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
else
|
||||||
|
if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
||||||
|
old_striplib="$STRIP --strip-debug"
|
||||||
|
striplib="$STRIP --strip-unneeded"
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
# FIXME - insert some real tests, host_os isn't really good enough
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
darwin*)
|
darwin*)
|
||||||
if test -n "$STRIP"; then
|
# FIXME - insert some real tests, host_os isn't really good enough
|
||||||
striplib="$STRIP -x"
|
striplib="$STRIP -x"
|
||||||
old_striplib="$STRIP -S"
|
old_striplib="$STRIP -S"
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
|
;;
|
||||||
|
freebsd*)
|
||||||
|
if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
|
||||||
|
old_striplib="$STRIP --strip-debug"
|
||||||
|
striplib="$STRIP --strip-unneeded"
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
fi
|
||||||
@ -2223,6 +2247,7 @@ else
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
|
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
|
||||||
_LT_DECL([], [striplib], [1])
|
_LT_DECL([], [striplib], [1])
|
||||||
])# _LT_CMD_STRIPLIB
|
])# _LT_CMD_STRIPLIB
|
||||||
@ -2544,7 +2569,7 @@ cygwin* | mingw* | pw32* | cegcc*)
|
|||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
|
||||||
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
||||||
m4_if([$1], [],[
|
m4_if([$1], [],[
|
||||||
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
||||||
;;
|
;;
|
||||||
@ -2554,14 +2579,14 @@ m4_if([$1], [],[
|
|||||||
;;
|
;;
|
||||||
pw32*)
|
pw32*)
|
||||||
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
# pw32 DLLs use 'pw' prefix rather than 'lib'
|
||||||
library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*,cl*)
|
*,cl* | *,icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
libname_spec='$name'
|
libname_spec='$name'
|
||||||
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
||||||
library_names_spec='$libname.dll.lib'
|
library_names_spec='$libname.dll.lib'
|
||||||
@ -2580,7 +2605,7 @@ m4_if([$1], [],[
|
|||||||
done
|
done
|
||||||
IFS=$lt_save_ifs
|
IFS=$lt_save_ifs
|
||||||
# Convert to MSYS style.
|
# Convert to MSYS style.
|
||||||
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
|
||||||
;;
|
;;
|
||||||
cygwin*)
|
cygwin*)
|
||||||
# Convert to unix form, then to dos form, then back to unix form
|
# Convert to unix form, then to dos form, then back to unix form
|
||||||
@ -2617,7 +2642,7 @@ m4_if([$1], [],[
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
|
library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
|
||||||
dynamic_linker='Win32 ld.exe'
|
dynamic_linker='Win32 ld.exe'
|
||||||
;;
|
;;
|
||||||
@ -2650,7 +2675,7 @@ dgux*)
|
|||||||
shlibpath_var=LD_LIBRARY_PATH
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# 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.
|
||||||
if test -x /usr/bin/objformat; then
|
if test -x /usr/bin/objformat; then
|
||||||
@ -3449,7 +3474,7 @@ beos*)
|
|||||||
|
|
||||||
bsdi[[45]]*)
|
bsdi[[45]]*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd='/usr/bin/file -L'
|
lt_cv_file_magic_cmd='$FILECMD -L'
|
||||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -3483,14 +3508,14 @@ darwin* | rhapsody*)
|
|||||||
lt_cv_deplibs_check_method=pass_all
|
lt_cv_deplibs_check_method=pass_all
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
i*86 )
|
i*86 )
|
||||||
# Not sure whether the presence of OpenBSD here was a mistake.
|
# Not sure whether the presence of OpenBSD here was a mistake.
|
||||||
# Let's accept both of them until this is cleared up.
|
# Let's accept both of them until this is cleared up.
|
||||||
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
|
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -3504,7 +3529,7 @@ haiku*)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
hpux10.20* | hpux11*)
|
hpux10.20* | hpux11*)
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
ia64*)
|
ia64*)
|
||||||
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
|
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
|
||||||
@ -3551,7 +3576,7 @@ netbsd*)
|
|||||||
|
|
||||||
newos6*)
|
newos6*)
|
||||||
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
|
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
|
||||||
lt_cv_file_magic_cmd=/usr/bin/file
|
lt_cv_file_magic_cmd=$FILECMD
|
||||||
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -3678,13 +3703,13 @@ else
|
|||||||
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
mingw*) lt_bad_file=conftest.nm/nofile ;;
|
||||||
*) lt_bad_file=/dev/null ;;
|
*) lt_bad_file=/dev/null ;;
|
||||||
esac
|
esac
|
||||||
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
|
||||||
*$lt_bad_file* | *'Invalid file or object type'*)
|
*$lt_bad_file* | *'Invalid file or object type'*)
|
||||||
lt_cv_path_NM="$tmp_nm -B"
|
lt_cv_path_NM="$tmp_nm -B"
|
||||||
break 2
|
break 2
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
|
||||||
*/dev/null*)
|
*/dev/null*)
|
||||||
lt_cv_path_NM="$tmp_nm -p"
|
lt_cv_path_NM="$tmp_nm -p"
|
||||||
break 2
|
break 2
|
||||||
@ -3710,7 +3735,7 @@ else
|
|||||||
# Let the user override the test.
|
# Let the user override the test.
|
||||||
else
|
else
|
||||||
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
|
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
|
||||||
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
|
case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
|
||||||
*COFF*)
|
*COFF*)
|
||||||
DUMPBIN="$DUMPBIN -symbols -headers"
|
DUMPBIN="$DUMPBIN -symbols -headers"
|
||||||
;;
|
;;
|
||||||
@ -3950,7 +3975,7 @@ esac
|
|||||||
|
|
||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Gets list of data symbols to import.
|
# Gets list of data symbols to import.
|
||||||
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
|
lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
|
||||||
# Adjust the below global symbol transforms to fixup imported variables.
|
# Adjust the below global symbol transforms to fixup imported variables.
|
||||||
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
|
||||||
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
|
||||||
@ -3968,20 +3993,20 @@ fi
|
|||||||
# Transform an extracted symbol line into a proper C declaration.
|
# Transform an extracted symbol line into a proper C declaration.
|
||||||
# Some systems (esp. on ia64) link data and code symbols differently,
|
# Some systems (esp. on ia64) link data and code symbols differently,
|
||||||
# so use this general approach.
|
# so use this general approach.
|
||||||
lt_cv_sys_global_symbol_to_cdecl="sed -n"\
|
lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
|
||||||
$lt_cdecl_hook\
|
$lt_cdecl_hook\
|
||||||
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name and symbol address
|
# Transform an extracted symbol line into symbol name and symbol address
|
||||||
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
|
||||||
$lt_c_name_hook\
|
$lt_c_name_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
|
||||||
|
|
||||||
# Transform an extracted symbol line into symbol name with lib prefix and
|
# Transform an extracted symbol line into symbol name with lib prefix and
|
||||||
# symbol address.
|
# symbol address.
|
||||||
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
|
||||||
$lt_c_name_lib_hook\
|
$lt_c_name_lib_hook\
|
||||||
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
|
||||||
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
|
||||||
@ -4005,7 +4030,7 @@ for ac_symprfx in "" "_"; do
|
|||||||
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
|
||||||
# Fake it for dumpbin and say T for any non-static function,
|
# Fake it for dumpbin and say T for any non-static function,
|
||||||
# D for any global variable and I for any imported variable.
|
# D for any global variable and I for any imported variable.
|
||||||
# Also find C++ and __fastcall symbols from MSVC++,
|
# Also find C++ and __fastcall symbols from MSVC++ or ICC,
|
||||||
# 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};"\
|
||||||
@ -4023,9 +4048,9 @@ for ac_symprfx in "" "_"; do
|
|||||||
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
|
||||||
" ' prfx=^$ac_symprfx]"
|
" ' prfx=^$ac_symprfx]"
|
||||||
else
|
else
|
||||||
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
|
||||||
fi
|
fi
|
||||||
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
|
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
|
||||||
|
|
||||||
# Check to see that the pipe works correctly.
|
# Check to see that the pipe works correctly.
|
||||||
pipe_works=no
|
pipe_works=no
|
||||||
@ -4312,7 +4337,7 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# FreeBSD uses GNU C++
|
# FreeBSD uses GNU C++
|
||||||
;;
|
;;
|
||||||
hpux9* | hpux10* | hpux11*)
|
hpux9* | hpux10* | hpux11*)
|
||||||
@ -4395,7 +4420,7 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*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'
|
||||||
@ -4731,7 +4756,7 @@ m4_if([$1], [CXX], [
|
|||||||
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
|
*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'
|
||||||
@ -4914,7 +4939,7 @@ m4_if([$1], [CXX], [
|
|||||||
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
||||||
else
|
else
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
pw32*)
|
pw32*)
|
||||||
@ -4922,7 +4947,7 @@ m4_if([$1], [CXX], [
|
|||||||
;;
|
;;
|
||||||
cygwin* | mingw* | cegcc*)
|
cygwin* | mingw* | cegcc*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*)
|
cl* | icl*)
|
||||||
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -4979,15 +5004,15 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
|||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
# FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
if test yes != "$GCC"; then
|
if test yes != "$GCC"; then
|
||||||
with_gnu_ld=no
|
with_gnu_ld=no
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
interix*)
|
interix*)
|
||||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
# we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
|
||||||
with_gnu_ld=yes
|
with_gnu_ld=yes
|
||||||
;;
|
;;
|
||||||
openbsd* | bitrig*)
|
openbsd* | bitrig*)
|
||||||
@ -5039,7 +5064,7 @@ dnl Note also adjust exclude_expsyms for C++ above.
|
|||||||
_LT_TAGVAR(whole_archive_flag_spec, $1)=
|
_LT_TAGVAR(whole_archive_flag_spec, $1)=
|
||||||
fi
|
fi
|
||||||
supports_anon_versioning=no
|
supports_anon_versioning=no
|
||||||
case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
|
case `$LD -v | $SED -e 's/([[^)]]\+)\s\+//' 2>&1` in
|
||||||
*GNU\ gold*) supports_anon_versioning=yes ;;
|
*GNU\ gold*) supports_anon_versioning=yes ;;
|
||||||
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
|
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
|
||||||
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
||||||
@ -5151,6 +5176,7 @@ _LT_EOF
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(file_list_spec, $1)='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
interix[[3-9]]*)
|
interix[[3-9]]*)
|
||||||
@ -5165,7 +5191,7 @@ _LT_EOF
|
|||||||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
||||||
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||||
@ -5208,7 +5234,7 @@ _LT_EOF
|
|||||||
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*) # Sun C 5.9
|
*Sun\ C*) # Sun C 5.9
|
||||||
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
|
||||||
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
_LT_TAGVAR(compiler_needs_object, $1)=yes
|
||||||
@ -5220,7 +5246,7 @@ _LT_EOF
|
|||||||
|
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; 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~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@ -5236,7 +5262,7 @@ _LT_EOF
|
|||||||
_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 yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; 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~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
@ -5368,7 +5394,7 @@ _LT_EOF
|
|||||||
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
|
||||||
else
|
else
|
||||||
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
_LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
|
||||||
fi
|
fi
|
||||||
aix_use_runtimelinking=no
|
aix_use_runtimelinking=no
|
||||||
|
|
||||||
@ -5551,12 +5577,12 @@ _LT_EOF
|
|||||||
|
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
# When not using gcc, we currently assume that we are using
|
# When not using gcc, we currently assume that we are using
|
||||||
# Microsoft Visual C++.
|
# Microsoft Visual C++ or Intel C++ Compiler.
|
||||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||||
# no search path for DLLs.
|
# no search path for DLLs.
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
cl*)
|
cl* | icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
||||||
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||||
_LT_TAGVAR(always_export_symbols, $1)=yes
|
_LT_TAGVAR(always_export_symbols, $1)=yes
|
||||||
@ -5597,7 +5623,7 @@ _LT_EOF
|
|||||||
fi'
|
fi'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# Assume MSVC wrapper
|
# Assume MSVC and ICC wrapper
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
||||||
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
|
||||||
# Tell ltmain to make .lib files, not .a files.
|
# Tell ltmain to make .lib files, not .a files.
|
||||||
@ -5645,7 +5671,7 @@ _LT_EOF
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
|
||||||
_LT_TAGVAR(hardcode_direct, $1)=yes
|
_LT_TAGVAR(hardcode_direct, $1)=yes
|
||||||
@ -5856,6 +5882,7 @@ _LT_EOF
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(file_list_spec, $1)='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
osf3*)
|
osf3*)
|
||||||
@ -6626,8 +6653,8 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
|
|
||||||
cygwin* | mingw* | pw32* | cegcc*)
|
cygwin* | mingw* | pw32* | cegcc*)
|
||||||
case $GXX,$cc_basename in
|
case $GXX,$cc_basename in
|
||||||
,cl* | no,cl*)
|
,cl* | no,cl* | ,icl* | no,icl*)
|
||||||
# Native MSVC
|
# Native MSVC or ICC
|
||||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||||
# no search path for DLLs.
|
# no search path for DLLs.
|
||||||
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
|
||||||
@ -6725,6 +6752,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
emximp -o $lib $output_objdir/$libname.def'
|
emximp -o $lib $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
_LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
|
||||||
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
|
||||||
|
_LT_TAGVAR(file_list_spec, $1)='@'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
dgux*)
|
dgux*)
|
||||||
@ -6755,7 +6783,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* | dragonfly*)
|
freebsd* | dragonfly* | midnightbsd*)
|
||||||
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
||||||
# conventions
|
# conventions
|
||||||
_LT_TAGVAR(ld_shlibs, $1)=yes
|
_LT_TAGVAR(ld_shlibs, $1)=yes
|
||||||
@ -6892,7 +6920,7 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
|
||||||
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
|
||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||||
;;
|
;;
|
||||||
irix5* | irix6*)
|
irix5* | irix6*)
|
||||||
case $cc_basename in
|
case $cc_basename in
|
||||||
@ -7032,13 +7060,13 @@ if test yes != "$_lt_caught_CXX_error"; then
|
|||||||
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
_LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
||||||
if test yes = "$supports_anon_versioning"; then
|
if test yes = "$supports_anon_versioning"; 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~
|
||||||
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
echo "local: *; };" >> $output_objdir/$libname.ver~
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
case `$CC -V 2>&1 | sed 5q` in
|
case `$CC -V 2>&1 | $SED 5q` in
|
||||||
*Sun\ C*)
|
*Sun\ C*)
|
||||||
# Sun C++ 5.9
|
# Sun C++ 5.9
|
||||||
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
|
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
|
||||||
@ -8184,6 +8212,14 @@ _LT_DECL([], [DLLTOOL], [1], [DLL creation program])
|
|||||||
AC_SUBST([DLLTOOL])
|
AC_SUBST([DLLTOOL])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# _LT_DECL_FILECMD
|
||||||
|
# ----------------
|
||||||
|
# Check for a file(cmd) program that can be used to detect file type and magic
|
||||||
|
m4_defun([_LT_DECL_FILECMD],
|
||||||
|
[AC_CHECK_TOOL([FILECMD], [file], [:])
|
||||||
|
_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
|
||||||
|
])# _LD_DECL_FILECMD
|
||||||
|
|
||||||
# _LT_DECL_SED
|
# _LT_DECL_SED
|
||||||
# ------------
|
# ------------
|
||||||
# Check for a fully-functional sed program, that truncates
|
# Check for a fully-functional sed program, that truncates
|
||||||
|
13
deps/libsodium/m4/ltversion.m4
vendored
13
deps/libsodium/m4/ltversion.m4
vendored
@ -1,6 +1,7 @@
|
|||||||
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
|
# Copyright (C) 2004, 2011-2019, 2021-2022 Free Software Foundation,
|
||||||
|
# Inc.
|
||||||
# Written by Scott James Remnant, 2004
|
# Written by Scott James Remnant, 2004
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@ -9,15 +10,15 @@
|
|||||||
|
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# serial 4179 ltversion.m4
|
# serial 4245 ltversion.m4
|
||||||
# This file is part of GNU Libtool
|
# This file is part of GNU Libtool
|
||||||
|
|
||||||
m4_define([LT_PACKAGE_VERSION], [2.4.6])
|
m4_define([LT_PACKAGE_VERSION], [2.4.7])
|
||||||
m4_define([LT_PACKAGE_REVISION], [2.4.6])
|
m4_define([LT_PACKAGE_REVISION], [2.4.7])
|
||||||
|
|
||||||
AC_DEFUN([LTVERSION_VERSION],
|
AC_DEFUN([LTVERSION_VERSION],
|
||||||
[macro_version='2.4.6'
|
[macro_version='2.4.7'
|
||||||
macro_revision='2.4.6'
|
macro_revision='2.4.7'
|
||||||
_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)
|
||||||
])
|
])
|
||||||
|
1
deps/libsodium/msvc-scripts/Makefile.in
vendored
1
deps/libsodium/msvc-scripts/Makefile.in
vendored
@ -179,6 +179,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
1
deps/libsodium/src/Makefile.in
vendored
1
deps/libsodium/src/Makefile.in
vendored
@ -237,6 +237,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
1
deps/libsodium/src/libsodium/Makefile.in
vendored
1
deps/libsodium/src/libsodium/Makefile.in
vendored
@ -794,6 +794,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
@ -39,69 +39,25 @@
|
|||||||
#include "private/common.h"
|
#include "private/common.h"
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
blkcpy_64(escrypt_block_t *dest, const escrypt_block_t *src)
|
blkcpy(uint32_t *dest, const uint32_t *src, size_t len)
|
||||||
{
|
{
|
||||||
int i;
|
memcpy(dest, src, len * 64);
|
||||||
|
|
||||||
#if (ARCH_BITS == 32)
|
|
||||||
for (i = 0; i < 16; ++i) {
|
|
||||||
dest->w[i] = src->w[i];
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
for (i = 0; i < 8; ++i) {
|
|
||||||
dest->d[i] = src->d[i];
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
blkxor_64(escrypt_block_t *dest, const escrypt_block_t *src)
|
blkxor(uint32_t *dest, const uint32_t *src, size_t len)
|
||||||
{
|
{
|
||||||
int i;
|
size_t i;
|
||||||
|
|
||||||
#if (ARCH_BITS == 32)
|
#if ARCH_BITS == 32
|
||||||
for (i = 0; i < 16; ++i) {
|
for (i = 0; i < len * 16; i++) {
|
||||||
dest->w[i] ^= src->w[i];
|
dest[i] ^= src[i];
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
for (i = 0; i < 8; ++i) {
|
uint64_t *dest_ = (uint64_t *) (void *) dest;
|
||||||
dest->d[i] ^= src->d[i];
|
const uint64_t *src_ = (const uint64_t *) (const void *) src;
|
||||||
}
|
for (i = 0; i < len * 8; i++) {
|
||||||
#endif
|
dest_[i] ^= src_[i];
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
blkcpy(escrypt_block_t *dest, const escrypt_block_t *src, size_t len)
|
|
||||||
{
|
|
||||||
size_t i, L;
|
|
||||||
|
|
||||||
#if (ARCH_BITS == 32)
|
|
||||||
L = (len >> 2);
|
|
||||||
for (i = 0; i < L; ++i) {
|
|
||||||
dest->w[i] = src->w[i];
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
L = (len >> 3);
|
|
||||||
for (i = 0; i < L; ++i) {
|
|
||||||
dest->d[i] = src->d[i];
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
blkxor(escrypt_block_t *dest, const escrypt_block_t *src, size_t len)
|
|
||||||
{
|
|
||||||
size_t i, L;
|
|
||||||
|
|
||||||
#if (ARCH_BITS == 32)
|
|
||||||
L = (len >> 2);
|
|
||||||
for (i = 0; i < L; ++i) {
|
|
||||||
dest->w[i] ^= src->w[i];
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
L = (len >> 3);
|
|
||||||
for (i = 0; i < L; ++i) {
|
|
||||||
dest->d[i] ^= src->d[i];
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -113,11 +69,10 @@ blkxor(escrypt_block_t *dest, const escrypt_block_t *src, size_t len)
|
|||||||
static void
|
static void
|
||||||
salsa20_8(uint32_t B[16])
|
salsa20_8(uint32_t B[16])
|
||||||
{
|
{
|
||||||
escrypt_block_t X;
|
uint32_t x[16];
|
||||||
uint32_t *x = X.w;
|
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
blkcpy_64(&X, (escrypt_block_t *) B);
|
blkcpy(x, B, 1);
|
||||||
for (i = 0; i < 8; i += 2) {
|
for (i = 0; i < 8; i += 2) {
|
||||||
#define R(a, b) (((a) << (b)) | ((a) >> (32 - (b))))
|
#define R(a, b) (((a) << (b)) | ((a) >> (32 - (b))))
|
||||||
/* Operate on columns. */
|
/* Operate on columns. */
|
||||||
@ -181,30 +136,25 @@ blockmix_salsa8(const uint32_t *Bin, uint32_t *Bout, uint32_t *X, size_t r)
|
|||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
/* 1: X <-- B_{2r - 1} */
|
/* 1: X <-- B_{2r - 1} */
|
||||||
blkcpy_64((escrypt_block_t *) X,
|
blkcpy(X, &Bin[(2 * r - 1) * 16], 1);
|
||||||
(const escrypt_block_t *) &Bin[(2 * r - 1) * 16]);
|
|
||||||
|
|
||||||
/* 2: for i = 0 to 2r - 1 do */
|
/* 2: for i = 0 to 2r - 1 do */
|
||||||
for (i = 0; i < 2 * r; i += 2) {
|
for (i = 0; i < 2 * r; i += 2) {
|
||||||
/* 3: X <-- H(X \xor B_i) */
|
/* 3: X <-- H(X \xor B_i) */
|
||||||
blkxor_64((escrypt_block_t *) X,
|
blkxor(X, &Bin[i * 16], 1);
|
||||||
(const escrypt_block_t *) &Bin[i * 16]);
|
|
||||||
salsa20_8(X);
|
salsa20_8(X);
|
||||||
|
|
||||||
/* 4: Y_i <-- X */
|
/* 4: Y_i <-- X */
|
||||||
/* 6: B' <-- (Y_0, Y_2 ... Y_{2r-2}, Y_1, Y_3 ... Y_{2r-1}) */
|
/* 6: B' <-- (Y_0, Y_2 ... Y_{2r-2}, Y_1, Y_3 ... Y_{2r-1}) */
|
||||||
blkcpy_64((escrypt_block_t *) &Bout[i * 8],
|
blkcpy(&Bout[i * 8], X, 1);
|
||||||
(const escrypt_block_t *) X);
|
|
||||||
|
|
||||||
/* 3: X <-- H(X \xor B_i) */
|
/* 3: X <-- H(X \xor B_i) */
|
||||||
blkxor_64((escrypt_block_t *) X,
|
blkxor(X, &Bin[i * 16 + 16], 1);
|
||||||
(const escrypt_block_t *) &Bin[i * 16 + 16]);
|
|
||||||
salsa20_8(X);
|
salsa20_8(X);
|
||||||
|
|
||||||
/* 4: Y_i <-- X */
|
/* 4: Y_i <-- X */
|
||||||
/* 6: B' <-- (Y_0, Y_2 ... Y_{2r-2}, Y_1, Y_3 ... Y_{2r-1}) */
|
/* 6: B' <-- (Y_0, Y_2 ... Y_{2r-2}, Y_1, Y_3 ... Y_{2r-1}) */
|
||||||
blkcpy_64((escrypt_block_t *) &Bout[i * 8 + r * 16],
|
blkcpy(&Bout[i * 8 + r * 16], X, 1);
|
||||||
(escrypt_block_t *) X);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -245,15 +195,13 @@ smix(uint8_t *B, size_t r, uint64_t N, uint32_t *V, uint32_t *XY)
|
|||||||
/* 2: for i = 0 to N - 1 do */
|
/* 2: for i = 0 to N - 1 do */
|
||||||
for (i = 0; i < N; i += 2) {
|
for (i = 0; i < N; i += 2) {
|
||||||
/* 3: V_i <-- X */
|
/* 3: V_i <-- X */
|
||||||
blkcpy((escrypt_block_t *) &V[i * (32 * r)], (escrypt_block_t *) X,
|
blkcpy(&V[i * (32 * r)], X, 2 * r);
|
||||||
128 * r);
|
|
||||||
|
|
||||||
/* 4: X <-- H(X) */
|
/* 4: X <-- H(X) */
|
||||||
blockmix_salsa8(X, Y, Z, r);
|
blockmix_salsa8(X, Y, Z, r);
|
||||||
|
|
||||||
/* 3: V_i <-- X */
|
/* 3: V_i <-- X */
|
||||||
blkcpy((escrypt_block_t *) &V[(i + 1) * (32 * r)],
|
blkcpy(&V[(i + 1) * (32 * r)], Y, 2 * r);
|
||||||
(escrypt_block_t *) Y, 128 * r);
|
|
||||||
|
|
||||||
/* 4: X <-- H(X) */
|
/* 4: X <-- H(X) */
|
||||||
blockmix_salsa8(Y, X, Z, r);
|
blockmix_salsa8(Y, X, Z, r);
|
||||||
@ -265,16 +213,14 @@ smix(uint8_t *B, size_t r, uint64_t N, uint32_t *V, uint32_t *XY)
|
|||||||
j = integerify(X, r) & (N - 1);
|
j = integerify(X, r) & (N - 1);
|
||||||
|
|
||||||
/* 8: X <-- H(X \xor V_j) */
|
/* 8: X <-- H(X \xor V_j) */
|
||||||
blkxor((escrypt_block_t *) X, (escrypt_block_t *) &V[j * (32 * r)],
|
blkxor(X, &V[j * (32 * r)], 2 * r);
|
||||||
128 * r);
|
|
||||||
blockmix_salsa8(X, Y, Z, r);
|
blockmix_salsa8(X, Y, Z, r);
|
||||||
|
|
||||||
/* 7: j <-- Integerify(X) mod N */
|
/* 7: j <-- Integerify(X) mod N */
|
||||||
j = integerify(Y, r) & (N - 1);
|
j = integerify(Y, r) & (N - 1);
|
||||||
|
|
||||||
/* 8: X <-- H(X \xor V_j) */
|
/* 8: X <-- H(X \xor V_j) */
|
||||||
blkxor((escrypt_block_t *) Y, (escrypt_block_t *) &V[j * (32 * r)],
|
blkxor(Y, &V[j * (32 * r)], 2 * r);
|
||||||
128 * r);
|
|
||||||
blockmix_salsa8(Y, X, Z, r);
|
blockmix_salsa8(Y, X, Z, r);
|
||||||
}
|
}
|
||||||
/* 10: B' <-- X */
|
/* 10: B' <-- X */
|
||||||
|
@ -121,6 +121,7 @@ crypto_secretbox_open_detached(unsigned char *m, const unsigned char *c,
|
|||||||
for (i = 0U; i < mlen0; i++) {
|
for (i = 0U; i < mlen0; i++) {
|
||||||
m[i] = block0[i + crypto_secretbox_ZEROBYTES];
|
m[i] = block0[i + crypto_secretbox_ZEROBYTES];
|
||||||
}
|
}
|
||||||
|
sodium_memzero(block0, sizeof block0);
|
||||||
if (clen > mlen0) {
|
if (clen > mlen0) {
|
||||||
crypto_stream_salsa20_xor_ic(m + mlen0, c + mlen0, clen - mlen0,
|
crypto_stream_salsa20_xor_ic(m + mlen0, c + mlen0, clen - mlen0,
|
||||||
n + 16, 1U, subkey);
|
n + 16, 1U, subkey);
|
||||||
|
@ -226,6 +226,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
4
deps/libsodium/src/libsodium/sodium/utils.c
vendored
4
deps/libsodium/src/libsodium/sodium/utils.c
vendored
@ -242,8 +242,8 @@ sodium_compare(const unsigned char *b1_, const unsigned char *b2_, size_t len)
|
|||||||
i--;
|
i--;
|
||||||
x1 = b1[i];
|
x1 = b1[i];
|
||||||
x2 = b2[i];
|
x2 = b2[i];
|
||||||
gt |= ((x2 - x1) >> 8) & eq;
|
gt |= (((unsigned int) x2 - (unsigned int) x1) >> 8) & eq;
|
||||||
eq &= ((x2 ^ x1) - 1) >> 8;
|
eq &= (((unsigned int) (x2 ^ x1)) - 1) >> 8;
|
||||||
}
|
}
|
||||||
return (int) (gt + gt + eq) - 1;
|
return (int) (gt + gt + eq) - 1;
|
||||||
}
|
}
|
||||||
|
1
deps/libsodium/test/Makefile.in
vendored
1
deps/libsodium/test/Makefile.in
vendored
@ -237,6 +237,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
1
deps/libsodium/test/default/Makefile.in
vendored
1
deps/libsodium/test/default/Makefile.in
vendored
@ -781,6 +781,7 @@ ENABLE_VALGRIND_sgcheck = @ENABLE_VALGRIND_sgcheck@
|
|||||||
ETAGS = @ETAGS@
|
ETAGS = @ETAGS@
|
||||||
EXEEXT = @EXEEXT@
|
EXEEXT = @EXEEXT@
|
||||||
FGREP = @FGREP@
|
FGREP = @FGREP@
|
||||||
|
FILECMD = @FILECMD@
|
||||||
GREP = @GREP@
|
GREP = @GREP@
|
||||||
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
HAVE_AMD64_ASM_V = @HAVE_AMD64_ASM_V@
|
||||||
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
HAVE_AVX_ASM_V = @HAVE_AVX_ASM_V@
|
||||||
|
11
deps/libsodium/test/default/wasi-test-wrapper.sh
vendored
11
deps/libsodium/test/default/wasi-test-wrapper.sh
vendored
@ -39,11 +39,12 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "iwasm" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "ssvm" ]; then
|
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmedge" ]; then
|
||||||
if command -v ssvmc >/dev/null && command -v ssvm >/dev/null; then
|
if command -v wasmedgec >/dev/null && command -v wasmedge >/dev/null; then
|
||||||
ssvmc "$1" "${1}.so" &&
|
wasmedgec "$1" "${1}.so" &&
|
||||||
ssvm --dir=.:. "${1}.so" &&
|
wasmedge --dir=.:. "${1}.so" &&
|
||||||
rm -f "${1}.so"
|
rm -f "${1}.so" &&
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user