bug-libtool
[Top][All Lists]
Advanced

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

FYI: sysv5 deplibs host_os wrong match order (was: autoconf 2.59 (libtoo


From: Ralf Wildenhues
Subject: FYI: sysv5 deplibs host_os wrong match order (was: autoconf 2.59 (libtool) bug)
Date: Tue, 6 Sep 2005 10:20:31 +0200
User-agent: Mutt/1.4.1i

Hi Roger,

* Roger Cornelius wrote on Tue, Sep 06, 2005 at 02:18:43AM CEST:
> 
> The problem is with matching sysv5UnixWare7.1.4 in $host_os.  The case
> for sysv5* is matched before the case for sysv5UnixWare7*.  This is also
> true for sysv5OpenUNIX8* and sysv5uw[78]* values of $host_os. 

Acknowledged.

> For libtiff and liblcms, this misidentification results in the
> $lt_cv_deplibs_check_method var being left in the default state of
> "unknown" rather than being set to "pass_all", and ultimately prevents
> the shared libraries from being built for those packages.

Yes.  I reckon that with your change, building works fine?
(I don't have access to machines matching this $host_os value.)

> Attached is a patch with enough context to exemplify the problem.  This
> is from the configure provided with liblcms.

Thank you for reporting this!  I have applied the patches below to
CVS HEAD and branch-1-5, respectively, to fix this issue.  The other
macros in libtool.m4 do not contain this bug.

Cheers,
Ralf

2005-09-06  Roger Cornelius  <address@hidden>

        * libltdl/m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD)
        [ sysv5OpenUNIX8, sysv5UnixWare7, sysv5uw[78], unixware7,
        sysv4*uw2* ]: Match special cases before general case.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.13
diff -u -r1.13 libtool.m4
--- libltdl/m4/libtool.m4       4 Sep 2005 16:32:41 -0000       1.13
+++ libltdl/m4/libtool.m4       6 Sep 2005 08:10:08 -0000
@@ -2817,6 +2817,10 @@
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   case $host_vendor in
   motorola)
@@ -2839,10 +2843,6 @@
     lt_cv_deplibs_check_method=pass_all
     ;;
   esac
-  ;;
-
-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
-  lt_cv_deplibs_check_method=pass_all
   ;;
 
 tpf*)




2005-09-06  Roger Cornelius  <address@hidden>

        * libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [ sysv5OpenUNIX8,
        sysv5UnixWare7, sysv5uw[78], unixware7, sysv4*uw2* ]:
        Match special cases before general case.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.106
diff -u -r1.314.2.106 libtool.m4
--- libtool.m4  1 Sep 2005 16:06:03 -0000       1.314.2.106
+++ libtool.m4  6 Sep 2005 08:11:10 -0000
@@ -2314,6 +2314,10 @@
   lt_cv_deplibs_check_method=pass_all
   ;;
 
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   case $host_vendor in
   motorola)
@@ -2336,10 +2340,6 @@
     lt_cv_deplibs_check_method=pass_all
     ;;
   esac
-  ;;
-
-sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
-  lt_cv_deplibs_check_method=pass_all
   ;;
 esac
 ])




reply via email to

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