Here's that patch that I'd mentioned in my previous mail. I tested it
locally, and it seems to work fine..
-Madhu
$ diff -u ltmain.sh.ORG ltmain.sh
--- ltmain.sh.ORG Thu Nov 8 19:09:20 2001
+++ ltmain.sh Thu Nov 8 19:31:04 2001
@@ -4361,11 +4361,19 @@
if test "$finalize" = yes && test -z "$run"; then
tmpdir="/tmp"
test -n "$TMPDIR" && tmpdir="$TMPDIR"
- tmpdir=`mktemp -d $tmpdir/libtool-XXXXXX 2> /dev/null`
- if test $? = 0 ; then :
- else
+
+ case $host in
+ *-*-hpux*)
tmpdir="$tmpdir/libtool-$$"
- fi
+ ;;
+ *)
+ tmpdir=`mktemp -d $tmpdir/libtool-XXXXXX 2> /dev/null`
+ if test $? = 0 ; then :
+ else
+ tmpdir="$tmpdir/libtool-$$"
+ fi
+ ;;
+ esac
if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
else
$echo "$modename: error: cannot create temporary directory
\`$tmpdir'" 1>&2
$