aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/configure
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2004-11-30 00:38:57 +0000
committerBryce McKinlay <mckinlay@redhat.com>2004-11-30 00:38:57 +0000
commit8c611ca156eea15f64d03f4efa8aabde9497e518 (patch)
treea79c5437aaf5543dbb2ab0466e765c08b414b31e /boehm-gc/configure
parent4ec85584775b7e0ca0eb6e6634fe5acbec67d253 (diff)
2004-11-29 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/18699 Revert patches of 2004-11-26 and 2004-11-27. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91505 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-xboehm-gc/configure14
1 files changed, 10 insertions, 4 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure
index a3afdda9467..b950a0706c4 100755
--- a/boehm-gc/configure
+++ b/boehm-gc/configure
@@ -4317,7 +4317,14 @@ irix5* | irix6*)
# This must be Linux ELF.
linux-gnu*)
- lt_cv_deplibs_check_method=pass_all
+ case $host_cpu in
+ alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
netbsd* | knetbsd*-gnu)
@@ -4712,7 +4719,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4715 "configure"' > conftest.$ac_ext
+ echo '#line 4722 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -6580,7 +6587,7 @@ else
multilib_arg=
fi
- ac_config_headers="$ac_config_headers include/config.h include/gc_config.h"
+ ac_config_headers="$ac_config_headers include/gc_config.h"
ac_config_files="$ac_config_files Makefile include/Makefile"
@@ -7177,7 +7184,6 @@ do
"include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
"include/gc_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/gc_config.h" ;;
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}