166
165
prefix="$acl_save_prefix"
169
# lib-link.m4 serial 4 (gettext-0.12)
170
dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
171
dnl This file is free software, distributed under the terms of the GNU
172
dnl General Public License. As a special exception to the GNU General
173
dnl Public License, this file may be distributed as part of a program
174
dnl that contains a configuration script generated by Autoconf, under
175
dnl the same distribution terms as the rest of that program.
168
dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
169
dnl the basename of the libdir, either "lib" or "lib64".
170
AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
172
dnl There is no formal standard regarding lib and lib64. The current
173
dnl practice is that on a system supporting 32-bit and 64-bit instruction
174
dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
175
dnl libraries go under $prefix/lib. We determine the compiler's default
176
dnl mode by looking at the compiler's library search path. If at least
177
dnl of its elements ends in /lib64 or points to a directory whose absolute
178
dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
179
dnl default, namely "lib".
181
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
182
if test -n "$searchpath"; then
183
acl_save_IFS="${IFS= }"; IFS=":"
184
for searchdir in $searchpath; do
185
if test -d "$searchdir"; then
187
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
188
*) searchdir=`cd "$searchdir" && pwd`
190
*/lib64 ) acl_libdirstem=lib64 ;;
199
# lib-link.m4 serial 9 (gettext-0.16)
200
dnl Copyright (C) 2001-2006 Free Software Foundation, Inc.
201
dnl This file is free software; the Free Software Foundation
202
dnl gives unlimited permission to copy and/or distribute it,
203
dnl with or without modifications, as long as this notice is preserved.
177
205
dnl From Bruno Haible.
179
209
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
180
210
dnl the libraries corresponding to explicit and implicit dependencies.
181
211
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
768
dnl For those cases where a variable contains several -L and -l options
769
dnl referring to unknown libraries and directories, this macro determines the
770
dnl necessary additional linker options for the runtime path.
771
dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
772
dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
773
dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
774
dnl otherwise linking without libtool is assumed.
775
AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
777
AC_REQUIRE([AC_LIB_RPATH])
778
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
780
if test "$enable_rpath" != no; then
781
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
782
dnl Use an explicit option to hardcode directories into the resulting
787
if test -n "$next"; then
789
dnl No need to hardcode the standard /usr/lib.
790
if test "X$dir" != "X/usr/$acl_libdirstem"; then
791
rpathdirs="$rpathdirs $dir"
797
-L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
798
dnl No need to hardcode the standard /usr/lib.
799
if test "X$dir" != "X/usr/$acl_libdirstem"; then
800
rpathdirs="$rpathdirs $dir"
807
if test "X$rpathdirs" != "X"; then
808
if test -n ""$3""; then
809
dnl libtool is used for linking. Use -R options.
810
for dir in $rpathdirs; do
811
$1="${$1}${$1:+ }-R$dir"
814
dnl The linker is used for linking directly.
815
if test -n "$hardcode_libdir_separator"; then
816
dnl Weird platform: only the last -rpath option counts, the user
817
dnl must pass all path elements in one option.
819
for dir in $rpathdirs; do
820
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir"
822
acl_save_libdir="$libdir"
824
eval flag=\"$hardcode_libdir_flag_spec\"
825
libdir="$acl_save_libdir"
828
dnl The -rpath options are cumulative.
829
for dir in $rpathdirs; do
830
acl_save_libdir="$libdir"
832
eval flag=\"$hardcode_libdir_flag_spec\"
833
libdir="$acl_save_libdir"
834
$1="${$1}${$1:+ }$flag"
721
844
# lib-ld.m4 serial 3 (gettext-0.13)
722
845
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
723
dnl This file is free software, distributed under the terms of the GNU
724
dnl General Public License. As a special exception to the GNU General
725
dnl Public License, this file may be distributed as part of a program
726
dnl that contains a configuration script generated by Autoconf, under
727
dnl the same distribution terms as the rest of that program.
846
dnl This file is free software; the Free Software Foundation
847
dnl gives unlimited permission to copy and/or distribute it,
848
dnl with or without modifications, as long as this notice is preserved.
729
850
dnl Subroutines of libtool.m4,
730
851
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
857
979
AC_REQUIRE([AC_ARG_PROGRAM])
858
980
dnl FIXME This is truly gross.
859
981
missing_dir=`cd $ac_aux_dir && pwd`
860
AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
982
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
861
983
AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
862
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
984
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
863
985
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
864
986
AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
865
987
AC_REQUIRE([AC_PROG_MAKE_SET])])
989
# Copyright 2002 Free Software Foundation, Inc.
991
# This program is free software; you can redistribute it and/or modify
992
# it under the terms of the GNU General Public License as published by
993
# the Free Software Foundation; either version 2, or (at your option)
996
# This program is distributed in the hope that it will be useful,
997
# but WITHOUT ANY WARRANTY; without even the implied warranty of
998
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
999
# GNU General Public License for more details.
1001
# You should have received a copy of the GNU General Public License
1002
# along with this program; if not, write to the Free Software
1003
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1005
# AM_AUTOMAKE_VERSION(VERSION)
1006
# ----------------------------
1007
# Automake X.Y traces this macro to ensure aclocal.m4 has been
1008
# generated from the m4 files accompanying Automake X.Y.
1009
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
1011
# AM_SET_CURRENT_AUTOMAKE_VERSION
1012
# -------------------------------
1013
# Call AM_AUTOMAKE_VERSION so it can be traced.
1014
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1015
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1016
[AM_AUTOMAKE_VERSION([1.4-p6])])
868
1019
# Check to make sure that the build environment is sane.
1167
1320
# If no C compiler was specified, use CC.
1168
1321
LTCC=${LTCC-"$CC"}
1323
# If no C compiler flags were specified, use CFLAGS.
1324
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1170
1326
# Allow CC to be a program name with arguments.
1172
1328
])# _LT_AC_SYS_COMPILER
1331
# _LT_CC_BASENAME(CC)
1332
# -------------------
1333
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1334
AC_DEFUN([_LT_CC_BASENAME],
1335
[for cc_temp in $1""; do
1337
compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
1338
distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
1343
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
1347
# _LT_COMPILER_BOILERPLATE
1348
# ------------------------
1349
# Check for compiler boilerplate output or warnings with
1350
# the simple compiler test code.
1351
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
1352
[ac_outfile=conftest.$ac_objext
1353
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
1354
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1355
_lt_compiler_boilerplate=`cat conftest.err`
1357
])# _LT_COMPILER_BOILERPLATE
1360
# _LT_LINKER_BOILERPLATE
1361
# ----------------------
1362
# Check for linker boilerplate output or warnings with
1363
# the simple link test code.
1364
AC_DEFUN([_LT_LINKER_BOILERPLATE],
1365
[ac_outfile=conftest.$ac_objext
1366
printf "$lt_simple_link_test_code" >conftest.$ac_ext
1367
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1368
_lt_linker_boilerplate=`cat conftest.err`
1370
])# _LT_LINKER_BOILERPLATE
1175
1373
# _LT_AC_SYS_LIBPATH_AIX
1176
1374
# ----------------------
1177
1375
# Links a minimal program and checks the executable
1603
1824
lt_cv_sys_max_cmd_len=8192;
1827
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
1828
# This has been around since 386BSD, at least. Likely further.
1829
if test -x /sbin/sysctl; then
1830
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
1831
elif test -x /usr/sbin/sysctl; then
1832
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
1834
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
1836
# And add a safety zone
1837
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
1838
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1842
# We know the value 262144 and hardcode it with a safety zone (like BSD)
1843
lt_cv_sys_max_cmd_len=196608
1847
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
1848
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
1849
# nice to cause kernel panics so lets avoid the loop below.
1850
# First set a reasonable default.
1851
lt_cv_sys_max_cmd_len=16384
1853
if test -x /sbin/sysconfig; then
1854
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
1855
*1*) lt_cv_sys_max_cmd_len=-1 ;;
1860
lt_cv_sys_max_cmd_len=102400
1862
sysv5* | sco5v6* | sysv4.2uw2*)
1863
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
1864
if test -n "$kargmax"; then
1865
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
1867
lt_cv_sys_max_cmd_len=32768
1607
1871
# If test is not a shell built-in, we'll probably end up computing a
1608
1872
# maximum length that is only half of the actual maximum length, but
1609
1873
# we can't tell.
1610
while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1874
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
1875
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1611
1876
= "XX$teststring") >/dev/null 2>&1 &&
1612
1877
new_result=`expr "X$teststring" : ".*" 2>&1` &&
1613
1878
lt_cv_sys_max_cmd_len=$new_result &&
3209
3523
# Let the user override the test.
3210
3524
lt_cv_path_NM="$NM"
3212
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3213
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3215
test -z "$ac_dir" && ac_dir=.
3216
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3217
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3218
# Check to see if the nm accepts a BSD-compat flag.
3219
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
3220
# nm: unknown option "B" ignored
3221
# Tru64's nm complains that /dev/null is an invalid object file
3222
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3223
*/dev/null* | *'Invalid file or object type'*)
3224
lt_cv_path_NM="$tmp_nm -B"
3228
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3230
lt_cv_path_NM="$tmp_nm -p"
3526
lt_nm_to_check="${ac_tool_prefix}nm"
3527
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3528
lt_nm_to_check="$lt_nm_to_check nm"
3530
for lt_tmp_nm in $lt_nm_to_check; do
3531
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3532
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3534
test -z "$ac_dir" && ac_dir=.
3535
tmp_nm="$ac_dir/$lt_tmp_nm"
3536
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3537
# Check to see if the nm accepts a BSD-compat flag.
3538
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
3539
# nm: unknown option "B" ignored
3540
# Tru64's nm complains that /dev/null is an invalid object file
3541
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3542
*/dev/null* | *'Invalid file or object type'*)
3543
lt_cv_path_NM="$tmp_nm -B"
3234
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3235
continue # so that we can try to find one that supports BSD flags
3547
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3549
lt_cv_path_NM="$tmp_nm -p"
3553
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3554
continue # so that we can try to find one that supports BSD flags
3242
3563
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3244
3565
NM="$lt_cv_path_NM"
3295
3616
# -----------------------------------
3296
3617
# sets LIBLTDL to the link flags for the libltdl installable library and
3297
3618
# LTDLINCL to the include flags for the libltdl header and adds
3298
# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
3299
# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
3300
# DIRECTORY is not provided and an installed libltdl is not found, it is
3301
# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
3302
# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
3303
# quotes!). If your package is not flat and you're not using automake,
3304
# define top_builddir and top_srcdir appropriately in the Makefiles.
3619
# --enable-ltdl-install to the configure arguments. Note that
3620
# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided,
3621
# and an installed libltdl is not found, it is assumed to be `libltdl'.
3622
# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with
3623
# '${top_srcdir}/' (note the single quotes!). If your package is not
3624
# flat and you're not using automake, define top_builddir and top_srcdir
3625
# appropriately in the Makefiles.
3305
3626
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
3306
3627
AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
3307
3628
[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
3416
3748
_LT_AC_SYS_COMPILER
3419
# Check for any special shared library compilation flags.
3421
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
3422
if test "$GCC" = no; then
3425
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
3429
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3430
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3431
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
3433
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3434
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
3440
# Check to make sure the static flag actually works.
3442
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
3443
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
3444
$_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
3446
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
3750
# save warnings/boilerplate of simple test code
3751
_LT_COMPILER_BOILERPLATE
3752
_LT_LINKER_BOILERPLATE
3449
3754
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
3450
3755
AC_LIBTOOL_PROG_COMPILER_PIC($1)
3478
3783
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3479
3784
test "$enable_shared" = yes && enable_static=no
3482
darwin* | rhapsody*)
3483
if test "$GCC" = yes; then
3484
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3486
rhapsody* | darwin1.[[012]])
3487
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3490
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3491
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3493
case ${MACOSX_DEPLOYMENT_TARGET} in
3495
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3498
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3504
output_verbose_link_cmd='echo'
3505
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
3506
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3507
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3508
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3509
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3510
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3511
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3512
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3513
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3514
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3516
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3520
3788
AC_MSG_RESULT([$enable_shared])
3773
4051
# -berok will link without error, but may produce a broken library.
3774
4052
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
3775
4053
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
3776
# -bexpall does not export symbols beginning with underscore (_)
3777
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
3778
4054
# Exported symbols can be pulled into shared objects from archives
3779
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
4055
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
3780
4056
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
3781
# This is similar to how AIX traditionally builds it's shared libraries.
3782
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
4057
# This is similar to how AIX traditionally builds its shared libraries.
4058
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
4064
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
4065
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
4066
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
4067
# support --undefined. This deserves some investigation. FIXME
4068
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4070
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3787
4075
case $cc_basename in
3810
4098
echo EXPORTS > $output_objdir/$soname.def;
3811
4099
cat $export_symbols >> $output_objdir/$soname.def;
3813
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
4101
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
3815
4103
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3819
darwin* | rhapsody*)
3820
if test "$GXX" = yes; then
3821
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3823
rhapsody* | darwin1.[[012]])
3824
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3827
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3828
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3830
case ${MACOSX_DEPLOYMENT_TARGET} in
3832
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3835
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
4106
darwin* | rhapsody*)
4108
rhapsody* | darwin1.[[012]])
4109
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
4112
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
4113
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4115
case ${MACOSX_DEPLOYMENT_TARGET} in
4117
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
4120
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3841
lt_int_apple_cc_single_mod=no
3842
output_verbose_link_cmd='echo'
3843
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3844
lt_int_apple_cc_single_mod=yes
3846
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3847
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3849
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3851
_LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4126
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4127
_LT_AC_TAGVAR(hardcode_direct, $1)=no
4128
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
4129
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
4130
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
4131
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3853
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3854
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3855
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3857
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3859
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3860
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3861
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3862
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3863
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3864
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3866
_LT_AC_TAGVAR(ld_shlibs, $1)=no
4133
if test "$GXX" = yes ; then
4134
lt_int_apple_cc_single_mod=no
4135
output_verbose_link_cmd='echo'
4136
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
4137
lt_int_apple_cc_single_mod=yes
4139
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4140
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4142
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
4144
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4145
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4146
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
4147
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4149
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4151
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4153
case $cc_basename in
4155
output_verbose_link_cmd='echo'
4156
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
4157
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
4158
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
4159
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4160
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
4163
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3871
4170
case $cc_basename in
3873
4172
# FIXME: insert proper C++ library support
3874
4173
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3877
4176
# Green Hills C++ Compiler
3878
4177
# FIXME: insert proper C++ library support
3879
4178
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3937
4236
hpux10*|hpux11*)
3938
4237
if test $with_gnu_ld = no; then
3941
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4238
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
4239
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3942
4243
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3943
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3946
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3949
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3950
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3951
4246
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3957
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3958
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3961
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3962
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3963
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3964
# but as the default
3965
# location of the library.
4252
_LT_AC_TAGVAR(hardcode_direct, $1)=no
4253
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3968
4256
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
4313
_LT_AC_TAGVAR(hardcode_direct, $1)=no
4314
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4315
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4316
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
4317
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
4318
# Instead, shared libraries are loaded at an image base (0x10000000 by
4319
# default) and relocated if they conflict, which is a slow very memory
4320
# consuming and fragmenting process. To avoid this, we pick a random,
4321
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
4322
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
4323
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4324
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4018
4326
irix5* | irix6*)
4019
4327
case $cc_basename in
4022
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
4330
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
4024
4332
# Archives containing C++ object files must be created using
4025
4333
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
4068
4376
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
4069
4377
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
4073
4381
with_gnu_ld=yes
4382
# version 8.0 and above of icpc choke on multiply defined symbols
4383
# if we add $predep_objects and $postdep_objects, however 7.1 and
4384
# earlier do not add the objects themselves.
4385
case `$CC -V 2>&1` in
4387
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4388
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4390
*) # Version 8.0 or newer
4393
ia64*) tmp_idyn=' -i_dynamic';;
4395
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
4396
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4074
4399
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4075
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4076
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
4077
4400
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
4078
4401
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4079
4402
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4405
# Portland Group C++ compiler
4406
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
4407
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4409
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
4410
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4411
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
4083
4415
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
4084
4416
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
4292
4627
case $cc_basename in
4294
4629
# Sun C++ 4.2, 5.x and Centerline C++
4630
_LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
4295
4631
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
4296
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4632
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
4297
4633
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
4298
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4634
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
4300
4636
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
4301
4637
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4302
4638
case $host_os in
4303
solaris2.[0-5] | solaris2.[0-5].*) ;;
4639
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
4305
4641
# The C++ compiler is used as linker so we must use $wl
4306
4642
# flag to pass the commands to the underlying system
4643
# linker. We must also pass each convience library through
4644
# to the system linker between allextract/defaultextract.
4645
# The C++ compiler will combine linker options so we
4646
# cannot just pass the convience library names through
4308
4648
# Supported since Solaris 2.6 (maybe 2.5.1?)
4309
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
4649
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
4312
4652
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4314
# Commands to make compiler produce verbose output that lists
4315
# what "hidden" libraries, object files and flags are used when
4316
# linking a shared library.
4318
# There doesn't appear to be a way to prevent this compiler from
4319
# explicitly linking system object files so we need to strip them
4320
# from the output so that they don't get included in the library
4322
output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
4654
output_verbose_link_cmd='echo'
4324
4656
# Archives containing C++ object files must be created using
4325
4657
# "CC -xar", where "CC" is the Sun C++ compiler. This is
4368
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
4369
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4700
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
4701
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4702
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4703
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4704
runpath_var='LD_RUN_PATH'
4706
case $cc_basename in
4708
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4709
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4712
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4713
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
4717
sysv5* | sco3.2v5* | sco5v6*)
4718
# Note: We can NOT use -z defs as we might desire, because we do not
4719
# link with -lc, and that would cause any symbols used from libc to
4720
# always be unresolved, which means just about no library would
4721
# ever link correctly. If we're not using GNU ld we use -z text
4722
# though, which does catch some bad symbols but isn't as heavy-handed
4724
# For security reasons, it is highly recommended that you always
4725
# use absolute paths for naming shared libraries, and exclude the
4726
# DT_RUNPATH tag from executables and libraries. But doing so
4727
# requires that you compile everything twice, which is a pain.
4728
# So that behaviour is only enabled if SCOABSPATH is set to a
4729
# non-empty value in the environment. Most likely only useful for
4730
# creating official distributions of packages.
4731
# This is a hack until libtool officially supports absolute path
4732
# names for shared libraries.
4733
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
4734
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
4735
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
4736
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
4737
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
4738
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
4739
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
4740
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
4741
runpath_var='LD_RUN_PATH'
4743
case $cc_basename in
4745
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4746
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4749
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4750
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
4372
4755
case $cc_basename in
4374
4757
# NonStop-UX NCC 3.20
4375
4758
# FIXME: insert proper C++ library support
4376
4759
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6046
6579
echo EXPORTS > $output_objdir/$soname.def;
6047
6580
cat $export_symbols >> $output_objdir/$soname.def;
6049
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6055
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6582
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6584
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6589
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6590
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6591
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6592
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6593
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6594
# Instead, shared libraries are loaded at an image base (0x10000000 by
6595
# default) and relocated if they conflict, which is a slow very memory
6596
# consuming and fragmenting process. To avoid this, we pick a random,
6597
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6598
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
6599
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6600
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6603
linux* | k*bsd*-gnu)
6604
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6606
case $cc_basename,$host_cpu in
6607
pgcc*) # Portland Group C compiler
6608
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6609
tmp_addflag=' $pic_flag'
6611
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6612
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6613
tmp_addflag=' $pic_flag -Mnomain' ;;
6614
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6615
tmp_addflag=' -i_dynamic' ;;
6616
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6617
tmp_addflag=' -i_dynamic -nofor_main' ;;
6618
ifc* | ifort*) # Intel Fortran compiler
6619
tmp_addflag=' -nofor_main' ;;
6621
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6623
if test $supports_anon_versioning = yes; then
6624
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
6625
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6626
$echo "local: *; };" >> $output_objdir/$libname.ver~
6627
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6629
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
6631
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6635
netbsd* | netbsdelf*-gnu)
6056
6636
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6057
6637
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6090
6697
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6094
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6095
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6096
_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
6097
supports_anon_versioning=no
6098
case `$LD -v 2>/dev/null` in
6099
*\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
6100
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6101
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6102
*\ 2.11.*) ;; # other 2.11 versions
6103
*) supports_anon_versioning=yes ;;
6105
if test $supports_anon_versioning = yes; then
6106
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
6107
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6108
$echo "local: *; };" >> $output_objdir/$libname.ver~
6109
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6111
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
6113
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
6115
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6120
6701
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6121
6702
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6299
6878
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
6300
6879
# FIXME: Should let the user specify the lib program.
6301
6880
_LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
6302
fix_srcfile_path='`cygpath -w "$srcfile"`'
6881
_LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
6303
6882
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6306
6885
darwin* | rhapsody*)
6307
if test "$GXX" = yes ; then
6887
rhapsody* | darwin1.[[012]])
6888
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
6891
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6892
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6894
case ${MACOSX_DEPLOYMENT_TARGET} in
6896
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6899
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
6308
6905
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6310
rhapsody* | darwin1.[[012]])
6311
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
6314
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6315
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
6317
case ${MACOSX_DEPLOYMENT_TARGET} in
6319
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
6322
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
6328
lt_int_apple_cc_single_mod=no
6906
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6907
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6908
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6909
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
6910
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6911
if test "$GCC" = yes ; then
6329
6912
output_verbose_link_cmd='echo'
6330
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
6331
lt_int_apple_cc_single_mod=yes
6333
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6334
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6336
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6338
_LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6339
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
6340
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
6341
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6343
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6913
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6914
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6915
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6916
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6917
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6919
case $cc_basename in
6921
output_verbose_link_cmd='echo'
6922
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
6923
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6924
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6925
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6345
6926
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6346
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6347
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
6348
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6349
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
6350
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6352
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6929
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6406
6985
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6410
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6989
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6990
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6992
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6994
if test "$with_gnu_ld" = no; then
6995
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6996
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6998
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6999
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
7001
# hardcode_minus_L: Not really in the search PATH,
7002
# but as the default location of the library.
7003
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7008
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6413
7011
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7014
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6416
7017
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6422
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7023
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7026
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
6425
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7029
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6429
7033
if test "$with_gnu_ld" = no; then
6432
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7034
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7035
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6433
7039
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
6434
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6435
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6436
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6439
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6440
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6441
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6443
# hardcode_minus_L: Not really in the search PATH,
6444
# but as the default location of the library.
6445
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
7040
_LT_AC_TAGVAR(hardcode_direct, $1)=no
7041
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6448
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6449
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6450
7044
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6451
7045
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6632
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6633
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6634
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
6635
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6636
hardcode_runpath_var=yes
6637
runpath_var=LD_RUN_PATH
6640
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
6641
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
6642
if test "$GCC" = yes; then
6643
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6645
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6647
runpath_var='LD_RUN_PATH'
6648
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6652
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
6653
# $CC -shared without GNU ld will not create a library from C++
6654
# object files and a static libstdc++, better avoid it by now
6655
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6656
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6657
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6658
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
6659
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6660
runpath_var='LD_RUN_PATH'
7230
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
7231
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7232
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7233
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7234
runpath_var='LD_RUN_PATH'
7236
if test "$GCC" = yes; then
7237
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7238
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7240
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7241
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7245
sysv5* | sco3.2v5* | sco5v6*)
7246
# Note: We can NOT use -z defs as we might desire, because we do not
7247
# link with -lc, and that would cause any symbols used from libc to
7248
# always be unresolved, which means just about no library would
7249
# ever link correctly. If we're not using GNU ld we use -z text
7250
# though, which does catch some bad symbols but isn't as heavy-handed
7252
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
7253
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
7254
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
7255
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
7256
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7257
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
7258
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
7259
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
7260
runpath_var='LD_RUN_PATH'
7262
if test "$GCC" = yes; then
7263
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7264
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7266
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7267
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'