On FC4, libtool frequently gives a warning during compilation. I determined the cause.<br>It seems that lt_sys_lib_search_path_spec has several /../'s. I can't find out where that<br>value comes from, but the following change will eliminate the problem. I also don't know
<br>where ltmain.sh came from, since svn says its not under revision control.<br><br>--- ltmain.sh~ 2005-11-22 08:18:02.000000000 -0500<br>+++ ltmain.sh 2006-05-13 15:52:13.000000000 -0400<br>@@ -2775,17 +2775,12 @@
<br> *.la)<br> dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`<br> test "X$dir" = "X$deplib" && dir="."<br>- # We need an absolute path.<br>
- case $dir in<br>- [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;<br>- *)<br>- absdir=`cd "$dir" && pwd`<br>- if test -z "$absdir"; then<br>- $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
<br>- absdir="$dir"<br>- fi<br>- ;;<br>- esac<br>+ # We need an absolute path with no /../'s.<br>+ absdir=`cd "$dir" && pwd`<br>+ if test -z "$absdir"; then
<br>+ $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2<br>+ absdir="$dir"<br>+ fi<br> if grep "^installed=no" $deplib > /dev/null; then
<br> path="$absdir/$objdir"<br> else<br><br>