libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tmpdir not set in `libtool'


From: Ralf Wildenhues
Subject: tmpdir not set in `libtool'
Date: Wed, 29 Sep 2004 13:38:12 +0200
User-agent: Mutt/1.4.1i

I need this patch in order for installation to work (tmpdir is not set
anywhere within the created `libtool' scripts).  I think this bug was
introduced somewhere during the rewriting of func_mktempdir, but I do
not know exactly where.

With this patch, as well as the patch for the quoting bug I reported and
a workaround for the unset $echo the testsuite passes on linux-gnu/x86,
albeit tested only using CVS versions of Autoconf and Automake.

Regards,
Ralf

2004-09-29  Ralf Wildenhues <address@hidden>

        * config/ltmain.in (func_mode_install): Need to set tmpdir.


Index: config/ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.in,v
retrieving revision 1.32
diff -u -r1.32 ltmain.in
--- config/ltmain.in    25 Sep 2004 13:38:53 -0000      1.32
+++ config/ltmain.in    29 Sep 2004 08:29:28 -0000
@@ -1988,7 +1988,7 @@
          outputname=
          if test "$fast_install" = no && test -n "$relink_command"; then
            if test "$finalize" = yes && test -z "$run"; then
-             func_mktempdir "${TMPDIR-/tmp}/libtool-XXXXXXXX"
+             tmpdir=`func_mktempdir "${TMPDIR-/tmp}/libtool-XXXXXXXX"`
              file=`$ECHO "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
              outputname="$tmpdir/$file"
              # Replace the output file specification.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]