From: M. L. <lav...@co...> - 2000-04-03 09:39:47
|
Hi Sorry about bothering you all!! I've been porting "Mesa" library for HPUX users for sometimes now. I 've noticed when i compile the latest version of program using configure file the "pwd" in "ltconfig" and "ltmain.sh" files put my home path in the binaries. Therefore the HP usres that are going to use this binary will have problem. Have you got any suggestion please? Does it effect anything if i take the section below from "ltmain.sh"? I think that is where the problem coming from. Thanks for your advise. __Mehdi ps. Sorry I am not part of this mailing list. Could you e_mail me if you have any suggestions please. lav...@co... > for xlib in $convenience; do > # Extract the objects. > case "$xlib" in > [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; > *) xabs=`pwd`"/$xlib" ;; > esac > xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` > xdir="$gentop/$xlib" 2124a2133,2145 > $show "${rm}r $xdir" > $run ${rm}r "$xdir" > $show "mkdir $xdir" > $run mkdir "$xdir" > status=$? > if test $status -ne 0 && test ! -d "$xdir"; then > exit $status > fi > $show "(cd $xdir && $AR x $xabs)" > $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? > > libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` > done 2235a2257,2264 > for xlib in $convenience; do > # Extract the objects. > case "$xlib" in > [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; > *) xabs=`pwd`"/$xlib" ;; > esac > xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` > xdir="$gentop/$xlib" 2236a2266,2278 > $show "${rm}r $xdir" > $run ${rm}r "$xdir" > $show "mkdir $xdir" > $run mkdir "$xdir" > status=$? > if test $status -ne 0 && test ! -d "$xdir"; then > exit $status > fi > $show "(cd $xdir && $AR x $xabs)" > $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? > > reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` > done |