|
@@ -1324,14 +1324,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
|
|
LD="${LD-ld} -m elf_i386_fbsd"
|
|
|
;;
|
|
|
x86_64-*linux*)
|
|
|
- case `/usr/bin/file conftest.o` in
|
|
|
- *x86-64*)
|
|
|
- LD="${LD-ld} -m elf32_x86_64"
|
|
|
- ;;
|
|
|
- *)
|
|
|
- LD="${LD-ld} -m elf_i386"
|
|
|
- ;;
|
|
|
- esac
|
|
|
+ LD="${LD-ld} -m elf_i386"
|
|
|
;;
|
|
|
ppc64-*linux*|powerpc64-*linux*)
|
|
|
LD="${LD-ld} -m elf32ppclinux"
|
|
@@ -1695,8 +1688,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
|
|
|
;;
|
|
|
*)
|
|
|
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
|
|
|
- if test -n "$lt_cv_sys_max_cmd_len" && \
|
|
|
- test undefined != "$lt_cv_sys_max_cmd_len"; then
|
|
|
+ if test -n "$lt_cv_sys_max_cmd_len"; then
|
|
|
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 \* 3`
|
|
|
else
|
|
@@ -2520,6 +2512,17 @@ freebsd* | dragonfly*)
|
|
|
esac
|
|
|
;;
|
|
|
|
|
|
+gnu*)
|
|
|
+ version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
+ need_lib_prefix=no
|
|
|
+ need_version=no
|
|
|
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
|
|
|
+ soname_spec='${libname}${release}${shared_ext}$major'
|
|
|
+ shlibpath_var=LD_LIBRARY_PATH
|
|
|
+ shlibpath_overrides_runpath=no
|
|
|
+ hardcode_into_libs=yes
|
|
|
+ ;;
|
|
|
+
|
|
|
haiku*)
|
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
need_lib_prefix=no
|
|
@@ -2636,7 +2639,7 @@ linux*oldld* | linux*aout* | linux*coff*)
|
|
|
;;
|
|
|
|
|
|
# This must be glibc/ELF.
|
|
|
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
version_type=linux # correct to gnu/linux during the next big refactor
|
|
|
need_lib_prefix=no
|
|
|
need_version=no
|
|
@@ -3252,6 +3255,10 @@ freebsd* | dragonfly*)
|
|
|
fi
|
|
|
;;
|
|
|
|
|
|
+gnu*)
|
|
|
+ lt_cv_deplibs_check_method=pass_all
|
|
|
+ ;;
|
|
|
+
|
|
|
haiku*)
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
;;
|
|
@@ -3290,7 +3297,7 @@ irix5* | irix6* | nonstopux*)
|
|
|
;;
|
|
|
|
|
|
# This must be glibc/ELF.
|
|
|
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
lt_cv_deplibs_check_method=pass_all
|
|
|
;;
|
|
|
|
|
@@ -4042,7 +4049,7 @@ m4_if([$1], [CXX], [
|
|
|
;;
|
|
|
esac
|
|
|
;;
|
|
|
- linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
case $cc_basename in
|
|
|
KCC*)
|
|
|
# KAI C++ Compiler
|
|
@@ -4341,7 +4348,7 @@ m4_if([$1], [CXX], [
|
|
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
|
|
|
;;
|
|
|
|
|
|
- linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
case $cc_basename in
|
|
|
# old Intel for x86_64 which still supported -KPIC.
|
|
|
ecc*)
|
|
@@ -6234,6 +6241,9 @@ if test "$_lt_caught_CXX_error" != yes; then
|
|
|
_LT_TAGVAR(ld_shlibs, $1)=yes
|
|
|
;;
|
|
|
|
|
|
+ gnu*)
|
|
|
+ ;;
|
|
|
+
|
|
|
haiku*)
|
|
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
|
|
_LT_TAGVAR(link_all_deplibs, $1)=yes
|
|
@@ -6395,7 +6405,7 @@ if test "$_lt_caught_CXX_error" != yes; then
|
|
|
_LT_TAGVAR(inherit_rpath, $1)=yes
|
|
|
;;
|
|
|
|
|
|
- linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
|
|
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
|
|
case $cc_basename in
|
|
|
KCC*)
|
|
|
# Kuck and Associates, Inc. (KAI) C++ Compiler
|