Hello Ralf, On Sat, Oct 14, 2006 at 07:12:53PM +0200, Ralf Wildenhues applied: > > RW> * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the > > RW> LIBOBJDIR, then we should not add a DEPDIR prefix. > > RW> * tests/pr401.test: Update test. > > RW> * tests/pr401b.test: Likewise. > > RW> * tests/pr401c.test: Likewise. > > RW> Report by Jim Meyering and Eric Blake.
I think that the patch has broken the error message in the procedure. Attached is a proposed patch. Stepan
2006-10-17 Stepan Kasal <[EMAIL PROTECTED]> * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message. Index: automake.in =================================================================== RCS file: /cvs/automake/automake/automake.in,v retrieving revision 1.1641 diff -u -r1.1641 automake.in --- automake.in 16 Oct 2006 05:24:17 -0000 1.1641 +++ automake.in 17 Oct 2006 09:57:58 -0000 @@ -2209,11 +2209,10 @@ # If LTLIBOBJS is used, we must also clear LIBOBJS (which might # be created by libtool as a side-effect of creating LTLIBOBJS). $clean_files{"\$($var)"} = MOSTLY_CLEAN if $var =~ s/^LT//; - } else { - error ("`\$($var)' cannot be used outside `$dir' if" + error ("`\$($var)' cannot be used outside `$confg_libobj_dir' if" . " `subdir-objects' is not set"); } }