Hey, i've noticed some people saying on IRC and randomly throughout the web
in places that the whole:

"link.sh: We don't need libXt!"
"link.sh: Removing libXt!"

thing is a bit scary if you're new to compiling vim or compiling stuff on
linux in general because you might think its actually going to remove libxt
from your whole system. Because of this, I have attached a very simple patch
to change the link.sh echos to say delinking instead of removing which
sounds quite a bit less scary.

Regards,
JD

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
diff -r 74c8bba1d9e8 src/link.sh
--- a/src/link.sh       Mon May 17 22:07:47 2010 +0200
+++ b/src/link.sh       Tue May 18 05:15:16 2010 -0400
@@ -46,7 +46,7 @@
       while test -n "$cont"; do
         if grep "l$libname " linkit.sh >/dev/null; then
           if test ! -f link1.sed; then
-            echo "link.sh: OK, linking works, let's try removing a few 
libraries."
+            echo "link.sh: OK, linking works, let's try delinking a few 
libraries."
             echo "link.sh: See auto/link.log for details."
             rm -f auto/link.log
           fi
@@ -55,12 +55,12 @@
           sed -f link1.sed <linkit2.sh >linkit.sh
           # keep the last -lm
           if test $libname != "m" || grep "lm " linkit.sh >/dev/null; then
-            echo "link.sh: Trying to remove the $libname library..."
+            echo "link.sh: Trying to delink the $libname library..."
             cat linkit.sh >>auto/link.log
             # Redirect this link output, it may contain error messages which
             # should be ignored.
             if sh linkit.sh >>auto/link.log 2>&1; then
-              echo "link.sh: We don't need the $libname library!"
+              echo "link.sh: We don't need the $libname library for vim!"
               cat link1.sed >>auto/link.sed
               rm -f auto/pathdef.c
             else
@@ -82,7 +82,7 @@
       $MAKE objects/pathdef.o
     fi
     if test ! -f link1.sed; then
-      echo "link.sh: Linked fine, no libraries can be removed"
+      echo "link.sh: Linked fine, no libraries can be delinked"
       touch link3.sed
     fi
   else
@@ -94,12 +94,12 @@
 # Now do the real linking.
 #
 if test -s auto/link.sed; then
-  echo "link.sh: Using auto/link.sed file to remove a few libraries"
+  echo "link.sh: Using auto/link.sed file to delink a few libraries"
   sed -f auto/link.sed <link.cmd >linkit.sh
   cat linkit.sh
   if sh linkit.sh; then
     exit_value=0
-    echo "link.sh: Linked fine with a few libraries removed"
+    echo "link.sh: Linked fine with a few libraries delinked"
   else
     exit_value=$?
     echo "link.sh: Linking failed, making auto/link.sed empty and trying again"

Raspunde prin e-mail lui