[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nolink.test fails unexpectedly
From: |
Pavel Roskin |
Subject: |
nolink.test fails unexpectedly |
Date: |
Thu, 26 Jul 2001 23:32:31 -0400 (EDT) |
Hello!
nolink.test fails unexpectedly with the current CVS versions on Autoconf
and Automake on RedHat 7.1 (perl 5.6.0).
$ make check-TESTS TESTS=nolink.test VERBOSE=1
=== Running test ./nolink.test
Makefile.am:4: deprecated feature: `meal' overrides `meal$(EXEEXT)'
Makefile.am:4: change your target to read `meal$(EXEEXT)'
FAIL: nolink.test
===================
1 of 1 tests failed
===================
make: *** [check-TESTS] Error 1
The comment for nolink.test says: "Make sure Automake does not emit a link
rule for unknown languages." It looks like Automake is trying to enforce
$(EXEEXT) support for unknown languages. Maybe it's correct because of
the line "bin_PROGRAMS = meal" - programs (not scripts) are supposed to
have an extension on some systems reagrdless of the language of their
sources.
Then the following patch should be applied.
ChangeLog:
* tests/nolink.test: Use $(EXEEXT) in the targets for programs.
------------------------
--- tests/nolink.test
+++ tests/nolink.test
@@ -14,7 +14,7 @@
bin_PROGRAMS = meal
meal_SOURCES = beans.veg beef.meat
-meal: beans.veg beef.meat
+meal$(EXEEXT): beans.veg beef.meat
cat beans.veg beef.meat > meal
END
------------------------
Regards,
Pavel Roskin
- nolink.test fails unexpectedly,
Pavel Roskin <=