1
1
dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf.sh
2
2
dnl edits here will be lost
3
3
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
4
## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
4
## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007
5
5
## Free Software Foundation, Inc.
6
6
## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
255
259
# Check for compiler boilerplate output or warnings with
256
260
# the simple compiler test code.
257
261
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
258
[ac_outfile=conftest.$ac_objext
259
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
260
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
262
[AC_REQUIRE([LT_AC_PROG_SED])dnl
263
ac_outfile=conftest.$ac_objext
264
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
265
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
261
266
_lt_compiler_boilerplate=`cat conftest.err`
263
268
])# _LT_COMPILER_BOILERPLATE
268
273
# Check for linker boilerplate output or warnings with
269
274
# the simple link test code.
270
275
AC_DEFUN([_LT_LINKER_BOILERPLATE],
271
[ac_outfile=conftest.$ac_objext
272
printf "$lt_simple_link_test_code" >conftest.$ac_ext
273
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
276
[AC_REQUIRE([LT_AC_PROG_SED])dnl
277
ac_outfile=conftest.$ac_objext
278
echo "$lt_simple_link_test_code" >conftest.$ac_ext
279
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
274
280
_lt_linker_boilerplate=`cat conftest.err`
276
282
])# _LT_LINKER_BOILERPLATE
285
291
# If we don't find anything, use the default library path according
286
292
# to the aix ld manual.
287
293
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
288
[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
289
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
294
[AC_REQUIRE([LT_AC_PROG_SED])dnl
295
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
297
/Import File Strings/,/^$/ {
303
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
291
304
# Check for a 64-bit object if we didn't find anything.
292
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
305
if test -z "$aix_libpath"; then
306
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
294
308
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
295
309
])# _LT_AC_SYS_LIBPATH_AIX
640
677
# ------------------------------------------------------------
641
678
# Check whether the given compiler option works
642
679
AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
643
[AC_CACHE_CHECK([$1], [$2],
680
[AC_REQUIRE([LT_AC_PROG_SED])dnl
681
AC_CACHE_CHECK([$1], [$2],
645
683
save_LDFLAGS="$LDFLAGS"
646
684
LDFLAGS="$LDFLAGS $3"
647
printf "$lt_simple_link_test_code" > conftest.$ac_ext
685
echo "$lt_simple_link_test_code" > conftest.$ac_ext
648
686
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
649
687
# The linker can only warn and ignore the option if not recognized
650
688
# So say no if there are warnings
651
689
if test -s conftest.err; then
652
690
# Append any errors to the config.log.
653
691
cat conftest.err 1>&AS_MESSAGE_LOG_FD
654
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
655
$SED '/^$/d' conftest.err >conftest.er2
692
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
693
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
656
694
if diff conftest.exp conftest.er2 >/dev/null; then
788
lt_cv_sys_max_cmd_len=102400
790
sysv5* | sco5v6* | sysv4.2uw2*)
791
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
792
if test -n "$kargmax"; then
793
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
795
lt_cv_sys_max_cmd_len=32768
744
# If test is not a shell built-in, we'll probably end up computing a
745
# maximum length that is only half of the actual maximum length, but
747
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
748
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
799
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
800
if test -n "$lt_cv_sys_max_cmd_len"; then
801
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
802
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
804
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
805
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
749
806
= "XX$teststring") >/dev/null 2>&1 &&
750
new_result=`expr "X$teststring" : ".*" 2>&1` &&
751
lt_cv_sys_max_cmd_len=$new_result &&
752
test $i != 17 # 1/2 MB should be enough
755
teststring=$teststring$teststring
758
# Add a significant safety factor because C++ compilers can tack on massive
759
# amounts of additional arguments before passing them to the linker.
760
# It appears as though 1/2 is a usable value.
761
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
807
new_result=`expr "X$teststring" : ".*" 2>&1` &&
808
lt_cv_sys_max_cmd_len=$new_result &&
809
test $i != 17 # 1/2 MB should be enough
812
teststring=$teststring$teststring
815
# Add a significant safety factor because C++ compilers can tack on massive
816
# amounts of additional arguments before passing them to the linker.
817
# It appears as though 1/2 is a usable value.
818
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1162
1225
version_type=none
1163
1226
dynamic_linker="$host_os ld.so"
1164
1227
sys_lib_dlsearch_path_spec="/lib /usr/lib"
1165
1229
if test "$GCC" = yes; then
1166
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1167
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1231
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1232
*) lt_awk_arg="/^libraries:/" ;;
1234
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1235
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1168
1236
# if the path contains ";" then we assume it to be the separator
1169
1237
# otherwise default to the standard path separator (i.e. ":") - it is
1170
1238
# assumed that no part of a normal pathname contains ";" but that should
1171
1239
# okay in the real world where ";" in dirpaths is itself problematic.
1172
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1240
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1174
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1242
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1244
# Ok, now we have the path, separated by spaces, we can step through it
1245
# and add multilib dir if necessary.
1246
lt_tmp_lt_search_path_spec=
1247
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1248
for lt_sys_path in $lt_search_path_spec; do
1249
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1250
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1252
test -d "$lt_sys_path" && \
1253
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1256
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1257
BEGIN {RS=" "; FS="/|\n";} {
1260
for (lt_i = NF; lt_i > 0; lt_i--) {
1261
if ($lt_i != "" && $lt_i != ".") {
1262
if ($lt_i == "..") {
1265
if (lt_count == 0) {
1266
lt_foo="/" $lt_i lt_foo;
1273
if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1274
if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1276
sys_lib_search_path_spec=`echo $lt_search_path_spec`
1177
1278
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1179
1280
need_lib_prefix=unknown
1180
1281
hardcode_into_libs=no
1332
1433
shlibpath_overrides_runpath=yes
1333
1434
shlibpath_var=DYLD_LIBRARY_PATH
1334
1435
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1335
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1336
if test "$GCC" = yes; then
1337
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
1339
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1437
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
1341
1438
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1793
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1794
version_type=freebsd-elf
1797
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1798
soname_spec='${libname}${release}${shared_ext}$major'
1799
shlibpath_var=LD_LIBRARY_PATH
1800
hardcode_into_libs=yes
1801
if test "$with_gnu_ld" = yes; then
1802
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1803
shlibpath_overrides_runpath=no
1805
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1806
shlibpath_overrides_runpath=yes
1809
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1813
sys_lib_dlsearch_path_spec='/usr/lib'
1694
1817
version_type=linux
1695
1818
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2217
2349
mingw* | pw32*)
2218
2350
# Base MSYS/MinGW do not provide the 'file' command needed by
2219
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
2220
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2221
lt_cv_file_magic_cmd='$OBJDUMP -f'
2351
# func_win32_libid shell function, so use a weaker test based on 'objdump',
2352
# unless we find 'file', for example because we are cross-compiling.
2353
if ( file / ) >/dev/null 2>&1; then
2354
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2355
lt_cv_file_magic_cmd='func_win32_libid'
2357
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2358
lt_cv_file_magic_cmd='$OBJDUMP -f'
2224
2362
darwin* | rhapsody*)
2225
2363
lt_cv_deplibs_check_method=pass_all
2228
freebsd* | kfreebsd*-gnu | dragonfly*)
2366
freebsd* | dragonfly*)
2229
2367
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2230
2368
case $host_cpu in
2360
2506
# Let the user override the test.
2361
2507
lt_cv_path_NM="$NM"
2363
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2364
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2366
test -z "$ac_dir" && ac_dir=.
2367
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
2368
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2369
# Check to see if the nm accepts a BSD-compat flag.
2370
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2371
# nm: unknown option "B" ignored
2372
# Tru64's nm complains that /dev/null is an invalid object file
2373
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2374
*/dev/null* | *'Invalid file or object type'*)
2375
lt_cv_path_NM="$tmp_nm -B"
2379
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2381
lt_cv_path_NM="$tmp_nm -p"
2509
lt_nm_to_check="${ac_tool_prefix}nm"
2510
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2511
lt_nm_to_check="$lt_nm_to_check nm"
2513
for lt_tmp_nm in $lt_nm_to_check; do
2514
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2515
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2517
test -z "$ac_dir" && ac_dir=.
2518
tmp_nm="$ac_dir/$lt_tmp_nm"
2519
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2520
# Check to see if the nm accepts a BSD-compat flag.
2521
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2522
# nm: unknown option "B" ignored
2523
# Tru64's nm complains that /dev/null is an invalid object file
2524
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2525
*/dev/null* | *'Invalid file or object type'*)
2526
lt_cv_path_NM="$tmp_nm -B"
2385
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2386
continue # so that we can try to find one that supports BSD flags
2530
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2532
lt_cv_path_NM="$tmp_nm -p"
2536
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2537
continue # so that we can try to find one that supports BSD flags
2393
2546
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2395
2548
NM="$lt_cv_path_NM"
2581
2734
_LT_COMPILER_BOILERPLATE
2582
2735
_LT_LINKER_BOILERPLATE
2585
# Check for any special shared library compilation flags.
2587
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
2588
if test "$GCC" = no; then
2591
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
2595
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
2596
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
2597
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
2599
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
2600
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
2606
# Check to make sure the static flag actually works.
2608
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
2609
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
2610
$_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
2612
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
2615
2737
## CAVEAT EMPTOR:
2616
2738
## There is no encapsulation within the following macros, do not change
2617
2739
## the running order or otherwise move them around unless you know exactly
2899
3024
_LT_AC_SYS_LIBPATH_AIX
2900
3025
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2902
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
3027
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
2904
3029
if test "$host_cpu" = ia64; then
2905
3030
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2906
3031
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2907
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
3032
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
2909
3034
# Determine the default libpath from the value encoded in an empty executable.
2910
3035
_LT_AC_SYS_LIBPATH_AIX
2913
3038
# -berok will link without error, but may produce a broken library.
2914
3039
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2915
3040
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2916
# -bexpall does not export symbols beginning with underscore (_)
2917
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
2918
3041
# Exported symbols can be pulled into shared objects from archives
2919
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3042
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2920
3043
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2921
3044
# This is similar to how AIX traditionally builds its shared libraries.
2922
_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'
3045
_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'
3051
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
3052
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
3053
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
3054
# support --undefined. This deserves some investigation. FIXME
3055
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
3057
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2927
3062
case $cc_basename in
3006
3140
case $cc_basename in
3008
3142
output_verbose_link_cmd='echo'
3009
_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'
3143
_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` $xlcverstring'
3010
3144
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3011
3145
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3012
_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}'
3146
_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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3013
3147
_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}'
3089
3223
hpux10*|hpux11*)
3090
3224
if test $with_gnu_ld = no; then
3225
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3226
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3091
3228
case $host_cpu in
3093
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3094
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3095
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3098
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3101
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3102
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3103
3231
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3107
3235
case $host_cpu in
3109
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3110
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3113
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3114
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3115
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3116
# but as the default
3117
# location of the library.
3237
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3238
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3120
3241
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3298
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3299
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3300
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3301
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3302
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
3303
# Instead, shared libraries are loaded at an image base (0x10000000 by
3304
# default) and relocated if they conflict, which is a slow very memory
3305
# consuming and fragmenting process. To avoid this, we pick a random,
3306
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
3307
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
3308
_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'
3309
_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'
3170
3311
irix5* | irix6*)
3171
3312
case $cc_basename in
3273
3414
# dependencies.
3274
3415
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3418
case `$CC -V 2>&1 | sed 5q` in
3421
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
3422
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
3423
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
3424
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
3425
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
3427
# Not sure whether something based on
3428
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
3430
output_verbose_link_cmd='echo'
3432
# Archives containing C++ object files must be created using
3433
# "CC -xar", where "CC" is the Sun C++ compiler. This is
3434
# necessary to make sure instantiated templates are included
3436
_LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
3311
3475
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3314
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3315
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3316
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3317
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3318
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3319
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
3320
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3321
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3478
if test -f /usr/libexec/ld.so; then
3479
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3480
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3481
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3482
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3483
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3484
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
3485
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3486
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
3488
output_verbose_link_cmd='echo'
3490
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3323
output_verbose_link_cmd='echo'
3326
3494
case $cc_basename in
3495
3650
case $host_os in
3496
3651
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3498
# The C++ compiler is used as linker so we must use $wl
3499
# flag to pass the commands to the underlying system
3500
# linker. We must also pass each convience library through
3501
# to the system linker between allextract/defaultextract.
3502
# The C++ compiler will combine linker options so we
3503
# cannot just pass the convience library names through
3653
# The compiler driver will combine and reorder linker options,
3654
# but understands `-z linker_flag'.
3505
3655
# Supported since Solaris 2.6 (maybe 2.5.1?)
3506
_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'
3656
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3509
3659
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3552
3702
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
3704
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3706
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
3557
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3558
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3713
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
3714
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3715
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3716
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3717
runpath_var='LD_RUN_PATH'
3719
case $cc_basename in
3721
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3722
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3725
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3726
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
3730
sysv5* | sco3.2v5* | sco5v6*)
3731
# Note: We can NOT use -z defs as we might desire, because we do not
3732
# link with -lc, and that would cause any symbols used from libc to
3733
# always be unresolved, which means just about no library would
3734
# ever link correctly. If we're not using GNU ld we use -z text
3735
# though, which does catch some bad symbols but isn't as heavy-handed
3737
# For security reasons, it is highly recommended that you always
3738
# use absolute paths for naming shared libraries, and exclude the
3739
# DT_RUNPATH tag from executables and libraries. But doing so
3740
# requires that you compile everything twice, which is a pain.
3741
# So that behaviour is only enabled if SCOABSPATH is set to a
3742
# non-empty value in the environment. Most likely only useful for
3743
# creating official distributions of packages.
3744
# This is a hack until libtool officially supports absolute path
3745
# names for shared libraries.
3746
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
3747
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
3748
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3749
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3750
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
3751
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
3752
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3753
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
3754
runpath_var='LD_RUN_PATH'
3756
case $cc_basename in
3758
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3759
_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'
3762
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
3763
_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'
3561
3768
case $cc_basename in
3748
3953
# PORTME: override above test on systems where it is broken
3749
3954
ifelse([$1],[CXX],
3750
3955
[case $host_os in
3957
# Interix 3.5 installs completely hosed .la files for C++, so rather than
3958
# hack all around it, let's just trust "g++" to DTRT.
3959
_LT_AC_TAGVAR(predep_objects,$1)=
3960
_LT_AC_TAGVAR(postdep_objects,$1)=
3961
_LT_AC_TAGVAR(postdeps,$1)=
3965
case `$CC -V 2>&1 | sed 5q` in
3969
# The more standards-conforming stlport4 library is
3970
# incompatible with the Cstd library. Avoid specifying
3971
# it if it's in CXXFLAGS. Ignore libCrun as
3972
# -library=stlport4 depends on it.
3973
case " $CXX $CXXFLAGS " in
3974
*" -library=stlport4 "*)
3975
solaris_use_stlport4=yes
3978
if test "$solaris_use_stlport4" != yes; then
3979
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
3752
3986
case $cc_basename in
3988
# The more standards-conforming stlport4 library is
3989
# incompatible with the Cstd library. Avoid specifying
3990
# it if it's in CXXFLAGS. Ignore libCrun as
3991
# -library=stlport4 depends on it.
3992
case " $CXX $CXXFLAGS " in
3993
*" -library=stlport4 "*)
3994
solaris_use_stlport4=yes
3754
3998
# Adding this requires a known-good setup of shared libraries for
3755
3999
# Sun compiler versions before 5.6, else PIC objects from an old
3756
4000
# archive will be linked into the output, leading to subtle bugs.
3757
_LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
4001
if test "$solaris_use_stlport4" != yes; then
4002
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4085
4334
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4086
4335
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4088
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
4337
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4089
4338
# Free Software Foundation, Inc.
4091
4340
# This file is part of GNU Libtool:
4789
freebsd* | kfreebsd*-gnu | dragonfly*)
5057
freebsd* | dragonfly*)
4790
5058
# FreeBSD uses GNU C++
4792
5060
hpux9* | hpux10* | hpux11*)
4793
5061
case $cc_basename in
4795
5063
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4796
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5064
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4797
5065
if test "$host_cpu" != ia64; then
4798
5066
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4802
5070
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4803
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5071
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4804
5072
case $host_cpu in
4805
5073
hppa*64*|ia64*)
4806
5074
# +Z the default
5095
5380
# All Alpha code is PIC.
5096
5381
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5384
case `$CC -V 2>&1 | sed 5q` in
5387
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5388
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5389
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5392
# Sun Fortran 8.3 passes all unrecognized flags to the linker
5393
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5394
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5395
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
5180
5486
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5491
# Check to make sure the static flag actually works.
5493
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5494
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5495
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
5496
$lt_tmp_static_flag,
5498
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5339
5663
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5340
5664
_LT_AC_TAGVAR(always_export_symbols, $1)=no
5341
5665
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5342
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5666
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5344
5668
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5345
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5669
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5346
5670
# If the export-symbols file already is a .def file (1st line
5347
5671
# is EXPORTS), use it as is; otherwise, prepend...
5348
5672
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5351
5675
echo EXPORTS > $output_objdir/$soname.def;
5352
5676
cat $export_symbols >> $output_objdir/$soname.def;
5354
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5678
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5356
5680
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5685
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5686
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5687
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5688
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5689
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5690
# Instead, shared libraries are loaded at an image base (0x10000000 by
5691
# default) and relocated if they conflict, which is a slow very memory
5692
# consuming and fragmenting process. To avoid this, we pick a random,
5693
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5694
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
5695
_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'
5696
_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'
5699
gnu* | linux* | k*bsd*-gnu)
5361
5700
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5363
5702
case $cc_basename,$host_cpu in
5375
5714
ifc* | ifort*) # Intel Fortran compiler
5376
5715
tmp_addflag=' -nofor_main' ;;
5378
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5717
case `$CC -V 2>&1 | sed 5q` in
5718
*Sun\ C*) # Sun C 5.9
5719
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
5720
tmp_sharedflag='-G' ;;
5721
*Sun\ F*) # Sun Fortran 8.3
5722
tmp_sharedflag='-G' ;;
5724
tmp_sharedflag='-shared' ;;
5726
_LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5380
5728
if test $supports_anon_versioning = yes; then
5381
5729
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5382
5730
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5383
5731
$echo "local: *; };" >> $output_objdir/$libname.ver~
5384
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5732
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5734
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
5387
5736
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5740
netbsd* | netbsdelf*-gnu)
5392
5741
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5393
5742
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5771
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5772
case `$LD -v 2>&1` in
5773
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5774
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5777
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5778
*** reliably create shared libraries on SCO systems. Therefore, libtool
5779
*** is disabling shared libraries support. We urge you to upgrade GNU
5780
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5781
*** your PATH or compiler configuration so that the native linker is
5782
*** used, and then restart.
5787
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5788
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5789
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5790
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
5792
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5423
5799
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5553
5931
# Determine the default libpath from the value encoded in an empty executable.
5554
5932
_LT_AC_SYS_LIBPATH_AIX
5555
5933
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5556
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5934
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5558
5936
if test "$host_cpu" = ia64; then
5559
5937
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5560
5938
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5561
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5939
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
5563
5941
# Determine the default libpath from the value encoded in an empty executable.
5564
5942
_LT_AC_SYS_LIBPATH_AIX
5567
5945
# -berok will link without error, but may produce a broken library.
5568
5946
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5569
5947
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5570
# -bexpall does not export symbols beginning with underscore (_)
5571
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
5572
5948
# Exported symbols can be pulled into shared objects from archives
5573
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
5949
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5574
5950
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5575
5951
# This is similar to how AIX traditionally builds its shared libraries.
5576
_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'
5952
_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'
5648
6024
case $cc_basename in
5650
6026
output_verbose_link_cmd='echo'
5651
_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'
6027
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
5652
6028
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5653
6029
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5654
_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}'
6030
_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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5655
6031
_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}'
5714
6090
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6094
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6095
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6097
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6099
if test "$with_gnu_ld" = no; then
6100
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6101
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6103
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6104
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6106
# hardcode_minus_L: Not really in the search PATH,
6107
# but as the default location of the library.
6108
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5718
6113
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5719
6114
case $host_cpu in
5721
6116
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6119
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5724
6122
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5728
6126
case $host_cpu in
5730
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6128
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6131
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5733
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6134
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5737
6138
if test "$with_gnu_ld" = no; then
6139
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6140
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5738
6142
case $host_cpu in
5740
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5741
6144
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5742
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5743
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5744
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5747
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5748
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5749
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5751
# hardcode_minus_L: Not really in the search PATH,
5752
# but as the default location of the library.
5753
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6145
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6146
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5756
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5757
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5758
6149
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5759
6150
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5801
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5802
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5803
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5804
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5805
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5806
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5807
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6192
if test -f /usr/libexec/ld.so; then
6193
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6194
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6195
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6196
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6197
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6198
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6199
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6202
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6203
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6204
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6207
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6208
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5810
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
5811
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5812
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5815
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5816
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6213
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5882
6269
case $host_os in
5883
6270
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5885
# The compiler driver will combine linker options so we
5886
# cannot just pass the convience library names through
5887
# without $wl, iff we do not link with $LD.
5888
# Luckily, gcc supports the same syntax we need for Sun Studio.
6272
# The compiler driver will combine and reorder linker options,
6273
# but understands `-z linker_flag'. GCC discards it without `$wl',
6274
# but is careful enough not to reorder.
5889
6275
# Supported since Solaris 2.6 (maybe 2.5.1?)
5892
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
5894
_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' ;;
6276
if test "$GCC" = yes; then
6277
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6279
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5897
6283
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5953
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5954
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5955
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5956
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5957
hardcode_runpath_var=yes
5958
runpath_var=LD_RUN_PATH
5961
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5962
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
5963
if test "$GCC" = yes; then
5964
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5966
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5968
runpath_var='LD_RUN_PATH'
5969
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5973
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
5974
# $CC -shared without GNU ld will not create a library from C++
5975
# object files and a static libstdc++, better avoid it by now
5976
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5977
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5978
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5979
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5980
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5981
runpath_var='LD_RUN_PATH'
6338
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6339
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6340
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6341
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6342
runpath_var='LD_RUN_PATH'
6344
if test "$GCC" = yes; then
6345
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6346
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6348
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6349
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6353
sysv5* | sco3.2v5* | sco5v6*)
6354
# Note: We can NOT use -z defs as we might desire, because we do not
6355
# link with -lc, and that would cause any symbols used from libc to
6356
# always be unresolved, which means just about no library would
6357
# ever link correctly. If we're not using GNU ld we use -z text
6358
# though, which does catch some bad symbols but isn't as heavy-handed
6360
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6361
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6362
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6363
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6364
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6365
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6366
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6367
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6368
runpath_var='LD_RUN_PATH'
6370
if test "$GCC" = yes; then
6371
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6372
_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'
6374
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6375
_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'
6122
6513
[AC_CHECK_TOOL(RC, windres, no)
6517
# Cheap backport of AS_EXECUTABLE_P and required macros
6518
# from Autoconf 2.59; we should not use $as_executable_p directly.
6522
m4_ifndef([_AS_TEST_PREPARE],
6523
[m4_defun([_AS_TEST_PREPARE],
6524
[if test -x / >/dev/null 2>&1; then
6525
as_executable_p='test -x'
6527
as_executable_p='test -f'
6529
])])# _AS_TEST_PREPARE
6533
# Check whether a file is executable.
6534
m4_ifndef([AS_EXECUTABLE_P],
6535
[m4_defun([AS_EXECUTABLE_P],
6536
[AS_REQUIRE([_AS_TEST_PREPARE])dnl
6537
$as_executable_p $1[]dnl
6538
])])# AS_EXECUTABLE_P
6125
6540
############################################################
6126
6541
# NOTE: This macro has been submitted for inclusion into #
6127
6542
# GNU Autoconf as AC_PROG_SED. When it is available in #