I'm having problems using libtool-current on Ultrix 4.4

ltconfig re-execs ksh if it did not like the echo in the current shell
(/bin/sh in my case), and the Ultrix ksh seems to dislike doing
. /dev/null

Is the following patch the right way of solving/working around this?

/assar

Index: ltconfig.in
===================================================================
RCS file: /home/cvs/libtool/ltconfig.in,v
retrieving revision 1.270
diff -u -w -u -w -r1.270 ltconfig.in
--- ltconfig.in 2000/07/10 06:54:27     1.270
+++ ltconfig.in 2000/07/27 04:19:56
@@ -401,7 +401,9 @@
 
 if test -n "$cache_file" && test -r "$cache_file"; then
   echo "loading cache $cache_file within ltconfig"
+  if test "$cache_file" != "/dev/null"; then
   . $cache_file
+  fi
 fi
 
 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then

Reply via email to