[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add support for Unleashed
From: |
Lauri Tirkkonen |
Subject: |
[PATCH] Add support for Unleashed |
Date: |
Fri, 4 Jan 2019 13:20:28 +0200 |
* libtool.m4: Recognize Unleashed.
* libltdl.m4: Likewise.
---
NEWS | 4 ++++
m4/libtool.m4 | 19 +++++++++++++++++--
m4/ltdl.m4 | 3 +++
3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 5fcc804f..5e33ae9f 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,10 @@ NEWS - list of user-visible changes between releases of GNU
Libtool
- Libtool changed ARFLAGS/AR_FLAGS default from 'cru' to 'cr'.
+** Changes in supported systems or compilers:
+
+ - Support for Unleashed added.
+
** Bug fixes:
- Fix significant slowdown of libtoolize for certain projects (regression
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index b55a6e57..f68f54ea 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3096,6 +3096,15 @@ tpf*)
hardcode_into_libs=yes
;;
+unleashed*)
+ version_type=linux # correct to gnu/linux during the next big refactor
+ need_version=no
+ library_names_spec='$libname$release$shared_ext$versuffix
$libname$release$shared_ext$major $libname$shared_ext'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
uts4*)
version_type=linux # correct to gnu/linux during the next big refactor
library_names_spec='$libname$release$shared_ext$versuffix
$libname$release$shared_ext$major $libname$shared_ext'
@@ -3606,6 +3615,10 @@ solaris*)
lt_cv_deplibs_check_method=pass_all
;;
+unleashed*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -4526,6 +4539,8 @@ m4_if([$1], [CXX], [
;;
esac
;;
+ unleashed*)
+ ;;
vxworks*)
;;
*)
@@ -5918,7 +5933,7 @@ _LT_EOF
_LT_TAGVAR(hardcode_libdir_separator, $1)=:
;;
- solaris*)
+ solaris* | unleashed*)
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
if test yes = "$GCC"; then
wlarc='$wl'
@@ -7258,7 +7273,7 @@ if test yes != "$_lt_caught_CXX_error"; then
esac
;;
- solaris*)
+ solaris* | unleashed*)
case $cc_basename in
CC* | sunCC*)
# Sun C++ 4.2, 5.x and Centerline C++
diff --git a/m4/ltdl.m4 b/m4/ltdl.m4
index 6ad6ff69..4890c905 100644
--- a/m4/ltdl.m4
+++ b/m4/ltdl.m4
@@ -533,6 +533,9 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
libltdl_cv_sys_dlopen_deplibs=yes
;;
+ unleashed*)
+ lt_cv_sys_dlopen_deplibs=yes
+ ;;
esac
])
if test yes != "$lt_cv_sys_dlopen_deplibs"; then
--
2.14.2
- [PATCH] Add support for Unleashed,
Lauri Tirkkonen <=