1016 |
# depend on `.', always an invalid library. This was fixed in |
# depend on `.', always an invalid library. This was fixed in |
1017 |
# development snapshots of GCC prior to 3.0. |
# development snapshots of GCC prior to 3.0. |
1018 |
case $host_os in |
case $host_os in |
1019 |
[ aix4 | aix4.[01] | aix4.[01].*)] |
aix4 | aix4.[[01]] | aix4.[[01]].*) |
1020 |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
1021 |
echo ' yes ' |
echo ' yes ' |
1022 |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
1297 |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
1298 |
file_magic_cmd=/usr/bin/file |
file_magic_cmd=/usr/bin/file |
1299 |
file_magic_test_file=`echo /usr/lib/libc.so.*` |
file_magic_test_file=`echo /usr/lib/libc.so.*` |
1300 |
if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then |
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" || test"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1301 |
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
[deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'] |
1302 |
else |
else |
1303 |
deplibs_check_method='file_magic OpenBSD.* shared library' |
deplibs_check_method='file_magic OpenBSD.* shared library' |
1304 |
fi |
fi |
1859 |
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
1860 |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
lt_cv_file_magic_cmd='/usr/bin/file -L' |
1861 |
case "$host_os" in |
case "$host_os" in |
1862 |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[[012]]) |
1863 |
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` |
1864 |
;; |
;; |
1865 |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
4755 |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no |
4756 |
|
|
4757 |
case "$host_os" in |
case "$host_os" in |
4758 |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) |
4759 |
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
4760 |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
4761 |
;; |
;; |
4762 |
*) |
*) |
4763 |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' |
4764 |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
4765 |
if [ "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc" ]; then |
if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
4766 |
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
4767 |
fi |
fi |
4768 |
;; |
;; |