1041
1043
lt_cv_sys_max_cmd_len=8192;
1047
# On AmigaOS with pdksh, this test takes hours, literally.
1048
# So we just punt and use a minimum line length of 8192.
1049
lt_cv_sys_max_cmd_len=8192;
1045
1053
# If test is not a shell built-in, we'll probably end up computing a
1046
1054
# maximum length that is only half of the actual maximum length, but
1047
1055
# we can't tell.
1048
while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
1049
= "XX$testring") >/dev/null 2>&1 &&
1050
new_result=`expr "X$testring" : ".*" 2>&1` &&
1056
while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
1057
= "XX$teststring") >/dev/null 2>&1 &&
1058
new_result=`expr "X$teststring" : ".*" 2>&1` &&
1051
1059
lt_cv_sys_max_cmd_len=$new_result &&
1052
1060
test $i != 17 # 1/2 MB should be enough
1054
1062
i=`expr $i + 1`
1055
testring=$testring$testring
1063
teststring=$teststring$teststring
1058
1066
# Add a significant safety factor because C++ compilers can tack on massive
1059
1067
# amounts of additional arguments before passing them to the linker.
1060
1068
# It appears as though 1/2 is a usable value.
1628
1632
version_type=darwin
1629
1633
need_lib_prefix=no
1630
1634
need_version=no
1631
# FIXME: Relying on posixy $() will cause problems for
1632
# cross-compilation, but unfortunately the echo tests do not
1633
# yet detect zsh echo's removal of \ escapes.
1634
1635
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1635
1636
soname_spec='${libname}${release}${major}$shared_ext'
1636
1637
shlibpath_overrides_runpath=yes
1637
1638
shlibpath_var=DYLD_LIBRARY_PATH
1638
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
1639
shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1639
1640
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1640
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
1641
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"`
1641
if test "$GCC" = yes; then
1642
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"`
1644
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1643
1646
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1806
1827
# people can always --disable-shared, the test was removed, and we
1807
1828
# assume the GNU/Linux dynamic linker is in use.
1808
1829
dynamic_linker='GNU/Linux ld.so'
1810
# Find out which ABI we are using (multilib Linux x86_64 hack).
1813
x86_64*|s390x*|powerpc64*)
1814
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1815
if AC_TRY_EVAL(ac_compile); then
1816
case `/usr/bin/file conftest.$ac_objext` in
1827
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
1828
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
1836
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1837
soname_spec='${libname}${release}${shared_ext}$major'
1838
shlibpath_var=LD_LIBRARY_PATH
1839
shlibpath_overrides_runpath=no
1840
hardcode_into_libs=yes
1841
dynamic_linker='GNU ld.so'
2476
2489
lt_cv_file_magic_test_file=/shlib/libc.so
2479
cygwin* | mingw* | pw32*)
2480
# win32_libid is a shell function defined in ltmain.sh
2493
# func_win32_libid is a shell function defined in ltmain.sh
2481
2494
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2482
lt_cv_file_magic_cmd='win32_libid'
2495
lt_cv_file_magic_cmd='func_win32_libid'
2499
# Base MSYS/MinGW do not provide the 'file' command needed by
2500
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
2501
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2502
lt_cv_file_magic_cmd='$OBJDUMP -f'
2485
2505
darwin* | rhapsody*)
2486
# this will be overwritten by pass_all, but leave it in just in case
2487
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2488
lt_cv_file_magic_cmd='/usr/bin/file -L'
2490
rhapsody* | darwin1.[[012]])
2491
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
2494
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2497
2506
lt_cv_deplibs_check_method=pass_all
2509
freebsd* | kfreebsd*-gnu)
2501
2510
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2502
2511
case $host_cpu in
2538
2547
irix5* | irix6* | nonstopux*)
2540
irix5* | nonstopux*)
2541
# this will be overridden with pass_all, but let us keep it just in case
2542
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2546
*-32|*"-32 ") libmagic=32-bit;;
2547
*-n32|*"-n32 ") libmagic=N32;;
2548
*-64|*"-64 ") libmagic=64-bit;;
2549
*) libmagic=never-match;;
2551
# this will be overridden with pass_all, but let us keep it just in case
2552
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
2549
*-32|*"-32 ") libmagic=32-bit;;
2550
*-n32|*"-n32 ") libmagic=N32;;
2551
*-64|*"-64 ") libmagic=64-bit;;
2552
*) libmagic=never-match;;
2555
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2556
2554
lt_cv_deplibs_check_method=pass_all
2559
2557
# This must be Linux ELF.
2562
alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)
2563
lt_cv_deplibs_check_method=pass_all ;;
2565
# glibc up to 2.1.1 does not perform some relocations on ARM
2566
lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
2568
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2559
lt_cv_deplibs_check_method=pass_all
2562
netbsd* | knetbsd*-gnu)
2572
2563
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2573
2564
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2925
2912
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2926
2913
test "$enable_shared" = yes && enable_static=no
2929
2916
darwin* | rhapsody*)
2930
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
2917
if test "$GCC" = yes; then
2931
2918
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2932
2919
case "$host_os" in
2933
2920
rhapsody* | darwin1.[[012]])
2934
2921
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
2936
2923
*) # Darwin 1.3 on
2937
test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2924
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
2925
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2927
case ${MACOSX_DEPLOYMENT_TARGET} in
2929
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
2932
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
2940
# FIXME: Relying on posixy $() will cause problems for
2941
# cross-compilation, but unfortunately the echo tests do not
2942
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
2943
# `"' quotes if we put them in here... so don't!
2944
output_verbose_link_cmd='echo'
2938
output_verbose_link_cmd='echo'
2945
2939
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
2946
_LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
2940
_LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2947
2941
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2948
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2949
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2942
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
2943
_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}'
2950
2944
_LT_AC_TAGVAR(hardcode_direct, $1)=no
2951
2945
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2952
2946
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2953
2947
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
2954
2948
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2950
_LT_AC_TAGVAR(ld_shlibs, $1)=no
2958
2954
AC_MSG_RESULT([$enable_shared])
3257
3253
darwin* | rhapsody*)
3258
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
3254
if test "$GXX" = yes; then
3259
3255
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3260
3256
case "$host_os" in
3261
3257
rhapsody* | darwin1.[[012]])
3262
3258
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3264
3260
*) # Darwin 1.3 on
3265
test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3261
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3262
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3264
case ${MACOSX_DEPLOYMENT_TARGET} in
3266
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
3269
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3268
lt_int_apple_cc_single_mod=no
3269
output_verbose_link_cmd='echo'
3270
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3271
lt_int_apple_cc_single_mod=yes
3273
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3274
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3276
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3278
_LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
3275
lt_int_apple_cc_single_mod=no
3276
output_verbose_link_cmd='echo'
3277
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3278
lt_int_apple_cc_single_mod=yes
3280
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3281
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3283
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3285
_LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3280
3287
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3281
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3282
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3284
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3286
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3288
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3289
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3291
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3293
_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}'
3287
3294
_LT_AC_TAGVAR(hardcode_direct, $1)=no
3288
3295
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3289
3296
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3290
3297
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3291
3298
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3300
_LT_AC_TAGVAR(ld_shlibs, $1)=no
5722
5740
darwin* | rhapsody*)
5723
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
5741
if test "$GXX" = yes ; then
5724
5742
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5725
5743
case "$host_os" in
5726
5744
rhapsody* | darwin1.[[012]])
5727
5745
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
5729
5747
*) # Darwin 1.3 on
5730
test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5748
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
5749
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5751
case ${MACOSX_DEPLOYMENT_TARGET} in
5753
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
5756
_LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
5733
# FIXME: Relying on posixy $() will cause problems for
5734
# cross-compilation, but unfortunately the echo tests do not
5735
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
5736
# `"' quotes if we put them in here... so don't!
5737
5762
lt_int_apple_cc_single_mod=no
5738
5763
output_verbose_link_cmd='echo'
5739
5764
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
5745
5770
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
5747
_LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
5772
_LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5748
5773
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
5749
5774
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5750
5775
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5752
5777
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5754
_LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5779
_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}'
5755
5780
_LT_AC_TAGVAR(hardcode_direct, $1)=no
5756
5781
_LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5757
5782
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5758
5783
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
5759
5784
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5786
_LT_AC_TAGVAR(ld_shlibs, $1)=no
6580
6609
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6581
6610
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6582
6611
# icc doesn't choke on unknown options, it will just issue warnings
6583
# (even with -Werror). So we grep stderr for any message
6584
# that says an option was ignored.
6585
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
6612
# or remarks (even with -Werror). So we grep stderr for any message
6613
# that says an option was ignored or not supported.
6614
# When given -MP, icc 7.0 and 7.1 complain thusly:
6615
# icc: Command line warning: ignoring option '-M'; no argument required
6616
# The diagnosis changed in icc 8.0:
6617
# icc: Command line remark: option '-MP' not supported
6618
if (grep 'ignoring option' conftest.err ||
6619
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6586
6620
am_cv_$1_dependencies_compiler_type=$depmode
7098
7132
# Do not use -m 0755 and let people choose whatever they expect by
7099
7133
# setting umask.
7135
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
7136
# Some implementations (such as Solaris 8's) are not thread-safe: if a
7137
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
7138
# concurrently, both version can detect that a/ is missing, but only
7139
# one can create it and the other will error out. Consequently we
7140
# restrict ourselves to GNU make (using the --version option ensures
7100
7142
AC_DEFUN([AM_PROG_MKDIR_P],
7101
[if mkdir -p -- . 2>/dev/null; then
7143
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7102
7144
# Keeping the `.' argument allows $(mkdir_p) to be used without
7103
7145
# argument. Indeed, we sometimes output rules like
7104
7146
# $(mkdir_p) $(somedir)