[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)


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 deprecated feature: `meal' overrides `meal$(EXEEXT)' 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

Then the following patch should be applied.

        * 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


Pavel Roskin

reply via email to

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