[PATCH] for libtool: link: warning: ... sems to be moved
Derek Atkins
warlord at MIT.EDU
Sat May 13 17:03:12 EDT 2006
It comes from the libtool package. Indeed it's NOT under revision control,
so this patch doesn't help -- we can't patch "libtoolize". You should contact
the libtool people and get them to update it upstream.
Thank you for this work, but I'm afraid that there just isn't much we can
do with your patch at this point.
-derek
Quoting Archimedes Submerged <archimerged at gmail.com>:
> On FC4, libtool frequently gives a warning during compilation. I determined
> the cause.
> It seems that lt_sys_lib_search_path_spec has several /../'s. I can't find
> out where that
> value comes from, but the following change will eliminate the problem. I
> also don't know
> where ltmain.sh came from, since svn says its not under revision control.
>
> --- ltmain.sh~ 2005-11-22 08:18:02.000000000 -0500
> +++ ltmain.sh 2006-05-13 15:52:13.000000000 -0400
> @@ -2775,17 +2775,12 @@
> *.la)
> dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
> test "X$dir" = "X$deplib" && dir="."
> - # We need an absolute path.
> - case $dir in
> - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
> - *)
> - absdir=`cd "$dir" && pwd`
> - if test -z "$absdir"; then
> - $echo "$modename: warning: cannot determine absolute directory
> name of \`$dir'" 1>&2
> - absdir="$dir"
> - fi
> - ;;
> - esac
> + # We need an absolute path with no /../'s.
> + absdir=`cd "$dir" && pwd`
> + if test -z "$absdir"; then
> + $echo "$modename: warning: cannot determine absolute directory
> name of \`$dir'" 1>&2
> + absdir="$dir"
> + fi
> if grep "^installed=no" $deplib > /dev/null; then
> path="$absdir/$objdir"
> else
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list