[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix subobj9.test testsuite failure on Tru64 UNIX and IRIX 6
From: |
Rainer Orth |
Subject: |
Fix subobj9.test testsuite failure on Tru64 UNIX and IRIX 6 |
Date: |
Tue, 24 Sep 2002 22:08:10 +0200 (MEST) |
Testing current CVS automake revealed a testsuite failure on
alpha-dec-osf4.0f and mips-sgi-irix6.2 in
FAIL: subobj9.test
The test failed with
ERROR: files left in build directory after distclean:
./so_locations
make[1]: *** [distcleancheck] Error 1
This happened due to a typo in lib/am/ltlib.m4: the clean-%DIR%LTLIBRARIES
rule used unadorned $dir in a make command. make interpreted this as a
reference to $d (empty string since unset) and ir, giving
test "ir" = "$p" && dir=.;
The following patch fixes this.
Rainer
Tue Sep 24 21:07:44 2002 Rainer Orth <address@hidden>
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
command.
Index: lib/am/ltlib.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/ltlib.am,v
retrieving revision 1.25
diff -u -p -r1.25 ltlib.am
--- lib/am/ltlib.am 21 Aug 2002 11:33:58 -0000 1.25
+++ lib/am/ltlib.am 24 Sep 2002 20:01:24 -0000
@@ -82,7 +82,7 @@ clean-%DIR%LTLIBRARIES:
## directory where the shared object is created.
@list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
- test "$dir" = "$$p" && dir=.; \
+ test "$$dir" = "$$p" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
- Fix subobj9.test testsuite failure on Tru64 UNIX and IRIX 6,
Rainer Orth <=