Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joey Salazar
BIND
Commits
b5079a1b
Commit
b5079a1b
authored
Feb 16, 2018
by
Tinderbox User
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regen master
parent
033be0db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1251 additions
and
838 deletions
+1251
-838
config.h.in
config.h.in
+1
-2
configure
configure
+1250
-836
No files found.
config.h.in
View file @
b5079a1b
...
...
@@ -544,8 +544,7 @@ int sigwait(const unsigned int *set, int *sig);
/* have __attribute__s used in librpz.h */
#undef LIBRPZ_HAVE_ATTR
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Defined if extern char *optarg is not declared. */
...
...
configure
View file @
b5079a1b
...
...
@@ -884,6 +884,7 @@ INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
CPP
LT_SYS_LIBRARY_PATH
OTOOL64
OTOOL
LIPO
...
...
@@ -978,6 +979,7 @@ enable_shared
enable_static
with_pic
enable_fast_install
with_aix_soname
with_gnu_ld
with_sysroot
enable_libtool_lock
...
...
@@ -1066,6 +1068,7 @@ CFLAGS
LDFLAGS
LIBS
CPPFLAGS
LT_SYS_LIBRARY_PATH
CPP'
...
...
@@ -1734,9 +1737,12 @@ Optional Packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both]
--with-aix-soname=aix|svr4|both
shared library versioning (aka "SONAME") variant to
provide on AIX, [default=aix].
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot
=DIR Search for dependent libraries within DIR
(or the
compiler's sysroot if not specified).
--with-sysroot
[=DIR] Search for dependent libraries within DIR (or the
compiler's sysroot if not specified).
--with-python=PATH specify path to python interpreter
--with-python-install-dir=PATH
installation directory for Python modules
...
...
@@ -1805,6 +1811,8 @@ Some influential environment variables:
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
LT_SYS_LIBRARY_PATH
User-defined run-time library search path.
CPP C preprocessor
Use these variables to override the choices made by `configure' or to help
...
...
@@ -2995,8 +3003,8 @@ esac
macro_version='2.4.
2
'
macro_revision='
1.3337
'
macro_version='2.4.
6
'
macro_revision='
2.4.6
'
...
...
@@ -3010,7 +3018,7 @@ macro_revision='1.3337'
ltmain=
"$ac_aux_dir/ltmain.sh"
ltmain=
$ac_aux_dir/ltmain.sh
# Backslashify metacharacters that are still active within
# double-quoted strings.
...
...
@@ -3059,7 +3067,7 @@ func_echo_all ()
$ECHO ""
}
case
"$ECHO"
in
case
$ECHO
in
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
$as_echo "printf" >&6; } ;;
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
...
...
@@ -4171,19 +4179,19 @@ test -z "$GREP" && GREP=grep
# Check whether --with-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then :
withval=$with_gnu_ld; test
"$withval" = no
|| with_gnu_ld=yes
withval=$with_gnu_ld; test
no = "$withval"
|| with_gnu_ld=yes
else
with_gnu_ld=no
fi
ac_prog=ld
if test
"$GCC" = yes
; then
if test
yes = "$GCC"
; then
# Check if gcc -print-prog-name=ld gives a path.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
$as_echo_n "checking for ld used by $CC... " >&6; }
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
# gcc leaves a trailing carriage return
,
which upsets mingw
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
*)
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
...
...
@@ -4197,7 +4205,7 @@ $as_echo_n "checking for ld used by $CC... " >&6; }
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
done
test -z "$LD" && LD=
"$ac_prog"
test -z "$LD" && LD=
$ac_prog
;;
"")
# If it fails, then pretend we aren't using GCC.
...
...
@@ -4208,7 +4216,7 @@ $as_echo_n "checking for ld used by $CC... " >&6; }
with_gnu_ld=unknown
;;
esac
elif test
"$with_gnu_ld" = yes
; then
elif test
yes = "$with_gnu_ld"
; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
$as_echo_n "checking for GNU ld... " >&6; }
else
...
...
@@ -4219,32 +4227,32 @@ if ${lt_cv_path_LD+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -z "$LD"; then
lt_save_ifs=
"$IFS"
; IFS=$PATH_SEPARATOR
lt_save_ifs=
$IFS
; IFS=$PATH_SEPARATOR
for ac_dir in $PATH; do
IFS=
"$lt_save_ifs"
IFS=
$lt_save_ifs
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
lt_cv_path_LD=
"$ac_dir/$ac_prog"
lt_cv_path_LD=
$ac_dir/$ac_prog
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some variants of GNU ld only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
test
"$with_gnu_ld" != no
&& break
test
no != "$with_gnu_ld"
&& break
;;
*)
test
"$with_gnu_ld" != yes
&& break
test
yes != "$with_gnu_ld"
&& break
;;
esac
fi
done
IFS=
"$lt_save_ifs"
IFS=
$lt_save_ifs
else
lt_cv_path_LD=
"$LD"
# Let the user override the test with a path.
lt_cv_path_LD=
$LD
# Let the user override the test with a path.
fi
fi
LD=
"$lt_cv_path_LD"
LD=
$lt_cv_path_LD
if test -n "$LD"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
$as_echo "$LD" >&6; }
...
...
@@ -4287,33 +4295,38 @@ if ${lt_cv_path_NM+:} false; then :
else
if test -n "$NM"; then
# Let the user override the test.
lt_cv_path_NM=
"$NM"
lt_cv_path_NM=
$NM
else
lt_nm_to_check=
"${ac_tool_prefix}nm"
lt_nm_to_check=
${ac_tool_prefix}nm
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
lt_nm_to_check="$lt_nm_to_check nm"
fi
for lt_tmp_nm in $lt_nm_to_check; do
lt_save_ifs=
"$IFS"
; IFS=$PATH_SEPARATOR
lt_save_ifs=
$IFS
; IFS=$PATH_SEPARATOR
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
IFS=
"$lt_save_ifs"
IFS=
$lt_save_ifs
test -z "$ac_dir" && ac_dir=.
tmp_nm=
"$ac_dir/$lt_tmp_nm"
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"
; then
tmp_nm=
$ac_dir/$lt_tmp_nm
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
# Check to see if the nm accepts a BSD-compat flag.
# Adding the
`
sed 1q' prevents false positives on HP-UX, which says:
# Adding the
'
sed 1q' prevents false positives on HP-UX, which says:
# nm: unknown option "B" ignored
# Tru64's nm complains that /dev/null is an invalid object file
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
*/dev/null* | *'Invalid file or object type'*)
# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
case $build_os in
mingw*) lt_bad_file=conftest.nm/nofile ;;
*) lt_bad_file=/dev/null ;;
esac
case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
*$lt_bad_file* | *'Invalid file or object type'*)
lt_cv_path_NM="$tmp_nm -B"
break
break
2
;;
*)
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
*/dev/null*)
lt_cv_path_NM="$tmp_nm -p"
break
break
2
;;
*)
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
...
...
@@ -4324,15 +4337,15 @@ else
esac
fi
done
IFS=
"$lt_save_ifs"
IFS=
$lt_save_ifs
done
: ${lt_cv_path_NM=no}
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
$as_echo "$lt_cv_path_NM" >&6; }
if test
"$lt_cv_path_NM" != "no
"; then
NM=
"$lt_cv_path_NM"
if test
no != "$lt_cv_path_NM
"; then
NM=
$lt_cv_path_NM
else
# Didn't find any BSD compatible name lister, look for dumpbin.
if test -n "$DUMPBIN"; then :
...
...
@@ -4438,9 +4451,9 @@ esac
fi
fi
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
case `$DUMPBIN -symbols
-headers
/dev/null 2>&1 | sed '1q'` in
*COFF*)
DUMPBIN="$DUMPBIN -symbols"
DUMPBIN="$DUMPBIN -symbols
-headers
"
;;
*)
DUMPBIN=:
...
...
@@ -4448,8 +4461,8 @@ fi
esac
fi
if test
"$DUMPBIN" != ":
"; then
NM=
"$DUMPBIN"
if test
: != "$DUMPBIN
"; then
NM=
$DUMPBIN
fi
fi
test -z "$NM" && NM=nm
...
...
@@ -4500,7 +4513,7 @@ if ${lt_cv_sys_max_cmd_len+:} false; then :
$as_echo_n "(cached) " >&6
else
i=0
teststring=
"ABCD"
teststring=
ABCD
case $build_os in
msdosdjgpp*)
...
...
@@ -4540,7 +4553,7 @@ else
lt_cv_sys_max_cmd_len=8192;
;;
netbsd* | freebsd* | openbsd* | darwin* | dragonfly
*)
bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd
*)
# This has been around since 386BSD, at least. Likely further.
if test -x /sbin/sysctl; then
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
...
...
@@ -4590,22 +4603,23 @@ else
;;
*)
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
if test -n "$lt_cv_sys_max_cmd_len"; then
if test -n "$lt_cv_sys_max_cmd_len" && \
test undefined != "$lt_cv_sys_max_cmd_len"; then
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
else
# Make teststring a little bigger before we do anything with it.
# a 1K string should be a reasonable start.
for i in 1 2 3 4 5 6 7 8
; do
for i in 1 2 3 4 5 6 7 8; do
teststring=$teststring$teststring
done
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
# If test is not a shell built-in, we'll probably end up computing a
# maximum length that is only half of the actual maximum length, but
# we can't tell.
while { test
"X"
`env echo "$teststring$teststring" 2>/dev/null` \
while { test
X
`env echo "$teststring$teststring" 2>/dev/null` \
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
test
$i != 17
# 1/2 MB should be enough
test
17 != "$i"
# 1/2 MB should be enough
do
i=`expr $i + 1`
teststring=$teststring$teststring
...
...
@@ -4623,7 +4637,7 @@ else
fi
if test -n
$lt_cv_sys_max_cmd_len
; then
if test -n
"$lt_cv_sys_max_cmd_len"
; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
else
...
...
@@ -4641,30 +4655,6 @@ max_cmd_len=$lt_cv_sys_max_cmd_len
: ${MV="mv -f"}
: ${RM="rm -f"}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
= c,a/b,b/c, \
&& eval 'test $(( 1 + 1 )) -eq 2 \
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
&& xsi_shell=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
$as_echo "$xsi_shell" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
lt_shell_append=no
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
>/dev/null 2>&1 \
&& lt_shell_append=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
$as_echo "$lt_shell_append" >&6; }
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
lt_unset=unset
else
...
...
@@ -4787,13 +4777,13 @@ esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
if test
"$GCC" != yes
; then
if test
yes != "$GCC"
; then
reload_cmds=false
fi
;;
darwin*)
if test
"$GCC" = yes
; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib $
{wl}
-r -o $output$reload_objs'
if test
yes = "$GCC"
; then
reload_cmds='$LTCC $LTCFLAGS -nostdlib $
wl
-r -o $output$reload_objs'
else
reload_cmds='$LD$reload_flag -o $output$reload_objs'
fi
...
...
@@ -4921,13 +4911,13 @@ lt_cv_deplibs_check_method='unknown'
# Need to set the preceding variable on all platforms that support
# interlibrary dependencies.
# 'none' -- dependencies not supported.
#
`
unknown' -- same as none, but documents that we really don't know.
#
'
unknown' -- same as none, but documents that we really don't know.
# 'pass_all' -- all dependencies passed with no checks.
# 'test_compile' -- check by making test program.
# 'file_magic [[regex]]' -- check by looking for files in library path
#
which
responds to the $file_magic_cmd with a given extended regex.
# If you have
`
file' or equivalent on your system and you're not sure
# whether
`
pass_all' will *always* work, you probably want this one.
#
that
responds to the $file_magic_cmd with a given extended regex.
# If you have
'
file' or equivalent on your system and you're not sure
# whether
'
pass_all' will *always* work, you probably want this one.
case $host_os in
aix[4-9]*)
...
...
@@ -4954,8 +4944,7 @@ mingw* | pw32*)
# Base MSYS/MinGW do not provide the 'file' command needed by
# func_win32_libid shell function, so use a weaker test based on 'objdump',
# unless we find 'file', for example because we are cross-compiling.
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
if ( file / ) >/dev/null 2>&1; then
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
lt_cv_file_magic_cmd='func_win32_libid'
else
...
...
@@ -4991,10 +4980,6 @@ freebsd* | dragonfly*)
fi
;;
gnu*)
lt_cv_deplibs_check_method=pass_all
;;
haiku*)
lt_cv_deplibs_check_method=pass_all
;;
...
...
@@ -5033,7 +5018,7 @@ irix5* | irix6* | nonstopux*)
;;
# This must be glibc/ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu
| gnu*
)
lt_cv_deplibs_check_method=pass_all
;;
...
...
@@ -5055,8 +5040,8 @@ newos6*)
lt_cv_deplibs_check_method=pass_all
;;
openbsd*)
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"
|| test "$host_os-$host_cpu" = "openbsd2.8-powerpc"
; then
openbsd*
| bitrig*
)
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
else
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
...
...
@@ -5109,6 +5094,9 @@ sysv4 | sysv4.3*)
tpf*)
lt_cv_deplibs_check_method=pass_all
;;
os2*)
lt_cv_deplibs_check_method=pass_all
;;
esac
fi
...
...
@@ -5266,8 +5254,8 @@ else
case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
# two different shell functions defined in ltmain.sh
# decide which to use based on capabilities of $DLLTOOL
# two different shell functions defined in ltmain.sh
;
# decide which
one
to use based on capabilities of $DLLTOOL
case `$DLLTOOL --help 2>&1` in
*--identify-strict*)
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
...
...
@@ -5279,7 +5267,7 @@ cygwin* | mingw* | pw32* | cegcc*)
;;
*)
# fallback: assume linklib IS sharedlib
lt_cv_sharedlib_from_linklib_cmd=
"$ECHO"
lt_cv_sharedlib_from_linklib_cmd=
$ECHO
;;
esac
...
...
@@ -5434,7 +5422,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test
"$ac_status" -eq 0
; then
if test
0 -eq "$ac_status"
; then
# Ensure the archiver fails upon bogus file names.
rm -f conftest.$ac_objext libconftest.a
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
...
...
@@ -5442,7 +5430,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
if test
"$ac_status" -ne 0
; then
if test
0 -ne "$ac_status"
; then
lt_cv_ar_at_file=@
fi
fi
...
...
@@ -5455,7 +5443,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
$as_echo "$lt_cv_ar_at_file" >&6; }
if test
"x$lt_cv_ar_at_file" = xno
; then
if test
no = "$lt_cv_ar_at_file"
; then
archiver_list_spec=
else
archiver_list_spec=$lt_cv_ar_at_file
...
...
@@ -5672,7 +5660,7 @@ old_postuninstall_cmds=
if test -n "$RANLIB"; then
case $host_os in
openbsd*)
bitrig* |
openbsd*)
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
;;
*)
...
...
@@ -5804,7 +5792,7 @@ cygwin* | mingw* | pw32* | cegcc*)
symcode='[ABCDGISTW]'
;;
hpux*)
if test
"$host_cpu" = ia64
; then
if test
ia64 = "$host_cpu"
; then
symcode='[ABCDEGRST]'
fi
;;
...
...
@@ -5837,14 +5825,44 @@ case `$NM -V 2>&1` in
symcode='[ABCDGIRSTW]' ;;
esac
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
# Gets list of data symbols to import.
lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
# Adjust the below global symbol transforms to fixup imported variables.
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_lib_hook="\
-e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
-e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
else
# Disable hooks by default.
lt_cv_sys_global_symbol_to_import=
lt_cdecl_hook=
lt_c_name_hook=
lt_c_name_lib_hook=
fi
# Transform an extracted symbol line into a proper C declaration.
# Some systems (esp. on ia64) link data and code symbols differently,
# so use this general approach.
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
lt_cv_sys_global_symbol_to_cdecl="sed -n"\
$lt_cdecl_hook\
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
# Transform an extracted symbol line into symbol name and symbol address
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
$lt_c_name_hook\
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
# Transform an extracted symbol line into symbol name with lib prefix and
# symbol address.
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
$lt_c_name_lib_hook\
" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
# Handle CRLF in mingw tool chain
opt_cr=
...
...
@@ -5862,21 +5880,24 @@ for ac_symprfx in "" "_"; do
# Write the raw and C identifiers.
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
# Fake it for dumpbin and say T for any non-static function
#
and D for any global
variable.
# Fake it for dumpbin and say T for any non-static function
,
#
D for any global variable and I for any imported
variable.
# Also find C++ and __fastcall symbols from MSVC++,
# which start with @ or ?.
lt_cv_sys_global_symbol_pipe="$AWK '"\
" {last_section=section; section=\$ 3};"\
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
" \$ 0!~/External *\|/{next};"\
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
" {if(hide[section]) next};"\
" {f=
0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D
\"};"\
" {split(\$ 0,
a, /\||\r/); split(a[2],
s)};"\
" s[1]~/^[@?]/{print
s[1],
s[1]; next};"\
" s[1]~prfx {split(s[1],t,\"@\"); print
t[1],
substr(t[1],length(prfx))}"\
" {f=
\"D\"}; \$ 0~/\(\).*\|/{f=\"T
\"};"\
" {split(\$ 0,
a,/\||\r/); split(a[2],
s)};"\
" s[1]~/^[@?]/{print
f,s[1],
s[1]; next};"\
" s[1]~prfx {split(s[1],t,\"@\"); print
f,t[1],
substr(t[1],length(prfx))}"\
" ' prfx=^$ac_symprfx"
else
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
...
...
@@ -5924,11 +5945,11 @@ _LT_EOF
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
cat <<_LT_EOF > conftest.$ac_ext
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
#if defined
(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
/* DATA imports from DLLs on WIN32 c
o
n't be const, because runtime
#if defined
_WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
/* DATA imports from DLLs on WIN32 c
a
n't be const, because runtime
relocations are performed -- see ld's documentation on pseudo-relocs. */
# define LT_DLSYM_CONST
#elif defined
(__osf__)
#elif defined
__osf__
/* This system does not cope well with relocations in const data. */
# define LT_DLSYM_CONST
#else
...
...
@@ -5954,7 +5975,7 @@ lt__PROGRAM__LTX_preloaded_symbols[] =
{
{ "@PROGRAM@", (void *) 0 },
_LT_EOF
$SED "s/^$symcode$symcode*
\(.*\) \(.*\)$/ {\"\2\", (void *) \&\2
},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
$SED "s/^$symcode$symcode*
.* \(.*\)$/ {\"\1\", (void *) \&\1
},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
cat <<\_LT_EOF >> conftest.$ac_ext
{0, (void *) 0}
};
...
...
@@ -5974,13 +5995,13 @@ _LT_EOF
mv conftest.$ac_objext conftstm.$ac_objext
lt_globsym_save_LIBS=$LIBS
lt_globsym_save_CFLAGS=$CFLAGS
LIBS=
"conftstm.$ac_objext"
LIBS=
conftstm.$ac_objext
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
(eval $ac_link) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && test -s conftest$
{ac_exeext}
; then
test $ac_status = 0; } && test -s conftest$
ac_exeext
; then
pipe_works=yes
fi
LIBS=$lt_globsym_save_LIBS
...
...
@@ -6001,7 +6022,7 @@ _LT_EOF
rm -rf conftest* conftst*
# Do not use the global_symbol_pipe unless it works.
if test
"$pipe_works" = yes
; then
if test
yes = "$pipe_works"
; then
break
else
lt_cv_sys_global_symbol_pipe=
...
...
@@ -6043,6 +6064,16 @@ fi
...
...
@@ -6066,9 +6097,9 @@ fi
lt_sysroot=
case $
{with_sysroot}
in #(
case $
with_sysroot
in #(
yes)
if test
"$GCC" = yes
; then
if test
yes = "$GCC"
; then
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
fi
;; #(
...
...
@@ -6078,8 +6109,8 @@ case ${with_sysroot} in #(
no|'')
;; #(
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $
{with_sysroot}
" >&5
$as_echo "$
{with_sysroot}
" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $
with_sysroot
" >&5
$as_echo "$
with_sysroot
" >&6; }
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
;;
esac
...
...
@@ -6091,18 +6122,99 @@ $as_echo "${lt_sysroot:-no}" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
$as_echo_n "checking for a working dd... " >&6; }
if ${ac_cv_path_lt_DD+:} false; then :
$as_echo_n "(cached) " >&6
else
printf 0123456789abcdef0123456789abcdef >conftest.i
cat conftest.i conftest.i >conftest2.i
: ${lt_DD:=$DD}
if test -z "$lt_DD"; then
ac_path_lt_DD_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_prog in dd; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
as_fn_executable_p "$ac_path_lt_DD" || continue
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
cmp -s conftest.i conftest.out \
&& ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
fi
$ac_path_lt_DD_found && break 3
done
done
done
IFS=$as_save_IFS
if test -z "$ac_cv_path_lt_DD"; then
:
fi
else
ac_cv_path_lt_DD=$lt_DD
fi
rm -f conftest.i conftest2.i conftest.out
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
$as_echo "$ac_cv_path_lt_DD" >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
$as_echo_n "checking how to truncate binary pipes... " >&6; }
if ${lt_cv_truncate_bin+:} false; then :
$as_echo_n "(cached) " >&6
else
printf 0123456789abcdef0123456789abcdef >conftest.i
cat conftest.i conftest.i >conftest2.i
lt_cv_truncate_bin=
if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
cmp -s conftest.i conftest.out \
&& lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
fi
rm -f conftest.i conftest2.i conftest.out
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
$as_echo "$lt_cv_truncate_bin" >&6; }