bug-libtool
[Top][All Lists]
Advanced

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

ltmain.in and ltmain.sh 1.4 patches for pic_mode not being set


From: Blair Zajac
Subject: ltmain.in and ltmain.sh 1.4 patches for pic_mode not being set
Date: Sun, 17 Jun 2001 19:09:47 -0700

The variable pic_mode is not protected in double quotes in both
ltmain.in and ltmain.sh.  On my i686-pc-linux-gnu this variable is
not being set and the test complains.

Regards,
Blair

diff -ru5 ../libtool-1.4/ltmain.in ./ltmain.in
--- ../libtool-1.4/ltmain.in    Tue Apr 24 16:10:46 2001
+++ ./ltmain.in Sun Jun 17 19:03:25 2001
@@ -457,11 +457,11 @@
     case $host_os in
     cygwin* | mingw* | pw32* | os2*)
       pic_mode=default
       ;;
     esac
-    if test $pic_mode = no && test "$deplibs_check_method" != pass_all;
then
+    if test "$pic_mode" = no && test "$deplibs_check_method" !=
pass_all; then
       # non-PIC code in shared libraries is not supported
       pic_mode=default
     fi
 
     # Calculate the filename of the output object if compiler does
diff -ru5 ../libtool-1.4/ltmain.sh ./ltmain.sh
--- ../libtool-1.4/ltmain.sh    Tue Apr 24 16:35:10 2001
+++ ./ltmain.sh Sun Jun 17 19:03:40 2001
@@ -457,11 +457,11 @@
     case $host_os in
     cygwin* | mingw* | pw32* | os2*)
       pic_mode=default
       ;;
     esac
-    if test $pic_mode = no && test "$deplibs_check_method" != pass_all;
then
+    if test "$pic_mode" = no && test "$deplibs_check_method" !=
pass_all; then
       # non-PIC code in shared libraries is not supported
       pic_mode=default
     fi
 
     # Calculate the filename of the output object if compiler does



reply via email to

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