mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
regen config
This regenerates config files changed by the previous 44 commits. Note that subject lines in these commits mostly match the gcc git originating commit.
This commit is contained in:
parent
e26b2c86a1
commit
6a6859cbff
5831
Makefile.in
5831
Makefile.in
File diff suppressed because it is too large
Load Diff
73
bfd/configure
vendored
73
bfd/configure
vendored
@ -6084,7 +6084,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6160,6 +6160,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -7621,23 +7626,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -8896,7 +8903,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9405,7 +9412,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9417,7 +9424,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10417,7 +10424,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -10665,6 +10677,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11106,7 +11137,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11109 "configure"
|
||||
#line 11140 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11212,7 +11243,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11215 "configure"
|
||||
#line 11246 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
73
binutils/configure
vendored
73
binutils/configure
vendored
@ -5764,7 +5764,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -5840,6 +5840,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -7301,23 +7306,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -8607,7 +8614,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9116,7 +9123,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9128,7 +9135,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10128,7 +10135,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -10376,6 +10388,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -10817,7 +10848,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10820 "configure"
|
||||
#line 10851 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10923,7 +10954,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10926 "configure"
|
||||
#line 10957 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
384
configure
vendored
384
configure
vendored
@ -613,6 +613,7 @@ DSYMUTIL_FOR_TARGET
|
||||
DLLTOOL_FOR_TARGET
|
||||
AS_FOR_TARGET
|
||||
AR_FOR_TARGET
|
||||
GM2_FOR_TARGET
|
||||
GDC_FOR_TARGET
|
||||
GOC_FOR_TARGET
|
||||
GFORTRAN_FOR_TARGET
|
||||
@ -688,7 +689,11 @@ get_gcc_base_ver
|
||||
extra_host_zlib_configure_flags
|
||||
extra_host_libiberty_configure_flags
|
||||
stage1_languages
|
||||
host_libs_picflag
|
||||
PICFLAG
|
||||
host_shared
|
||||
gcc_host_pie
|
||||
host_pie
|
||||
extra_linker_plugin_flags
|
||||
extra_linker_plugin_configure_flags
|
||||
islinc
|
||||
@ -722,7 +727,6 @@ CPPFLAGS
|
||||
LDFLAGS
|
||||
CFLAGS
|
||||
CC
|
||||
extra_liboffloadmic_configure_flags
|
||||
target_subdir
|
||||
host_subdir
|
||||
build_subdir
|
||||
@ -810,9 +814,9 @@ enable_year2038
|
||||
enable_libquadmath
|
||||
enable_libquadmath_support
|
||||
enable_libada
|
||||
enable_libgm2
|
||||
enable_libssp
|
||||
enable_libstdcxx
|
||||
enable_liboffloadmic
|
||||
enable_bootstrap
|
||||
enable_pgo_build
|
||||
with_mpc
|
||||
@ -836,6 +840,7 @@ enable_isl_version_check
|
||||
enable_lto
|
||||
enable_linker_plugin_configure_flags
|
||||
enable_linker_plugin_flags
|
||||
enable_host_pie
|
||||
enable_host_shared
|
||||
enable_stage1_languages
|
||||
enable_objc_gc
|
||||
@ -888,6 +893,7 @@ GCC_FOR_TARGET
|
||||
GFORTRAN_FOR_TARGET
|
||||
GOC_FOR_TARGET
|
||||
GDC_FOR_TARGET
|
||||
GM2_FOR_TARGET
|
||||
AR_FOR_TARGET
|
||||
AS_FOR_TARGET
|
||||
DLLTOOL_FOR_TARGET
|
||||
@ -1553,10 +1559,9 @@ Optional Features:
|
||||
--disable-libquadmath-support
|
||||
disable libquadmath support for Fortran
|
||||
--enable-libada build libada directory
|
||||
--enable-libgm2 build libgm2 directory
|
||||
--enable-libssp build libssp directory
|
||||
--disable-libstdcxx do not build libstdc++-v3 directory
|
||||
--enable-liboffloadmic=ARG
|
||||
build liboffloadmic [ARG={no,host,target}]
|
||||
--enable-bootstrap enable bootstrapping [yes if native build]
|
||||
--enable-pgo-build[=lto]
|
||||
enable the PGO build
|
||||
@ -1569,6 +1574,7 @@ Optional Features:
|
||||
--enable-linker-plugin-flags=FLAGS
|
||||
additional flags for configuring and building linker
|
||||
plugins [none]
|
||||
--enable-host-pie build position independent host executables
|
||||
--enable-host-shared build host code as shared libraries
|
||||
--enable-stage1-languages[=all]
|
||||
choose additional languages to build during stage1.
|
||||
@ -1691,6 +1697,8 @@ Some influential environment variables:
|
||||
GOC for the target
|
||||
GDC_FOR_TARGET
|
||||
GDC for the target
|
||||
GM2_FOR_TARGET
|
||||
GM2 for the target
|
||||
AR_FOR_TARGET
|
||||
AR for the target
|
||||
AS_FOR_TARGET
|
||||
@ -2829,7 +2837,7 @@ host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktr
|
||||
# binutils, gas and ld appear in that order because it makes sense to run
|
||||
# "make check" in that particular order.
|
||||
# If --enable-gold is used, "gold" may replace "ld".
|
||||
host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools c++tools"
|
||||
host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gm2tools gotools c++tools"
|
||||
|
||||
# these libraries are built for the target environment, and are built after
|
||||
# the host libraries and the host tools (which may be a cross compiler)
|
||||
@ -2839,7 +2847,6 @@ target_libraries="target-libgcc \
|
||||
target-libgloss \
|
||||
target-newlib \
|
||||
target-libgomp \
|
||||
target-liboffloadmic \
|
||||
target-libatomic \
|
||||
target-libitm \
|
||||
target-libstdc++-v3 \
|
||||
@ -2851,6 +2858,7 @@ target_libraries="target-libgcc \
|
||||
target-libffi \
|
||||
target-libobjc \
|
||||
target-libada \
|
||||
target-libgm2 \
|
||||
target-libgo \
|
||||
target-libphobos \
|
||||
target-zlib"
|
||||
@ -3069,7 +3077,7 @@ case "${ENABLE_GOLD}" in
|
||||
*-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
|
||||
| *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
|
||||
| *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
|
||||
| *-*-solaris2* | *-*-nto* | *-*-nacl*)
|
||||
| *-*-solaris2* | *-*-nto* | *-*-nacl* | *-*-haiku*)
|
||||
case "${target}" in
|
||||
*-*-linux*aout* | *-*-linux*oldld*)
|
||||
;;
|
||||
@ -3240,6 +3248,17 @@ if test "${ENABLE_LIBADA}" != "yes" ; then
|
||||
noconfigdirs="$noconfigdirs gnattools"
|
||||
fi
|
||||
|
||||
# Check whether --enable-libgm2 was given.
|
||||
if test "${enable_libgm2+set}" = set; then :
|
||||
enableval=$enable_libgm2; ENABLE_LIBGM2=$enableval
|
||||
else
|
||||
ENABLE_LIBGM2=no
|
||||
fi
|
||||
|
||||
if test "${ENABLE_LIBGM2}" != "yes" ; then
|
||||
noconfigdirs="$noconfigdirs gm2tools"
|
||||
fi
|
||||
|
||||
# Check whether --enable-libssp was given.
|
||||
if test "${enable_libssp+set}" = set; then :
|
||||
enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
|
||||
@ -3259,44 +3278,6 @@ if test "${ENABLE_LIBSTDCXX}" = "no" ; then
|
||||
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
||||
fi
|
||||
|
||||
# If this is accelerator compiler and its target is intelmic we enable
|
||||
# target liboffloadmic by default. If this is compiler with offloading
|
||||
# for intelmic we enable host liboffloadmic by default. Otherwise
|
||||
# liboffloadmic is disabled by default.
|
||||
# Check whether --enable-liboffloadmic was given.
|
||||
if test "${enable_liboffloadmic+set}" = set; then :
|
||||
enableval=$enable_liboffloadmic; case "$enableval" in
|
||||
no | host | target)
|
||||
enable_liboffloadmic=$enableval ;;
|
||||
*)
|
||||
as_fn_error $? "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
|
||||
esac
|
||||
else
|
||||
if test x"$enable_as_accelerator_for" != x; then
|
||||
case "${target}" in
|
||||
*-intelmic-* | *-intelmicemul-*)
|
||||
enable_liboffloadmic=target
|
||||
extra_liboffloadmic_configure_flags="--enable-liboffloadmic=target"
|
||||
;;
|
||||
*)
|
||||
enable_liboffloadmic=no
|
||||
;;
|
||||
esac
|
||||
else
|
||||
case "${enable_offload_targets}" in
|
||||
*-intelmic-* | *-intelmicemul-*)
|
||||
enable_liboffloadmic=host
|
||||
extra_liboffloadmic_configure_flags="--enable-liboffloadmic=host"
|
||||
;;
|
||||
*)
|
||||
enable_liboffloadmic=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Enable libgomp by default on hosted POSIX systems, and a few others.
|
||||
if test x$enable_libgomp = x ; then
|
||||
case "${target}" in
|
||||
@ -3335,25 +3316,6 @@ $as_echo "yes" >&6; }
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable liboffloadmic on unsupported systems.
|
||||
if test -d ${srcdir}/liboffloadmic; then
|
||||
if test x$enable_liboffloadmic != xno; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
|
||||
$as_echo_n "checking for liboffloadmic support... " >&6; }
|
||||
if (srcdir=${srcdir}/liboffloadmic; \
|
||||
. ${srcdir}/configure.tgt; \
|
||||
test -n "$UNSUPPORTED")
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
noconfigdirs="$noconfigdirs target-liboffloadmic"
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Disable libitm on unsupported systems.
|
||||
if test -d ${srcdir}/libitm; then
|
||||
if test x$enable_libitm = x; then
|
||||
@ -8761,6 +8723,39 @@ fi
|
||||
|
||||
|
||||
|
||||
# Handle --enable-host-pie
|
||||
# If host PIE executables are the default (or must be forced on) for some host,
|
||||
# we must pass that configuration to the gcc directory.
|
||||
gcc_host_pie=
|
||||
# Check whether --enable-host-pie was given.
|
||||
if test "${enable_host_pie+set}" = set; then :
|
||||
enableval=$enable_host_pie; host_pie=$enableval
|
||||
case $host in
|
||||
*-*-darwin2*)
|
||||
if test x$host_pie != xyes ; then
|
||||
# for Darwin20+ this is required.
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIE executables are required for the configured host, host-pie setting ignored." >&5
|
||||
$as_echo "$as_me: WARNING: PIE executables are required for the configured host, host-pie setting ignored." >&2;}
|
||||
host_pie=yes
|
||||
gcc_host_pie=--enable-host-pie
|
||||
fi ;;
|
||||
*) ;;
|
||||
esac
|
||||
else
|
||||
case $host in
|
||||
*-*-darwin2*)
|
||||
# Default to PIE (mandatory for aarch64).
|
||||
host_pie=yes
|
||||
gcc_host_pie=--enable-host-pie
|
||||
;;
|
||||
*) host_pie=no ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Enable --enable-host-shared.
|
||||
# Checked early to determine whether jit is an 'all' language
|
||||
# Check whether --enable-host-shared was given.
|
||||
@ -8770,20 +8765,61 @@ if test "${enable_host_shared+set}" = set; then :
|
||||
x86_64-*-darwin* | aarch64-*-darwin*)
|
||||
if test x$host_shared != xyes ; then
|
||||
# PIC is the default, and actually cannot be switched off.
|
||||
echo configure.ac: warning: PIC code is required for the configured target, host-shared setting ignored. 1>&2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIC code is required for the configured host; host-shared setting ignored." >&5
|
||||
$as_echo "$as_me: WARNING: PIC code is required for the configured host; host-shared setting ignored." >&2;}
|
||||
host_shared=yes
|
||||
fi ;;
|
||||
*-*-darwin*)
|
||||
if test x$host_pie = xyes -a x$host_shared != xyes ; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIC code is required for PIE host executables host-shared setting ignored." >&5
|
||||
$as_echo "$as_me: WARNING: PIC code is required for PIE host executables host-shared setting ignored." >&2;}
|
||||
host_shared=yes
|
||||
fi ;;
|
||||
*) ;;
|
||||
esac
|
||||
else
|
||||
case $host in
|
||||
# 64B x86_64 and Aarch64 Darwin default to PIC.
|
||||
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
|
||||
*) host_shared=no ;;
|
||||
# 32B and powerpc64 Darwin must use PIC to link PIE exes.
|
||||
*-*-darwin*) host_shared=$host_pie ;;
|
||||
*) host_shared=no;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test x$host_shared = xyes; then
|
||||
case $host in
|
||||
*-*-darwin*)
|
||||
# Since host shared is the default for 64b Darwin, and also enabled for
|
||||
# host_pie, ensure that we present the PIE flag when host_pie is active.
|
||||
if test x$host_pie = xyes; then
|
||||
PICFLAG=-fPIE
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
PICFLAG=-fPIC
|
||||
;;
|
||||
esac
|
||||
elif test x$host_pie = xyes; then
|
||||
PICFLAG=-fPIE
|
||||
else
|
||||
PICFLAG=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# If we are building PIC/PIE host executables, and we are building dependent
|
||||
# libs (e.g. GMP) in-tree those libs need to be configured to generate PIC
|
||||
# code.
|
||||
host_libs_picflag=
|
||||
if test "$host_shared" = "yes" -o "$host_pie" = "yes"; then
|
||||
host_libs_picflag='--with-pic'
|
||||
fi
|
||||
|
||||
|
||||
# By default, C and C++ are the only stage 1 languages.
|
||||
stage1_languages=,c,
|
||||
|
||||
@ -9209,7 +9245,7 @@ $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
|
||||
fi
|
||||
esac
|
||||
|
||||
# Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
|
||||
# Disable libitm, libsanitizer, libvtv if we're not building C++
|
||||
case ,${enable_languages}, in
|
||||
*,c++,*)
|
||||
# Disable libitm, libsanitizer if we're not building libstdc++
|
||||
@ -9221,7 +9257,7 @@ case ,${enable_languages}, in
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
noconfigdirs="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
|
||||
noconfigdirs="$noconfigdirs target-libitm target-libsanitizer target-libvtv"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -10024,7 +10060,9 @@ esac
|
||||
# These force 'configure's to be done one at a time, to avoid problems
|
||||
# with contention over a shared config.cache.
|
||||
rm -f serdep.tmp
|
||||
if test "x${enable_serial_build_configure}" = xyes || test "x${enable_serial_host_configure}" = xyes || test "x${enable_serial_target_configure}" = xyes; then
|
||||
echo '# serdep.tmp' > serdep.tmp
|
||||
fi
|
||||
olditem=
|
||||
test "x${enable_serial_build_configure}" = xyes &&
|
||||
for item in ${build_configdirs} ; do
|
||||
@ -12988,6 +13026,7 @@ fi
|
||||
|
||||
|
||||
|
||||
GDCFLAGS=${GDCFLAGS-${CFLAGS}}
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5
|
||||
@ -14110,6 +14149,167 @@ fi
|
||||
|
||||
|
||||
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET=$GM2_FOR_TARGET
|
||||
elif test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
|
||||
GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
|
||||
fi
|
||||
|
||||
if test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
|
||||
for ncn_progname in gm2; do
|
||||
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
||||
set dummy ${ncn_progname}; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
|
||||
else
|
||||
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_exec_ext in '' $ac_executable_extensions; do
|
||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
|
||||
$as_echo "$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
|
||||
GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
|
||||
$as_echo "$GM2_FOR_TARGET" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
done
|
||||
fi
|
||||
|
||||
if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test -n "$with_build_time_tools"; then
|
||||
for ncn_progname in gm2; do
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
|
||||
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
|
||||
if test -x $with_build_time_tools/${ncn_progname}; then
|
||||
ac_cv_prog_GM2_FOR_TARGET=$with_build_time_tools/${ncn_progname}
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
break
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if test -z "$ac_cv_prog_GM2_FOR_TARGET"; then
|
||||
for ncn_progname in gm2; do
|
||||
if test -n "$ncn_target_tool_prefix"; then
|
||||
# Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
|
||||
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
|
||||
else
|
||||
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_exec_ext in '' $ac_executable_extensions; do
|
||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
|
||||
$as_echo "$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
|
||||
GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
|
||||
$as_echo "$GM2_FOR_TARGET" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test $build = $target ; then
|
||||
# Extract the first word of "${ncn_progname}", so it can be a program name with args.
|
||||
set dummy ${ncn_progname}; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
|
||||
else
|
||||
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_exec_ext in '' $ac_executable_extensions; do
|
||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
|
||||
$as_echo "$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
|
||||
GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
|
||||
if test -n "$GM2_FOR_TARGET"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM2_FOR_TARGET" >&5
|
||||
$as_echo "$GM2_FOR_TARGET" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
test -n "$ac_cv_prog_GM2_FOR_TARGET" && break
|
||||
done
|
||||
fi
|
||||
|
||||
if test -z "$ac_cv_prog_GM2_FOR_TARGET" ; then
|
||||
set dummy gm2
|
||||
if test $build = $target ; then
|
||||
GM2_FOR_TARGET="$2"
|
||||
else
|
||||
GM2_FOR_TARGET="${ncn_target_tool_prefix}$2"
|
||||
fi
|
||||
else
|
||||
GM2_FOR_TARGET="$ac_cv_prog_GM2_FOR_TARGET"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
cat > conftest.c << \EOF
|
||||
#ifdef __GNUC__
|
||||
gcc_yay;
|
||||
@ -18042,6 +18242,51 @@ $as_echo "pre-installed" >&6; }
|
||||
fi
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gm2" >&5
|
||||
$as_echo_n "checking where to find the target gm2... " >&6; }
|
||||
if test "x${build}" != "x${host}" ; then
|
||||
if expr "x$GM2_FOR_TARGET" : "x/" > /dev/null; then
|
||||
# We already found the complete path
|
||||
ac_dir=`dirname $GM2_FOR_TARGET`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
|
||||
$as_echo "pre-installed in $ac_dir" >&6; }
|
||||
else
|
||||
# Canadian cross, just use what we found
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
|
||||
$as_echo "pre-installed" >&6; }
|
||||
fi
|
||||
else
|
||||
ok=yes
|
||||
case " ${configdirs} " in
|
||||
*" gcc "*) ;;
|
||||
*) ok=no ;;
|
||||
esac
|
||||
case ,${enable_languages}, in
|
||||
*,m2,*) ;;
|
||||
*) ok=no ;;
|
||||
esac
|
||||
if test $ok = yes; then
|
||||
# An in-tree tool is available and we can use it
|
||||
GM2_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/'
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
|
||||
$as_echo "just compiled" >&6; }
|
||||
elif expr "x$GM2_FOR_TARGET" : "x/" > /dev/null; then
|
||||
# We already found the complete path
|
||||
ac_dir=`dirname $GM2_FOR_TARGET`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
|
||||
$as_echo "pre-installed in $ac_dir" >&6; }
|
||||
elif test "x$target" = "x$host"; then
|
||||
# We can use an host tool
|
||||
GM2_FOR_TARGET='$(GM2)'
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
|
||||
$as_echo "host tool" >&6; }
|
||||
else
|
||||
# We need a cross tool
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
|
||||
$as_echo "pre-installed" >&6; }
|
||||
fi
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
|
||||
$as_echo_n "checking where to find the target ld... " >&6; }
|
||||
if test "x${build}" != "x${host}" ; then
|
||||
@ -18603,6 +18848,9 @@ fi
|
||||
# Specify what files to not compare during bootstrap.
|
||||
|
||||
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
|
||||
compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/M2Version*"
|
||||
compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/SYSTEM*"
|
||||
compare_exclusions="$compare_exclusions | gcc/m2/gm2version*"
|
||||
case "$target" in
|
||||
hppa*64*-*-hpux*) ;;
|
||||
powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions | *libgomp*\$(objext)" ;;
|
||||
|
73
gas/configure
vendored
73
gas/configure
vendored
@ -5673,7 +5673,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -5749,6 +5749,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -7210,23 +7215,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -8516,7 +8523,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9025,7 +9032,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9037,7 +9044,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10037,7 +10044,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -10285,6 +10297,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -10726,7 +10757,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10729 "configure"
|
||||
#line 10760 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10832,7 +10863,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10835 "configure"
|
||||
#line 10866 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
116
gdb/configure
vendored
116
gdb/configure
vendored
@ -6352,7 +6352,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6428,6 +6428,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -7931,23 +7936,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -9238,7 +9245,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9747,7 +9754,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9759,7 +9766,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10759,7 +10766,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11007,6 +11019,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11448,7 +11479,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11451 "configure"
|
||||
#line 11482 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11554,7 +11585,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11557 "configure"
|
||||
#line 11588 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12576,7 +12607,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
aCC*)
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -12600,7 +12631,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test $with_gnu_ld = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -12719,20 +12750,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
prelink_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
|
||||
old_archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
|
||||
$RANLIB $oldlib'
|
||||
archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
;;
|
||||
*) # Version 6 and above use weak symbols
|
||||
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
@ -13113,8 +13144,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
;;
|
||||
|
||||
vxworks*)
|
||||
# FIXME: insert proper C++ library support
|
||||
ld_shlibs_CXX=no
|
||||
# For VxWorks ports, we assume the use of a GNU linker with
|
||||
# standard elf conventions.
|
||||
ld_shlibs_CXX=yes
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -14409,7 +14441,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -14657,6 +14694,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
|
@ -15,7 +15,7 @@
|
||||
@SET_MAKE@
|
||||
|
||||
#
|
||||
# Copyright (C) 2020-2022 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2020-2023 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
73
gprof/configure
vendored
73
gprof/configure
vendored
@ -5551,7 +5551,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -5627,6 +5627,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -7088,23 +7093,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -8394,7 +8401,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -8903,7 +8910,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -8915,7 +8922,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9915,7 +9922,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -10163,6 +10175,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -10604,7 +10635,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10607 "configure"
|
||||
#line 10638 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10710,7 +10741,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10713 "configure"
|
||||
#line 10744 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
116
gprofng/configure
vendored
116
gprofng/configure
vendored
@ -7197,7 +7197,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -7273,6 +7273,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8734,23 +8739,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -10011,7 +10018,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -10520,7 +10527,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10532,7 +10539,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -11532,7 +11539,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11780,6 +11792,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -12221,7 +12252,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12224 "configure"
|
||||
#line 12255 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12327,7 +12358,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12330 "configure"
|
||||
#line 12361 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -13349,7 +13380,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
aCC*)
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -13373,7 +13404,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test $with_gnu_ld = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -13492,20 +13523,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
prelink_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
|
||||
old_archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
|
||||
$RANLIB $oldlib'
|
||||
archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
;;
|
||||
*) # Version 6 and above use weak symbols
|
||||
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
@ -13886,8 +13917,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
;;
|
||||
|
||||
vxworks*)
|
||||
# FIXME: insert proper C++ library support
|
||||
ld_shlibs_CXX=no
|
||||
# For VxWorks ports, we assume the use of a GNU linker with
|
||||
# standard elf conventions.
|
||||
ld_shlibs_CXX=yes
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -15182,7 +15214,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -15430,6 +15467,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
|
116
gprofng/libcollector/configure
vendored
116
gprofng/libcollector/configure
vendored
@ -7009,7 +7009,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -7085,6 +7085,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8546,23 +8551,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -9853,7 +9860,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -10362,7 +10369,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10374,7 +10381,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -11374,7 +11381,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11622,6 +11634,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -12063,7 +12094,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12066 "configure"
|
||||
#line 12097 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12169,7 +12200,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12172 "configure"
|
||||
#line 12203 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -13191,7 +13222,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
aCC*)
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -13215,7 +13246,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test $with_gnu_ld = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -13334,20 +13365,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
prelink_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
|
||||
old_archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
|
||||
$RANLIB $oldlib'
|
||||
archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
;;
|
||||
*) # Version 6 and above use weak symbols
|
||||
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
@ -13728,8 +13759,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
;;
|
||||
|
||||
vxworks*)
|
||||
# FIXME: insert proper C++ library support
|
||||
ld_shlibs_CXX=no
|
||||
# For VxWorks ports, we assume the use of a GNU linker with
|
||||
# standard elf conventions.
|
||||
ld_shlibs_CXX=yes
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -15024,7 +15056,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -15272,6 +15309,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
|
34
intl/configure
vendored
34
intl/configure
vendored
@ -622,6 +622,8 @@ ac_unique_file="gettext.c"
|
||||
ac_header_list=
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
enable_host_pie
|
||||
enable_host_shared
|
||||
BISON3_NO
|
||||
BISON3_YES
|
||||
PICFLAG
|
||||
@ -727,6 +729,8 @@ with_included_gettext
|
||||
with_libintl_prefix
|
||||
with_libintl_type
|
||||
enable_maintainer_mode
|
||||
enable_host_shared
|
||||
enable_host_pie
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1351,6 +1355,8 @@ Optional Features:
|
||||
--disable-nls do not use Native Language Support
|
||||
--disable-rpath do not hardcode runtime library paths
|
||||
--enable-maintainer-mode enable rules only needed by maintainers
|
||||
--enable-host-shared build host code as shared libraries
|
||||
--enable-host-pie build host code as PIE
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
@ -6857,6 +6863,9 @@ case "${host}" in
|
||||
# sets the default TLS model and affects inlining.
|
||||
PICFLAG=-fPIC
|
||||
;;
|
||||
loongarch*-*-*)
|
||||
PICFLAG=-fpic
|
||||
;;
|
||||
mips-sgi-irix6*)
|
||||
# PIC is the default.
|
||||
;;
|
||||
@ -6916,6 +6925,31 @@ fi
|
||||
|
||||
|
||||
|
||||
# Enable --enable-host-shared.
|
||||
# Check whether --enable-host-shared was given.
|
||||
if test "${enable_host_shared+set}" = set; then :
|
||||
enableval=$enable_host_shared;
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Enable --enable-host-pie.
|
||||
# Check whether --enable-host-pie was given.
|
||||
if test "${enable_host_pie+set}" = set; then :
|
||||
enableval=$enable_host_pie;
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test x$enable_host_shared = xyes; then
|
||||
PICFLAG=-fPIC
|
||||
elif test x$enable_host_pie = xyes; then
|
||||
PICFLAG=-fPIE
|
||||
else
|
||||
PICFLAG=
|
||||
fi
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile config.intl"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
|
116
ld/configure
vendored
116
ld/configure
vendored
@ -6571,7 +6571,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6647,6 +6647,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8108,23 +8113,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -9415,7 +9422,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9924,7 +9931,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9936,7 +9943,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10936,7 +10943,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11184,6 +11196,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11625,7 +11656,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11628 "configure"
|
||||
#line 11659 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11731,7 +11762,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11734 "configure"
|
||||
#line 11765 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12753,7 +12784,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
aCC*)
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -12777,7 +12808,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test $with_gnu_ld = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
|
||||
@ -12896,20 +12927,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
prelink_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
|
||||
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
|
||||
old_archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
|
||||
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
|
||||
$RANLIB $oldlib'
|
||||
archive_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
archive_expsym_cmds_CXX='tpldir=Template.dir~
|
||||
rm -rf $tpldir~
|
||||
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
|
||||
;;
|
||||
*) # Version 6 and above use weak symbols
|
||||
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
|
||||
@ -13290,8 +13321,9 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
;;
|
||||
|
||||
vxworks*)
|
||||
# FIXME: insert proper C++ library support
|
||||
ld_shlibs_CXX=no
|
||||
# For VxWorks ports, we assume the use of a GNU linker with
|
||||
# standard elf conventions.
|
||||
ld_shlibs_CXX=yes
|
||||
;;
|
||||
|
||||
*)
|
||||
@ -14586,7 +14618,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -14834,6 +14871,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
|
73
libbacktrace/configure
vendored
73
libbacktrace/configure
vendored
@ -6487,7 +6487,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6563,6 +6563,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8024,23 +8029,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -9330,7 +9337,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9839,7 +9846,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9851,7 +9858,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10851,7 +10858,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11099,6 +11111,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11540,7 +11571,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11543 "configure"
|
||||
#line 11574 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11646,7 +11677,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11649 "configure"
|
||||
#line 11680 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
73
libctf/configure
vendored
73
libctf/configure
vendored
@ -6608,7 +6608,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6684,6 +6684,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8145,23 +8150,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -9421,7 +9428,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9930,7 +9937,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9942,7 +9949,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10942,7 +10949,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11190,6 +11202,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11631,7 +11662,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11634 "configure"
|
||||
#line 11665 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11737,7 +11768,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11740 "configure"
|
||||
#line 11771 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
22
libdecnumber/configure
vendored
22
libdecnumber/configure
vendored
@ -625,6 +625,8 @@ ac_includes_default="\
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
PICFLAG
|
||||
enable_host_pie
|
||||
enable_host_shared
|
||||
ADDITIONAL_OBJS
|
||||
enable_decimal_float
|
||||
target_os
|
||||
@ -704,6 +706,7 @@ enable_werror_always
|
||||
enable_maintainer_mode
|
||||
enable_decimal_float
|
||||
enable_host_shared
|
||||
enable_host_pie
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1335,6 +1338,7 @@ Optional Features:
|
||||
or 'dpd' choses which decimal floating point format
|
||||
to use
|
||||
--enable-host-shared build host code as shared libraries
|
||||
--enable-host-pie build host code as PIE
|
||||
|
||||
Some influential environment variables:
|
||||
CC C compiler command
|
||||
@ -5044,7 +5048,23 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
||||
# Enable --enable-host-shared.
|
||||
# Check whether --enable-host-shared was given.
|
||||
if test "${enable_host_shared+set}" = set; then :
|
||||
enableval=$enable_host_shared; PICFLAG=-fPIC
|
||||
enableval=$enable_host_shared;
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Enable --enable-host-pie.
|
||||
# Check whether --enable-host-pie was given.
|
||||
if test "${enable_host_pie+set}" = set; then :
|
||||
enableval=$enable_host_pie;
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test x$enable_host_shared = xyes; then
|
||||
PICFLAG=-fPIC
|
||||
elif test x$enable_host_pie = xyes; then
|
||||
PICFLAG=-fPIE
|
||||
else
|
||||
PICFLAG=
|
||||
fi
|
||||
|
73
libsframe/configure
vendored
73
libsframe/configure
vendored
@ -6463,7 +6463,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6539,6 +6539,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8000,23 +8005,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -9276,7 +9283,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9785,7 +9792,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9797,7 +9804,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10797,7 +10804,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11045,6 +11057,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11486,7 +11517,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11489 "configure"
|
||||
#line 11520 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11592,7 +11623,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11595 "configure"
|
||||
#line 11626 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
73
opcodes/configure
vendored
73
opcodes/configure
vendored
@ -6018,7 +6018,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6094,6 +6094,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -7555,23 +7560,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -8831,7 +8838,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -9340,7 +9347,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9352,7 +9359,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10352,7 +10359,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -10600,6 +10612,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -11041,7 +11072,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11044 "configure"
|
||||
#line 11075 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11147,7 +11178,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11150 "configure"
|
||||
#line 11181 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
73
sim/configure
vendored
73
sim/configure
vendored
@ -6516,7 +6516,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -6592,6 +6592,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -8095,23 +8100,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -10047,7 +10054,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -10556,7 +10563,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10568,7 +10575,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -11568,7 +11575,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -11816,6 +11828,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -12257,7 +12288,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12260 "configure"
|
||||
#line 12291 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -12363,7 +12394,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12366 "configure"
|
||||
#line 12397 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -349,6 +349,8 @@ datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
enable_host_pie = @enable_host_pie@
|
||||
enable_host_shared = @enable_host_shared@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
|
97
zlib/configure
vendored
97
zlib/configure
vendored
@ -635,6 +635,8 @@ am__EXEEXT_TRUE
|
||||
LTLIBOBJS
|
||||
LIBOBJS
|
||||
PICFLAG
|
||||
enable_host_pie
|
||||
enable_host_shared
|
||||
TARGET_LIBRARY_FALSE
|
||||
TARGET_LIBRARY_TRUE
|
||||
toolexeclibdir
|
||||
@ -776,6 +778,7 @@ enable_fast_install
|
||||
with_gnu_ld
|
||||
enable_libtool_lock
|
||||
enable_host_shared
|
||||
enable_host_pie
|
||||
'
|
||||
ac_precious_vars='build_alias
|
||||
host_alias
|
||||
@ -1417,6 +1420,7 @@ Optional Features:
|
||||
optimize for fast installation [default=yes]
|
||||
--disable-libtool-lock avoid locking (might break parallel builds)
|
||||
--enable-host-shared build host code as shared libraries
|
||||
--enable-host-pie build host code as PIE
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
@ -5357,7 +5361,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -5433,6 +5437,11 @@ sysv4 | sysv4.3*)
|
||||
tpf*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
vxworks*)
|
||||
# Assume VxWorks cross toolchains are built on Linux, possibly
|
||||
# as canadian for Windows hosts.
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
@ -6901,23 +6910,25 @@ _LT_EOF
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
|
||||
$as_echo "$lt_cv_ld_force_load" >&6; }
|
||||
case $host_os in
|
||||
rhapsody* | darwin1.[012])
|
||||
# Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
|
||||
# build without first building modern cctools / linker.
|
||||
case $host_cpu-$host_os in
|
||||
*-rhapsody* | *-darwin1.[012])
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
|
||||
darwin1.*)
|
||||
*-darwin1.*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
darwin*) # darwin 5.x on
|
||||
# if running on 10.5 or later, the deployment target defaults
|
||||
# to the OS version, if on x86, and 10.4, the deployment
|
||||
# target defaults to 10.4. Don't you love it?
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
|
||||
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
*-darwin*)
|
||||
# darwin 5.x (macOS 10.1) onwards we only need to adjust when the
|
||||
# deployment target is forced to an earlier version.
|
||||
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
|
||||
UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
|
||||
;;
|
||||
10.[012][,.]*)
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
|
||||
10.*)
|
||||
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
|
||||
esac
|
||||
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
|
||||
@ -8474,7 +8485,7 @@ _LT_EOF
|
||||
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 | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
@ -8989,7 +9000,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -9001,7 +9012,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
||||
else
|
||||
case $host_cpu in
|
||||
hppa*64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
;;
|
||||
ia64*)
|
||||
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
|
||||
@ -10004,7 +10015,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -10255,6 +10271,25 @@ uts4*)
|
||||
shlibpath_var=LD_LIBRARY_PATH
|
||||
;;
|
||||
|
||||
# Shared libraries for VwWorks, >= 7 only at this stage
|
||||
# and (fpic) still incompatible with "large" code models
|
||||
# in a few configurations. Only for RTP mode in any case,
|
||||
# and upon explicit request at configure time.
|
||||
vxworks7*)
|
||||
dynamic_linker=no
|
||||
case ${with_multisubdir}-${enable_shared} in
|
||||
*large*)
|
||||
;;
|
||||
*mrtp*-yes)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
|
||||
soname_spec='${libname}${release}${shared_ext}$major'
|
||||
dynamic_linker="$host_os module_loader"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dynamic_linker=no
|
||||
;;
|
||||
@ -10711,7 +10746,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10714 "configure"
|
||||
#line 10749 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -10817,7 +10852,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 10820 "configure"
|
||||
#line 10855 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11532,15 +11567,31 @@ else
|
||||
multilib_arg=
|
||||
fi
|
||||
|
||||
# Enable --enable-host-shared.
|
||||
# Check whether --enable-host-shared was given.
|
||||
if test "${enable_host_shared+set}" = set; then :
|
||||
enableval=$enable_host_shared; PICFLAG=-fPIC
|
||||
enableval=$enable_host_shared;
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Enable --enable-host-pie.
|
||||
# Check whether --enable-host-pie was given.
|
||||
if test "${enable_host_pie+set}" = set; then :
|
||||
enableval=$enable_host_pie;
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if test x$enable_host_shared = xyes; then
|
||||
PICFLAG=-fPIC
|
||||
elif test x$enable_host_pie = xyes; then
|
||||
PICFLAG=-fPIE
|
||||
else
|
||||
PICFLAG=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
|
Loading…
Reference in New Issue
Block a user