]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
m4/libtool.m4: Add support for *-ironclad-gnu
authorMintsuki <mintsuki@protonmail.com>
Tue, 19 May 2026 03:03:33 +0000 (05:03 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Mon, 25 May 2026 17:18:54 +0000 (20:18 +0300)
The main Ironclad distribution, Gloire, has moved to using the
GNU C Library as its libc. Add support for that.

Reported: https://savannah.gnu.org/patch/?10571

m4/libtool.m4

index 84a34a1281d799f3871825c418cba17c2f14fdbd..a600880d17bbdd7eeb356eb197f344f204064a49 100644 (file)
@@ -3047,7 +3047,7 @@ linux*android*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
@@ -3802,7 +3802,7 @@ irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -4629,7 +4629,7 @@ m4_if([$1], [CXX], [
        ;;
       *-mlibc)
        ;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+      linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        case $cc_basename in
          KCC*)
            # KAI C++ Compiler
@@ -4961,7 +4961,7 @@ m4_if([$1], [CXX], [
       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
       ;;
 
-    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
+    linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
       case $cc_basename in
       # old Intel for x86_64, which still supported -KPIC.
       ecc*)
@@ -5469,7 +5469,7 @@ _LT_EOF
        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu)
       tmp_diet=no
       if test linux-dietlibc = "$host_os"; then
        case $cc_basename in
@@ -7247,7 +7247,7 @@ if test yes != "$_lt_caught_CXX_error"; then
         _LT_TAGVAR(ld_shlibs, $1)=yes
        ;;
 
-      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
+      linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
         case $cc_basename in
           KCC*)
            # Kuck and Associates, Inc. (KAI) C++ Compiler