+1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on
+ alpha, x86 and sparc architectures by now, reverting to file_magic
+ at least on ARM, where it breaks.
+
1999-06-23 Thomas Tanner <tanner@ffii.org>
* NEWS: updated
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
- deplibs_check_method=pass_all
+
+ case "$host_cpu" in
+ alpha* | i*86 | sparc* )
+ deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+ esac
+ file_magic_cmd=/usr/bin/file
+ file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
if test -f /lib/ld.so.1; then
dynamic_linker='GNU ld.so'