Hello!

I have figured out why autoconf stopped working for me.  I'm using mktemp
that supports `-d', but it outputs a newline after the directory name.
It's mktemp-1.5-8 from RedHat 7.1.

Using "chomp" on the output fixes the problem.

Changelog:
        * autom4te.in (mktmpdir): Strip trailing newline from mktemp
        output.

-----------------------
--- autom4te.in
+++ autom4te.in
@@ -285,6 +285,7 @@
   # If mktemp supports dirs, use it.
   $tmp = `(umask 077 &&
            mktemp -d -q "$TMPDIR/${signature}XXXXXX") 2>/dev/null`;
+  chomp $tmp;

   if (!$tmp || ! -d $tmp)
     {
-----------------------

-- 
Regards,
Pavel Roskin


Reply via email to