259
263
# Check for compiler boilerplate output or warnings with
260
264
# the simple compiler test code.
261
265
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
262
[ac_outfile=conftest.$ac_objext
263
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
264
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
266
[AC_REQUIRE([LT_AC_PROG_SED])dnl
267
ac_outfile=conftest.$ac_objext
268
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
269
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
265
270
_lt_compiler_boilerplate=`cat conftest.err`
267
272
])# _LT_COMPILER_BOILERPLATE
272
277
# Check for linker boilerplate output or warnings with
273
278
# the simple link test code.
274
279
AC_DEFUN([_LT_LINKER_BOILERPLATE],
275
[ac_outfile=conftest.$ac_objext
276
printf "$lt_simple_link_test_code" >conftest.$ac_ext
277
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
280
[AC_REQUIRE([LT_AC_PROG_SED])dnl
281
ac_outfile=conftest.$ac_objext
282
echo "$lt_simple_link_test_code" >conftest.$ac_ext
283
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
278
284
_lt_linker_boilerplate=`cat conftest.err`
280
286
])# _LT_LINKER_BOILERPLATE
289
295
# If we don't find anything, use the default library path according
290
296
# to the aix ld manual.
291
297
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
292
[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
293
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
298
[AC_REQUIRE([LT_AC_PROG_SED])dnl
299
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
301
/Import File Strings/,/^$/ {
307
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
295
308
# Check for a 64-bit object if we didn't find anything.
296
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; }
309
if test -z "$aix_libpath"; then
310
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
298
312
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
299
313
])# _LT_AC_SYS_LIBPATH_AIX
644
681
# ------------------------------------------------------------
645
682
# Check whether the given compiler option works
646
683
AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
647
[AC_CACHE_CHECK([$1], [$2],
684
[AC_REQUIRE([LT_AC_PROG_SED])dnl
685
AC_CACHE_CHECK([$1], [$2],
649
687
save_LDFLAGS="$LDFLAGS"
650
688
LDFLAGS="$LDFLAGS $3"
651
printf "$lt_simple_link_test_code" > conftest.$ac_ext
689
echo "$lt_simple_link_test_code" > conftest.$ac_ext
652
690
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
653
691
# The linker can only warn and ignore the option if not recognized
654
692
# So say no if there are warnings
655
693
if test -s conftest.err; then
656
694
# Append any errors to the config.log.
657
695
cat conftest.err 1>&AS_MESSAGE_LOG_FD
658
$echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
659
$SED '/^$/d' conftest.err >conftest.er2
696
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
697
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
660
698
if diff conftest.exp conftest.er2 >/dev/null; then
792
lt_cv_sys_max_cmd_len=102400
794
sysv5* | sco5v6* | sysv4.2uw2*)
795
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
796
if test -n "$kargmax"; then
797
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
799
lt_cv_sys_max_cmd_len=32768
748
# If test is not a shell built-in, we'll probably end up computing a
749
# maximum length that is only half of the actual maximum length, but
751
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
752
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
803
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
804
if test -n "$lt_cv_sys_max_cmd_len"; then
805
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
806
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
808
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
809
while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
753
810
= "XX$teststring") >/dev/null 2>&1 &&
754
new_result=`expr "X$teststring" : ".*" 2>&1` &&
755
lt_cv_sys_max_cmd_len=$new_result &&
756
test $i != 17 # 1/2 MB should be enough
759
teststring=$teststring$teststring
762
# Add a significant safety factor because C++ compilers can tack on massive
763
# amounts of additional arguments before passing them to the linker.
764
# It appears as though 1/2 is a usable value.
765
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
811
new_result=`expr "X$teststring" : ".*" 2>&1` &&
812
lt_cv_sys_max_cmd_len=$new_result &&
813
test $i != 17 # 1/2 MB should be enough
816
teststring=$teststring$teststring
819
# Add a significant safety factor because C++ compilers can tack on massive
820
# amounts of additional arguments before passing them to the linker.
821
# It appears as though 1/2 is a usable value.
822
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
1166
1229
version_type=none
1167
1230
dynamic_linker="$host_os ld.so"
1168
1231
sys_lib_dlsearch_path_spec="/lib /usr/lib"
1169
1233
if test "$GCC" = yes; then
1170
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1171
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
1235
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
1236
*) lt_awk_arg="/^libraries:/" ;;
1238
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1239
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1172
1240
# if the path contains ";" then we assume it to be the separator
1173
1241
# otherwise default to the standard path separator (i.e. ":") - it is
1174
1242
# assumed that no part of a normal pathname contains ";" but that should
1175
1243
# okay in the real world where ";" in dirpaths is itself problematic.
1176
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1244
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1178
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1246
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
1248
# Ok, now we have the path, separated by spaces, we can step through it
1249
# and add multilib dir if necessary.
1250
lt_tmp_lt_search_path_spec=
1251
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
1252
for lt_sys_path in $lt_search_path_spec; do
1253
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
1254
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
1256
test -d "$lt_sys_path" && \
1257
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
1260
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
1261
BEGIN {RS=" "; FS="/|\n";} {
1264
for (lt_i = NF; lt_i > 0; lt_i--) {
1265
if ($lt_i != "" && $lt_i != ".") {
1266
if ($lt_i == "..") {
1269
if (lt_count == 0) {
1270
lt_foo="/" $lt_i lt_foo;
1277
if (lt_foo != "") { lt_freq[[lt_foo]]++; }
1278
if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
1280
sys_lib_search_path_spec=`echo $lt_search_path_spec`
1181
1282
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1183
1284
need_lib_prefix=unknown
1184
1285
hardcode_into_libs=no
1336
1437
shlibpath_overrides_runpath=yes
1337
1438
shlibpath_var=DYLD_LIBRARY_PATH
1338
1439
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1339
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1340
if test "$GCC" = yes; then
1341
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"`
1343
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1441
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
1345
1442
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1797
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1798
version_type=freebsd-elf
1801
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1802
soname_spec='${libname}${release}${shared_ext}$major'
1803
shlibpath_var=LD_LIBRARY_PATH
1804
hardcode_into_libs=yes
1805
if test "$with_gnu_ld" = yes; then
1806
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
1807
shlibpath_overrides_runpath=no
1809
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
1810
shlibpath_overrides_runpath=yes
1813
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
1817
sys_lib_dlsearch_path_spec='/usr/lib'
1710
1821
version_type=linux
1711
1822
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2233
2353
mingw* | pw32*)
2234
2354
# Base MSYS/MinGW do not provide the 'file' command needed by
2235
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
2236
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2237
lt_cv_file_magic_cmd='$OBJDUMP -f'
2355
# func_win32_libid shell function, so use a weaker test based on 'objdump',
2356
# unless we find 'file', for example because we are cross-compiling.
2357
if ( file / ) >/dev/null 2>&1; then
2358
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2359
lt_cv_file_magic_cmd='func_win32_libid'
2361
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2362
lt_cv_file_magic_cmd='$OBJDUMP -f'
2240
2366
darwin* | rhapsody*)
2241
2367
lt_cv_deplibs_check_method=pass_all
2244
freebsd* | kfreebsd*-gnu | dragonfly*)
2370
freebsd* | dragonfly*)
2245
2371
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2246
2372
case $host_cpu in
2376
2510
# Let the user override the test.
2377
2511
lt_cv_path_NM="$NM"
2379
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2380
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2382
test -z "$ac_dir" && ac_dir=.
2383
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
2384
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2385
# Check to see if the nm accepts a BSD-compat flag.
2386
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2387
# nm: unknown option "B" ignored
2388
# Tru64's nm complains that /dev/null is an invalid object file
2389
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2390
*/dev/null* | *'Invalid file or object type'*)
2391
lt_cv_path_NM="$tmp_nm -B"
2395
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2397
lt_cv_path_NM="$tmp_nm -p"
2513
lt_nm_to_check="${ac_tool_prefix}nm"
2514
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2515
lt_nm_to_check="$lt_nm_to_check nm"
2517
for lt_tmp_nm in $lt_nm_to_check; do
2518
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2519
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2521
test -z "$ac_dir" && ac_dir=.
2522
tmp_nm="$ac_dir/$lt_tmp_nm"
2523
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2524
# Check to see if the nm accepts a BSD-compat flag.
2525
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
2526
# nm: unknown option "B" ignored
2527
# Tru64's nm complains that /dev/null is an invalid object file
2528
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2529
*/dev/null* | *'Invalid file or object type'*)
2530
lt_cv_path_NM="$tmp_nm -B"
2401
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2402
continue # so that we can try to find one that supports BSD flags
2534
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2536
lt_cv_path_NM="$tmp_nm -p"
2540
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2541
continue # so that we can try to find one that supports BSD flags
2409
2550
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
2411
2552
NM="$lt_cv_path_NM"
2597
2738
_LT_COMPILER_BOILERPLATE
2598
2739
_LT_LINKER_BOILERPLATE
2601
# Check for any special shared library compilation flags.
2603
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
2604
if test "$GCC" = no; then
2607
_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
2611
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
2612
AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
2613
if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[ ]]" >/dev/null; then :
2615
AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
2616
_LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
2622
# Check to make sure the static flag actually works.
2624
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
2625
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
2626
$_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
2628
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
2631
2741
AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
2632
2742
AC_LIBTOOL_PROG_COMPILER_PIC($1)
2633
2743
AC_LIBTOOL_PROG_CC_C_O($1)
2911
3024
_LT_AC_SYS_LIBPATH_AIX
2912
3025
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
2914
_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"
2916
3029
if test "$host_cpu" = ia64; then
2917
3030
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
2918
3031
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
2919
_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"
2921
3034
# Determine the default libpath from the value encoded in an empty executable.
2922
3035
_LT_AC_SYS_LIBPATH_AIX
2925
3038
# -berok will link without error, but may produce a broken library.
2926
3039
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
2927
3040
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
2928
# -bexpall does not export symbols beginning with underscore (_)
2929
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
2930
3041
# Exported symbols can be pulled into shared objects from archives
2931
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
3042
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
2932
3043
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
2933
3044
# This is similar to how AIX traditionally builds its shared libraries.
2934
_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
2939
3062
case $cc_basename in
3018
3140
case $cc_basename in
3020
3142
output_verbose_link_cmd='echo'
3021
_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'
3022
3144
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3023
3145
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3024
_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}'
3025
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}'
3101
3223
hpux10*|hpux11*)
3102
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)=:
3103
3228
case $host_cpu in
3105
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3106
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3107
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3110
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
3113
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
3114
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3115
3231
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3119
3235
case $host_cpu in
3121
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3122
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3125
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3126
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3127
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
3128
# but as the default
3129
# location of the library.
3237
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3238
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3132
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'
3182
3311
irix5* | irix6*)
3183
3312
case $cc_basename in
3285
3414
# dependencies.
3286
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'
3323
3475
_LT_AC_TAGVAR(ld_shlibs, $1)=no
3326
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
3327
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3328
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3329
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3330
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3331
_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'
3332
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3333
_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
3335
output_verbose_link_cmd='echo'
3338
3494
case $cc_basename in
3507
3650
case $host_os in
3508
3651
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3510
# The C++ compiler is used as linker so we must use $wl
3511
# flag to pass the commands to the underlying system
3512
# linker. We must also pass each convience library through
3513
# to the system linker between allextract/defaultextract.
3514
# The C++ compiler will combine linker options so we
3515
# cannot just pass the convience library names through
3653
# The compiler driver will combine and reorder linker options,
3654
# but understands `-z linker_flag'.
3517
3655
# Supported since Solaris 2.6 (maybe 2.5.1?)
3518
_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'
3521
3659
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3564
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'
3569
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
3570
_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'
3573
3768
case $cc_basename in
3756
3949
# PORTME: override above test on systems where it is broken
3757
3950
ifelse([$1],[CXX],
3758
3951
[case $host_os in
3953
# Interix 3.5 installs completely hosed .la files for C++, so rather than
3954
# hack all around it, let's just trust "g++" to DTRT.
3955
_LT_AC_TAGVAR(predep_objects,$1)=
3956
_LT_AC_TAGVAR(postdep_objects,$1)=
3957
_LT_AC_TAGVAR(postdeps,$1)=
3961
case `$CC -V 2>&1 | sed 5q` in
3965
# The more standards-conforming stlport4 library is
3966
# incompatible with the Cstd library. Avoid specifying
3967
# it if it's in CXXFLAGS. Ignore libCrun as
3968
# -library=stlport4 depends on it.
3969
case " $CXX $CXXFLAGS " in
3970
*" -library=stlport4 "*)
3971
solaris_use_stlport4=yes
3974
if test "$solaris_use_stlport4" != yes; then
3975
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
3760
3982
case $cc_basename in
3984
# The more standards-conforming stlport4 library is
3985
# incompatible with the Cstd library. Avoid specifying
3986
# it if it's in CXXFLAGS. Ignore libCrun as
3987
# -library=stlport4 depends on it.
3988
case " $CXX $CXXFLAGS " in
3989
*" -library=stlport4 "*)
3990
solaris_use_stlport4=yes
3762
3994
# Adding this requires a known-good setup of shared libraries for
3763
3995
# Sun compiler versions before 5.6, else PIC objects from an old
3764
3996
# archive will be linked into the output, leading to subtle bugs.
3765
_LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
3997
if test "$solaris_use_stlport4" != yes; then
3998
_LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
4089
4326
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4090
4327
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4092
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
4329
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4093
4330
# Free Software Foundation, Inc.
4095
4332
# This file is part of GNU Libtool:
4793
freebsd* | kfreebsd*-gnu | dragonfly*)
5049
freebsd* | dragonfly*)
4794
5050
# FreeBSD uses GNU C++
4796
5052
hpux9* | hpux10* | hpux11*)
4797
5053
case $cc_basename in
4799
5055
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4800
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5056
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4801
5057
if test "$host_cpu" != ia64; then
4802
5058
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
4806
5062
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4807
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
5063
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
4808
5064
case $host_cpu in
4809
5065
hppa*64*|ia64*)
4810
5066
# +Z the default
5099
5372
# All Alpha code is PIC.
5100
5373
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5376
case `$CC -V 2>&1 | sed 5q` in
5379
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5380
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5381
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5384
# Sun Fortran 8.3 passes all unrecognized flags to the linker
5385
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5386
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5387
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
5184
5478
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
5483
# Check to make sure the static flag actually works.
5485
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5486
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5487
_LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
5488
$lt_tmp_static_flag,
5490
[_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5346
5655
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5347
5656
_LT_AC_TAGVAR(always_export_symbols, $1)=no
5348
5657
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5349
_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'
5658
_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'
5351
5660
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5352
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5661
_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'
5353
5662
# If the export-symbols file already is a .def file (1st line
5354
5663
# is EXPORTS), use it as is; otherwise, prepend...
5355
5664
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
5358
5667
echo EXPORTS > $output_objdir/$soname.def;
5359
5668
cat $export_symbols >> $output_objdir/$soname.def;
5361
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
5670
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5363
5672
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5677
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5678
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5679
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5680
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5681
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
5682
# Instead, shared libraries are loaded at an image base (0x10000000 by
5683
# default) and relocated if they conflict, which is a slow very memory
5684
# consuming and fragmenting process. To avoid this, we pick a random,
5685
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
5686
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
5687
_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'
5688
_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'
5691
gnu* | linux* | k*bsd*-gnu)
5368
5692
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5370
5694
case $cc_basename,$host_cpu in
5382
5706
ifc* | ifort*) # Intel Fortran compiler
5383
5707
tmp_addflag=' -nofor_main' ;;
5385
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5709
case `$CC -V 2>&1 | sed 5q` in
5710
*Sun\ C*) # Sun C 5.9
5711
_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'
5712
tmp_sharedflag='-G' ;;
5713
*Sun\ F*) # Sun Fortran 8.3
5714
tmp_sharedflag='-G' ;;
5716
tmp_sharedflag='-shared' ;;
5718
_LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5387
5720
if test $supports_anon_versioning = yes; then
5388
5721
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5389
5722
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5390
5723
$echo "local: *; };" >> $output_objdir/$libname.ver~
5391
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5724
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5393
5726
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
5763
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5764
case `$LD -v 2>&1` in
5765
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5766
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5769
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
5770
*** reliably create shared libraries on SCO systems. Therefore, libtool
5771
*** is disabling shared libraries support. We urge you to upgrade GNU
5772
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
5773
*** your PATH or compiler configuration so that the native linker is
5774
*** used, and then restart.
5779
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5780
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
5781
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
5782
_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'
5784
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5431
5791
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5561
5923
# Determine the default libpath from the value encoded in an empty executable.
5562
5924
_LT_AC_SYS_LIBPATH_AIX
5563
5925
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5564
_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"
5926
_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"
5566
5928
if test "$host_cpu" = ia64; then
5567
5929
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5568
5930
_LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
5569
_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"
5931
_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"
5571
5933
# Determine the default libpath from the value encoded in an empty executable.
5572
5934
_LT_AC_SYS_LIBPATH_AIX
5575
5937
# -berok will link without error, but may produce a broken library.
5576
5938
_LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5577
5939
_LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5578
# -bexpall does not export symbols beginning with underscore (_)
5579
_LT_AC_TAGVAR(always_export_symbols, $1)=yes
5580
5940
# Exported symbols can be pulled into shared objects from archives
5581
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
5941
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
5582
5942
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
5583
5943
# This is similar to how AIX traditionally builds its shared libraries.
5584
_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'
5944
_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'
5656
6016
case $cc_basename in
5658
6018
output_verbose_link_cmd='echo'
5659
_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'
6019
_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'
5660
6020
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5661
6021
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5662
_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}'
6022
_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}'
5663
6023
_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}'
5722
6082
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6086
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
6087
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6089
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6091
if test "$with_gnu_ld" = no; then
6092
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6093
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
6095
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6096
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6098
# hardcode_minus_L: Not really in the search PATH,
6099
# but as the default location of the library.
6100
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
5726
6105
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
5727
6106
case $host_cpu in
5729
6108
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6111
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5732
6114
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5736
6118
case $host_cpu in
5738
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
6120
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6123
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5741
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
6126
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5745
6130
if test "$with_gnu_ld" = no; then
6131
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6132
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5746
6134
case $host_cpu in
5748
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5749
6136
_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
5750
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5751
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5752
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5755
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5756
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5757
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5759
# hardcode_minus_L: Not really in the search PATH,
5760
# but as the default location of the library.
5761
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
6137
_LT_AC_TAGVAR(hardcode_direct, $1)=no
6138
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5764
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
5765
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
5766
6141
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5767
6142
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
5809
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5810
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5811
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5812
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5813
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
5814
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5815
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6184
if test -f /usr/libexec/ld.so; then
6185
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
6186
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6187
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6188
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6189
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6190
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6191
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6194
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6195
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6196
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6199
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6200
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5818
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
5819
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5820
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5823
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
5824
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6205
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5890
6261
case $host_os in
5891
6262
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
5893
# The compiler driver will combine linker options so we
5894
# cannot just pass the convience library names through
5895
# without $wl, iff we do not link with $LD.
5896
# Luckily, gcc supports the same syntax we need for Sun Studio.
6264
# The compiler driver will combine and reorder linker options,
6265
# but understands `-z linker_flag'. GCC discards it without `$wl',
6266
# but is careful enough not to reorder.
5897
6267
# Supported since Solaris 2.6 (maybe 2.5.1?)
5900
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
5902
_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' ;;
6268
if test "$GCC" = yes; then
6269
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
6271
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
5905
6275
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5961
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5962
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
5963
_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
5964
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5965
hardcode_runpath_var=yes
5966
runpath_var=LD_RUN_PATH
5969
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
5970
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
5971
if test "$GCC" = yes; then
5972
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5974
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5976
runpath_var='LD_RUN_PATH'
5977
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5981
_LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
5982
# $CC -shared without GNU ld will not create a library from C++
5983
# object files and a static libstdc++, better avoid it by now
5984
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5985
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5986
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5987
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
5988
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5989
runpath_var='LD_RUN_PATH'
6330
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6331
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6332
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6333
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6334
runpath_var='LD_RUN_PATH'
6336
if test "$GCC" = yes; then
6337
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6338
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6340
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6341
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6345
sysv5* | sco3.2v5* | sco5v6*)
6346
# Note: We can NOT use -z defs as we might desire, because we do not
6347
# link with -lc, and that would cause any symbols used from libc to
6348
# always be unresolved, which means just about no library would
6349
# ever link correctly. If we're not using GNU ld we use -z text
6350
# though, which does catch some bad symbols but isn't as heavy-handed
6352
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6353
_LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
6354
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6355
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6356
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
6357
_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
6358
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6359
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
6360
runpath_var='LD_RUN_PATH'
6362
if test "$GCC" = yes; then
6363
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6364
_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'
6366
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
6367
_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'
6130
6505
[AC_CHECK_TOOL(RC, windres, no)
6509
# Cheap backport of AS_EXECUTABLE_P and required macros
6510
# from Autoconf 2.59; we should not use $as_executable_p directly.
6514
m4_ifndef([_AS_TEST_PREPARE],
6515
[m4_defun([_AS_TEST_PREPARE],
6516
[if test -x / >/dev/null 2>&1; then
6517
as_executable_p='test -x'
6519
as_executable_p='test -f'
6521
])])# _AS_TEST_PREPARE
6525
# Check whether a file is executable.
6526
m4_ifndef([AS_EXECUTABLE_P],
6527
[m4_defun([AS_EXECUTABLE_P],
6528
[AS_REQUIRE([_AS_TEST_PREPARE])dnl
6529
$as_executable_p $1[]dnl
6530
])])# AS_EXECUTABLE_P
6133
6532
# NOTE: This macro has been submitted for inclusion into #
6134
6533
# GNU Autoconf as AC_PROG_SED. When it is available in #
6135
6534
# a released version of Autoconf we should remove this #