]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no,
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 25 Apr 1999 10:04:12 +0000 (10:04 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 25 Apr 1999 10:04:12 +0000 (10:04 +0000)
by unifying with irix6*.

ChangeLog
ltconfig.in

index 0aba91da0e7222a483b18f2a8ccbea0f1ea6ac70..f2cc08381875076f51caee57a309b7d795647254 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no,
+       by unifying with irix6*.
+
        * ltconfig.in (irix*, osf*, deplibs_check_method): Use pass_all.
 
        * ltconfig.in (old_LDFLAGS, old_LIBS): Save and write to comments
index 22a77f47be42f8219993b5d4f5bdaff12810e1f6..93705eca3dab0a5aeb33bedef5cb112f290a29d3 100755 (executable)
@@ -1745,30 +1745,28 @@ hpux9* | hpux10* | hpux11*)
   postinstall_cmds='chmod 555 $lib'
   ;;
 
-irix5*)
-  version_type=irix
-  soname_spec='${libname}${release}.so'
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
-  shlibpath_var=LD_LIBRARY_PATH
-  # this will be overridden with pass_all, but let us keep it just in case
-  deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
-  file_magic_cmd=/usr/bin/file
-  file_magic_test_file=`echo /lib/libc.so*`
-  deplibs_check_method='pass_all'
-  shlibpath_overrides_runpath=no
-  ;;
-
-irix6*)
+irix5* | irix6*)
   version_type=irix
   need_lib_prefix=no
   need_version=no
   soname_spec='${libname}${release}.so'
   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
-  case "$LD" in # libtool.m4 will add one of these switches to LD
-  *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
-  *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
-  *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
-  *) libsuff= shlibsuff= libmagic=never-match;;
+  case "$host_os" in
+  irix5*)
+    libsuff= shlibsuff=
+    # this will be overridden with pass_all, but let us keep it just in case
+    deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+    ;;
+  *)
+    case "$LD" in # libtool.m4 will add one of these switches to LD
+    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
+    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
+    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
+    *) libsuff= shlibsuff= libmagic=never-match;;
+    esac
+    # this will be overridden with pass_all, but let us keep it just in case
+    deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+    ;;
   esac
   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   shlibpath_overrides_runpath=no
@@ -1778,8 +1776,6 @@ irix6*)
   # there either
   sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
-  # this will be overridden with pass_all, but let us keep it just in case
-  deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
   file_magic_cmd=/usr/bin/file
   file_magic_test_file=`echo /lib${libsuff}/libc.so*`
   deplibs_check_method='pass_all'