]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From Tom Bates <Tom.Bates@compaq.com>:
authorGary V. Vaughan <gary@gnu.org>
Sun, 28 Oct 2001 12:01:43 +0000 (12:01 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 28 Oct 2001 12:01:43 +0000 (12:01 +0000)
* libtool.m4 [mips-compaq-nonstopux]: New port.
* ltmain.in [mips-compaq-nonstopux]: Support
$version_type == nonstopux.
* NEWS: Updated.

ChangeLog
NEWS
libtool.m4
ltmain.in

index df86d81b513bd55a6261abe53b4ca6b0503059dd..f6b1b535ff9128214472ebc6cb0282a55f58dfe0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-10-28  Gary V. Vaughan  <gary@gnu.org>
+
+       From Tom Bates  <Tom.Bates@compaq.com>:
+       * libtool.m4 [mips-compaq-nonstopux]: New port.
+       * ltmain.in [mips-compaq-nonstopux]: Support
+       $version_type == nonstopux.
+       * NEWS: Updated.
+
 2001-10-28  Albert Chin-A-Young <china@thewrittenword.com>
 
        * libltdl/ltdl.c (foreach_dirinpath): change some types to size_t
diff --git a/NEWS b/NEWS
index 1432eed441250c096a72faeb14491e98a93408e4..b1625f2f504c096de9aae3494dfe59c444c2e482 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 New in 1.4.3: 2001-??-??; CVS version 1.4.2a, ???:
 * The libltdl subdirectory now bootstraps correctly with Automake 1.5.
 * srcdir != builddir builds with Automake 1.5 work correctly.
+* Support for mips-compaq-nonstopux.
 \f
 New in 1.4.2: 2001-09-11; CVS version 1.4.1a, Gary V. Vaughan:
 * libltdl now builds on solaris again
index ce187e6411c5dd5fa586f6859c15106a1f00f42a..c4229fc822c0162b8b91957ebc30edc440807dfe 100644 (file)
@@ -216,7 +216,7 @@ hpux*) # Its linker distinguishes data from code symbols
   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   ;;
-irix*)
+irix* | nonstopux*)
   symcode='[[BCDEGRST]]'
   ;;
 solaris* | sysv5*)
@@ -865,7 +865,7 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
       # like `-m68040'.
       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
       ;;
-    beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
+    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
       # PIC is the default for these OSes.
       ;;
     darwin* | rhapsody*)
@@ -908,7 +908,7 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
       lt_cv_prog_cc_pic='+Z'
       ;;
 
-    irix5* | irix6*)
+    irix5* | irix6* | nonstopux*)
       lt_cv_prog_cc_wl='-Wl,'
       lt_cv_prog_cc_static='-non_shared'
       # PIC (with -KPIC) is the default.
@@ -1633,7 +1633,7 @@ else
     export_dynamic_flag_spec='${wl}-E'
     ;;
 
-  irix5* | irix6*)
+  irix5* | irix6* | nonstopux*)
     if test "$GCC" = yes; then
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     else
@@ -2116,14 +2116,17 @@ hpux9* | hpux10* | hpux11*)
   postinstall_cmds='chmod 555 $lib'
   ;;
 
-irix5* | irix6*)
-  version_type=irix
+irix5* | irix6* | nonstopux*)
+  case $host_os in
+    nonstopux*) version_type=nonstopux ;;
+    *)          version_type=irix ;;
+  esac
   need_lib_prefix=no
   need_version=no
   soname_spec='${libname}${release}.so$major'
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
   case $host_os in
-  irix5*)
+  irix5* | nonstopux*)
     libsuff= shlibsuff=
     ;;
   *)
@@ -3349,9 +3352,9 @@ hpux10.20*|hpux11*)
   lt_cv_file_magic_test_file=/usr/lib/libc.sl
   ;;
 
-irix5* | irix6*)
+irix5* | irix6* | nonstopux*)
   case $host_os in
-  irix5*)
+  irix5* | nonstopux*)
     # this will be overridden with pass_all, but let us keep it just in case
     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
     ;;
index 1d004ad98d48b97dd574aef89502031410d0e1d3..e65d75eef5a877fe6479316ad05e706af0d539f4 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -992,7 +992,7 @@ compiler."
       # so, if we see these flags be careful not to treat them like -L
       -L[A-Z][A-Z]*:*)
        case $with_gcc/$host in
-       no/*-*-irix*)
+       no/*-*-irix* | no/*-*-nonstopux*)
          compile_command="$compile_command $arg"
          finalize_command="$finalize_command $arg"
          ;;
@@ -2273,16 +2273,21 @@ compiler."
          versuffix=".$current";
          ;;
 
-       irix)
+       irix | nonstopux)
+         case $version_type in
+           nonstopux) verstring_prefix=nonstopux ;;
+           *)         verstring_prefix=sgi ;;
+         esac
+         verstring="$verstring_prefix$major.$revision"
+
          major=`expr $current - $age + 1`
-         verstring="sgi$major.$revision"
 
          # Add in all the interfaces that we are compatible with.
          loop=$revision
          while test $loop != 0; do
            iface=`expr $revision - $loop`
            loop=`expr $loop - 1`
-           verstring="sgi$major.$iface:$verstring"
+           verstring="$verstring_prefix$major.$iface:$verstring"
          done
 
          # Before this point, $major must not contain `.'.