libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] bsdi5 support, probably


From: Joe Orton
Subject: [PATCH] bsdi5 support, probably
Date: Thu, 22 Jul 2004 11:40:23 +0100
User-agent: Mutt/1.4.1i

An Apache tester reported that libtool can't build shared libraries on
BSD/OS 5 a while back but was not helpful in giving any details other
than "it doesn't work" or testing suggested changes.  I guess the below
is an OK change, I don't have access to such a platform so I can't test
it:

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.38
diff -u -r1.314.2.38 libtool.m4
--- libtool.m4  8 Jul 2004 13:43:59 -0000       1.314.2.38
+++ libtool.m4  22 Jul 2004 10:38:32 -0000
@@ -1182,7 +1182,7 @@
   shlibpath_var=LIBRARY_PATH
   ;;
 
-bsdi4*)
+bsdi[[45]]*)
   version_type=linux
   need_version=no
   library_names_spec='${libname}${release}${shared_ext}$versuffix 
${libname}${release}${shared_ext}$major $libname${shared_ext}'
@@ -2119,7 +2119,7 @@
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-bsdi4*)
+bsdi[[45]]*)
   lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB 
(shared object|dynamic lib)'
   lt_cv_file_magic_cmd='/usr/bin/file -L'
   lt_cv_file_magic_test_file=/shlib/libc.so
@@ -5351,7 +5351,7 @@
       _LT_AC_TAGVAR(ld_shlibs, $1)=no
       ;;
 
-    bsdi4*)
+    bsdi[[45]]*)
       _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
       ;;
 
Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.1220.2.108
diff -u -r1.1220.2.108 ChangeLog
--- ChangeLog   8 Jul 2004 13:43:38 -0000       1.1220.2.108
+++ ChangeLog   22 Jul 2004 10:38:32 -0000
@@ -1,3 +1,7 @@
+2004-07-22  Joe Orton  <address@hidden>
+
+       * libtool.m4: Treat bsdi5* like bsdi4*. 
+
 2004-07-08  Peter O'Gorman  <address@hidden>
 
        * libtool.m4 [darwin](AC_PROG_LD_RELOAD_FLAG): Use $CC -nostdlib -r




reply via email to

[Prev in Thread] Current Thread [Next in Thread]