libtool
[Top][All Lists]
Advanced

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

Re: libtool 1.4 failure on Solaris 8


From: Bruce Korb
Subject: Re: libtool 1.4 failure on Solaris 8
Date: Thu, 07 Jun 2001 11:07:19 -0700

This patch got me through the ugly ethereal build.
I applied them to "libtool", so obviously they need
to be applied to the ltmain.in file.  I do not know
if every one of these is strictly required, I started
getting impatient.  :-)

Regards,        
Bruce

$ gdiff -u libtool /tmp/LIBTOOL
--- libtool     Thu Jun  7 10:59:32 2001
+++ /tmp/LIBTOOL        Thu Jun  7 10:57:07 2001
@@ -720,7 +720,7 @@
       pic_mode=default
       ;;
     esac
-    if test $pic_mode = no && test "$deplibs_check_method" != pass_all;
then
+    if test X$pic_mode = Xno && test "$deplibs_check_method" !=
pass_all; then
       # non-PIC code in shared libraries is not supported
       pic_mode=default
     fi
@@ -739,7 +739,7 @@
 
     # Lock this critical section if it is needed
     # We use this script file to make the link, it avoids creating a
new file
-    if test "$need_locks" = yes; then
+    if test X"$need_locks" = Xyes; then
       until $run ln "$0" "$lockfile" 2>/dev/null; do
        $show "Waiting for $lockfile to be removed"
        sleep 2
@@ -2631,7 +2631,7 @@
          *) finalize_rpath="$finalize_rpath $libdir" ;;
          esac
        done
-       if test $hardcode_into_libs != yes || test $build_old_libs =
yes; then
+       if test X$hardcode_into_libs != Xyes || test $build_old_libs =
yes; then
          dependency_libs="$temp_xrpath $dependency_libs"
        fi
       fi
@@ -2656,7 +2656,7 @@
        esac
       done
 
-      if test "$build_libtool_libs" = yes; then
+      if test X"$build_libtool_libs" = Xyes; then
        if test -n "$rpath"; then
          case $host in
          *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
@@ -2671,7 +2671,7 @@
            ;;
          *)
            # Add libc to deplibs on all other systems if necessary.
-           if test $build_libtool_need_lc = "yes"; then
+           if test X$build_libtool_need_lc = "Xyes"; then
              deplibs="$deplibs -lc"
            fi
            ;;
@@ -2943,8 +2943,8 @@
       dlname=
 
       # Test again, we may have decided not to build it any more
-      if test "$build_libtool_libs" = yes; then
-       if test $hardcode_into_libs = yes; then
+      if test "X$build_libtool_libs" = Xyes; then
+       if test X$hardcode_into_libs = Xyes; then
          # Hardcode the library paths
          hardcode_libdirs=
          dep_rpath=



reply via email to

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