automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake-1.7.1, cygwin: python3.test fails -- patch provided


From: Charles Wilson
Subject: automake-1.7.1, cygwin: python3.test fails -- patch provided
Date: Tue, 22 Oct 2002 03:20:34 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

python does not support the '--version' option; instead it has the '-V' option. However, without an explicit stanza in defs.in for python, we use the default case which tests for $tool --version.

This patch adds the appropriate stanza to handle python -V.

2002-10-22  Charles Wilson  <address@hidden>

        * tests/defs.in: add explicit stanza for python -V

--Chuck
diff -urN -x .build -x .inst -x .sinst automake-1.7.1-orig/tests/defs.in 
automake-1.7.1/tests/defs.in
--- automake-1.7.1-orig/tests/defs.in   2002-09-30 16:10:20.000000000 -0400
+++ automake-1.7.1/tests/defs.in        2002-10-22 02:51:27.000000000 -0400
@@ -108,6 +108,11 @@
         # a configure check.
         test -n "@TEX@" || exit 77
        ;;
+      # Python doesn't support --version, it has -V
+      python)
+       echo "$me: running $tool --version"
+       ( $tool -V ) || exit 77
+       ;;
       # Generic case: the tool must support --version.
       *)
        echo "$me: running $tool --version"

reply via email to

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