669 |
lt_cv_sys_max_cmd_len=8192; |
lt_cv_sys_max_cmd_len=8192; |
670 |
;; |
;; |
671 |
|
|
672 |
netbsd* | freebsd* | openbsd* | darwin* ) |
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
673 |
# This has been around since 386BSD, at least. Likely further. |
# This has been around since 386BSD, at least. Likely further. |
674 |
if test -x /sbin/sysctl; then |
if test -x /sbin/sysctl; then |
675 |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
681 |
# And add a safety zone |
# And add a safety zone |
682 |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
683 |
;; |
;; |
684 |
|
osf*) |
685 |
*) |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
686 |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
687 |
|
# nice to cause kernel panics so lets avoid the loop below. |
688 |
|
# First set a reasonable default. |
689 |
|
lt_cv_sys_max_cmd_len=16384 |
690 |
|
# |
691 |
|
if test -x /sbin/sysconfig; then |
692 |
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
693 |
|
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
694 |
|
esac |
695 |
|
fi |
696 |
|
;; |
697 |
|
*) |
698 |
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
699 |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
700 |
# we can't tell. |
# we can't tell. |
1259 |
;; |
;; |
1260 |
pw32*) |
pw32*) |
1261 |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
1262 |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
1263 |
;; |
;; |
1264 |
esac |
esac |
1265 |
;; |
;; |
1317 |
dynamic_linker='GNU ld.so' |
dynamic_linker='GNU ld.so' |
1318 |
;; |
;; |
1319 |
|
|
1320 |
freebsd*) |
freebsd* | dragonfly*) |
1321 |
|
# DragonFly does not have aout. When/if they implement a new |
1322 |
|
# versioning mechanism, adjust this. |
1323 |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
1324 |
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
1325 |
case $version_type in |
case $version_type in |
1338 |
freebsd2*) |
freebsd2*) |
1339 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
1340 |
;; |
;; |
1341 |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.[[01]]* | freebsdelf3.[[01]]*) |
1342 |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
1343 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
1344 |
;; |
;; |
1464 |
|
|
1465 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
1466 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
1467 |
lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
1468 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
1469 |
fi |
fi |
1470 |
|
|
1694 |
case $tagname in |
case $tagname in |
1695 |
CXX) |
CXX) |
1696 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
1697 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
1698 |
(test "X$CXX" != "Xg++"))) ; then |
(test "X$CXX" != "Xg++"))) ; then |
1699 |
AC_LIBTOOL_LANG_CXX_CONFIG |
AC_LIBTOOL_LANG_CXX_CONFIG |
1700 |
else |
else |
2165 |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
2166 |
;; |
;; |
2167 |
|
|
2168 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
2169 |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
2170 |
case $host_cpu in |
case $host_cpu in |
2171 |
i*86 ) |
i*86 ) |
2172 |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
2173 |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
2174 |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' |
2175 |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
2176 |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
2177 |
;; |
;; |
2440 |
[ |
[ |
2441 |
AC_REQUIRE([AC_PROG_CXX]) |
AC_REQUIRE([AC_PROG_CXX]) |
2442 |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
2443 |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
2444 |
(test "X$CXX" != "Xg++"))) ; then |
(test "X$CXX" != "Xg++"))) ; then |
2445 |
AC_PROG_CXXCPP |
AC_PROG_CXXCPP |
2446 |
fi |
fi |
2777 |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
2778 |
|
|
2779 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
2780 |
case $host_os in aix4.[012]|aix4.[012].*) |
case $host_os in aix4.[[012]]|aix4.[[012]].*) |
2781 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
2782 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
2783 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
2798 |
fi |
fi |
2799 |
esac |
esac |
2800 |
shared_flag='-shared' |
shared_flag='-shared' |
2801 |
|
if test "$aix_use_runtimelinking" = yes; then |
2802 |
|
shared_flag="$shared_flag "'${wl}-G' |
2803 |
|
fi |
2804 |
else |
else |
2805 |
# not using gcc |
# not using gcc |
2806 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
2964 |
;; |
;; |
2965 |
esac |
esac |
2966 |
;; |
;; |
2967 |
freebsd[12]*) |
freebsd[[12]]*) |
2968 |
# C++ shared libraries reported to be fairly broken before switch to ELF |
# C++ shared libraries reported to be fairly broken before switch to ELF |
2969 |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
2970 |
;; |
;; |
2971 |
freebsd-elf*) |
freebsd-elf*) |
2972 |
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
2973 |
;; |
;; |
2974 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
2975 |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
2976 |
# conventions |
# conventions |
2977 |
_LT_AC_TAGVAR(ld_shlibs, $1)=yes |
_LT_AC_TAGVAR(ld_shlibs, $1)=yes |
3002 |
# explicitly linking system object files so we need to strip them |
# explicitly linking system object files so we need to strip them |
3003 |
# from the output so that they don't get included in the library |
# from the output so that they don't get included in the library |
3004 |
# dependencies. |
# dependencies. |
3005 |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' |
3006 |
;; |
;; |
3007 |
*) |
*) |
3008 |
if test "$GXX" = yes; then |
if test "$GXX" = yes; then |
3160 |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
3161 |
;; |
;; |
3162 |
*) # Version 8.0 or newer |
*) # Version 8.0 or newer |
3163 |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
tmp_idyn= |
3164 |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
case $host_cpu in |
3165 |
|
ia64*) tmp_idyn=' -i_dynamic';; |
3166 |
|
esac |
3167 |
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
3168 |
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
3169 |
;; |
;; |
3170 |
esac |
esac |
3171 |
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
3173 |
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
3174 |
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
3175 |
;; |
;; |
3176 |
|
pgCC) |
3177 |
|
# Portland Group C++ compiler |
3178 |
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
3179 |
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
3180 |
|
|
3181 |
|
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
3182 |
|
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
3183 |
|
;; |
3184 |
cxx) |
cxx) |
3185 |
# Compaq C++ |
# Compaq C++ |
3186 |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
3419 |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
3420 |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
3421 |
case $host_os in |
case $host_os in |
3422 |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; |
3423 |
*) |
*) |
3424 |
# The C++ compiler is used as linker so we must use $wl |
# The C++ compiler is used as linker so we must use $wl |
3425 |
# flag to pass the commands to the underlying system |
# flag to pass the commands to the underlying system |
3796 |
lt_simple_compile_test_code="class foo {}\n" |
lt_simple_compile_test_code="class foo {}\n" |
3797 |
|
|
3798 |
# Code to be used in simple link tests |
# Code to be used in simple link tests |
3799 |
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' |
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n' |
3800 |
|
|
3801 |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
# ltmain only uses $CC for tagged configurations so make sure $CC is set. |
3802 |
_LT_AC_SYS_COMPILER |
_LT_AC_SYS_COMPILER |
4038 |
# The host system. |
# The host system. |
4039 |
host_alias=$host_alias |
host_alias=$host_alias |
4040 |
host=$host |
host=$host |
4041 |
|
host_os=$host_os |
4042 |
|
|
4043 |
|
# The build system. |
4044 |
|
build_alias=$build_alias |
4045 |
|
build=$build |
4046 |
|
build_os=$build_os |
4047 |
|
|
4048 |
# An echo program that does not interpret backslashes. |
# An echo program that does not interpret backslashes. |
4049 |
echo=$lt_echo |
echo=$lt_echo |
4394 |
# Regexp to match symbols that can be accessed directly from C. |
# Regexp to match symbols that can be accessed directly from C. |
4395 |
sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' |
sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' |
4396 |
|
|
|
# Transform the above into a raw symbol and a C symbol. |
|
|
symxfrm='\1 \2\3 \3' |
|
|
|
|
4397 |
# Transform an extracted symbol line into a proper C declaration |
# Transform an extracted symbol line into a proper C declaration |
4398 |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
4399 |
|
|
4453 |
# Try without a prefix undercore, then with it. |
# Try without a prefix undercore, then with it. |
4454 |
for ac_symprfx in "" "_"; do |
for ac_symprfx in "" "_"; do |
4455 |
|
|
4456 |
|
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
4457 |
|
symxfrm="\\1 $ac_symprfx\\2 \\2" |
4458 |
|
|
4459 |
# Write the raw and C identifiers. |
# Write the raw and C identifiers. |
4460 |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
4461 |
|
|
4462 |
# Check to see that the pipe works correctly. |
# Check to see that the pipe works correctly. |
4463 |
pipe_works=no |
pipe_works=no |
4675 |
;; |
;; |
4676 |
esac |
esac |
4677 |
;; |
;; |
4678 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
4679 |
# FreeBSD uses GNU C++ |
# FreeBSD uses GNU C++ |
4680 |
;; |
;; |
4681 |
hpux9* | hpux10* | hpux11*) |
hpux9* | hpux10* | hpux11*) |
4721 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' |
4722 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
4723 |
;; |
;; |
4724 |
icpc) |
icpc* | ecpc*) |
4725 |
# Intel C++ |
# Intel C++ |
4726 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4727 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4728 |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
4729 |
;; |
;; |
4730 |
|
pgCC) |
4731 |
|
# Portland Group C++ compiler. |
4732 |
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4733 |
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' |
4734 |
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
4735 |
|
;; |
4736 |
cxx) |
cxx) |
4737 |
# Compaq C++ |
# Compaq C++ |
4738 |
# Make sure the PIC flag is empty. It appears that all Alpha |
# Make sure the PIC flag is empty. It appears that all Alpha |
4966 |
;; |
;; |
4967 |
|
|
4968 |
linux*) |
linux*) |
4969 |
case $CC in |
case $cc_basename in |
4970 |
icc* | ecc*) |
icc* | ecc*) |
4971 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4972 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4973 |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
4974 |
;; |
;; |
4975 |
|
pgcc | pgf77 | pgf90) |
4976 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
4977 |
|
# which looks to be a dead project) |
4978 |
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4979 |
|
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' |
4980 |
|
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
4981 |
|
;; |
4982 |
ccc*) |
ccc*) |
4983 |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4984 |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
5023 |
fi |
fi |
5024 |
;; |
;; |
5025 |
|
|
5026 |
|
unicos*) |
5027 |
|
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
5028 |
|
_LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no |
5029 |
|
;; |
5030 |
|
|
5031 |
uts4*) |
uts4*) |
5032 |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' |
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' |
5033 |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
5088 |
_LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" |
_LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" |
5089 |
;; |
;; |
5090 |
cygwin* | mingw*) |
cygwin* | mingw*) |
5091 |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' |
5092 |
;; |
;; |
5093 |
*) |
*) |
5094 |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
5201 |
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported |
5202 |
_LT_AC_TAGVAR(always_export_symbols, $1)=no |
_LT_AC_TAGVAR(always_export_symbols, $1)=no |
5203 |
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
5204 |
_LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' |
_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' |
5205 |
|
|
5206 |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
5207 |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
5215 |
fi~ |
fi~ |
5216 |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
5217 |
else |
else |
5218 |
ld_shlibs=no |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
5219 |
fi |
fi |
5220 |
;; |
;; |
5221 |
|
|
5259 |
|
|
5260 |
linux*) |
linux*) |
5261 |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
5262 |
tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
tmp_addflag= |
5263 |
_LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds" |
case $CC,$host_cpu in |
5264 |
|
pgf77* | pgf90* ) # Portland Group f77 and f90 compilers |
5265 |
|
tmp_addflag=' -fpic' ;; |
5266 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
5267 |
|
tmp_addflag=' -i_dynamic' ;; |
5268 |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
5269 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
5270 |
|
ifc* | ifort*) # Intel Fortran compiler |
5271 |
|
tmp_addflag=' -nofor_main' ;; |
5272 |
|
esac |
5273 |
|
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
5274 |
supports_anon_versioning=no |
supports_anon_versioning=no |
5275 |
case `$LD -v 2>/dev/null` in |
case `$LD -v 2>/dev/null` in |
5276 |
*\ [01].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
5277 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
5278 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
5279 |
*\ 2.11.*) ;; # other 2.11 versions |
*\ 2.11.*) ;; # other 2.11 versions |
5283 |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ |
5284 |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
5285 |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
5286 |
$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
5287 |
else |
else |
5288 |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds" |
_LT_AC_TAGVAR(archive_expsym_cmds, $1)=$_LT_AC_TAGVAR(archive_cmds, $1) |
5289 |
fi |
fi |
5290 |
else |
else |
5291 |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
_LT_AC_TAGVAR(ld_shlibs, $1)=no |
5375 |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
5376 |
|
|
5377 |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
5378 |
case $host_os in aix4.[012]|aix4.[012].*) |
case $host_os in aix4.[[012]]|aix4.[[012]].*) |
5379 |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
5380 |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
5381 |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
5396 |
fi |
fi |
5397 |
esac |
esac |
5398 |
shared_flag='-shared' |
shared_flag='-shared' |
5399 |
|
if test "$aix_use_runtimelinking" = yes; then |
5400 |
|
shared_flag="$shared_flag "'${wl}-G' |
5401 |
|
fi |
5402 |
else |
else |
5403 |
# not using gcc |
# not using gcc |
5404 |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
5478 |
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' |
_LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' |
5479 |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
5480 |
_LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' |
_LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' |
5481 |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
_LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' |
5482 |
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
5483 |
;; |
;; |
5484 |
|
|
5562 |
;; |
;; |
5563 |
|
|
5564 |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
5565 |
freebsd* | kfreebsd*-gnu) |
freebsd* | kfreebsd*-gnu | dragonfly*) |
5566 |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
5567 |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
5568 |
_LT_AC_TAGVAR(hardcode_direct, $1)=yes |
_LT_AC_TAGVAR(hardcode_direct, $1)=yes |
5751 |
case $host_os in |
case $host_os in |
5752 |
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; |
solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; |
5753 |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
5754 |
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; |
_LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; |
5755 |
esac |
esac |
5756 |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
_LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
5757 |
;; |
;; |
6012 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
6013 |
# along with /bin/sed that truncates output. |
# along with /bin/sed that truncates output. |
6014 |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
6015 |
test ! -f $lt_ac_sed && break |
test ! -f $lt_ac_sed && continue |
6016 |
cat /dev/null > conftest.in |
cat /dev/null > conftest.in |
6017 |
lt_ac_count=0 |
lt_ac_count=0 |
6018 |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |