whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
# Publish an arg to allow the user to select that Darwin host (and target)
# libraries should be given install-names like @rpath/libfoo.dylib. This
# requires that the user of the library then adds an 'rpath' to the DSO that
# needs access.
# NOTE: there are defaults below, for systems that support rpaths. The person
# configuring can override the defaults for any system version that supports
# them - they are, however, forced off for system versions without support.
# Check whether --enable-darwin-at-rpath was given.
if test "${enable_darwin_at_rpath+set}" = set; then :
enableval=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
# This is not supported before macOS 10.5 / Darwin9.
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
$as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
enable_darwin_at_rpath=no
;;
esac
fi
else
case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
# As above, before 10.5 / Darwin9 this does not work.
UNSET,darwin[4-8]*|UNSET,rhapsody*|10.[0-4][,.]*)
enable_darwin_at_rpath=no
;;
# We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
# of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
# system executables (e.g. /bin/sh). Force rpaths on for these systems.
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'