From a9be7bd5e317cb726fb93ca7e145c56c4f05dcfd Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 3 Oct 2014 17:01:36 +0900 Subject: [PATCH] tests: Check if CXX is "no", not ":" * lang-c++: Check if CXX is "no", not ":". See commit e854d2c7 for the rationale. --- gettext-tools/tests/ChangeLog | 5 +++++ gettext-tools/tests/lang-c++ | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 4abb90d00..22c1a374f 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2014-10-03 Daiki Ueno + + * lang-c++: Check if CXX is "no", not ":". See commit e854d2c7 + for the rationale. + 2014-10-02 Daiki Ueno * autopoint-3: Invoke AC_CONFIG_MACRO_DIR after AC_INIT, not diff --git a/gettext-tools/tests/lang-c++ b/gettext-tools/tests/lang-c++ index eb2b4dd96..65a8a2888 100755 --- a/gettext-tools/tests/lang-c++ +++ b/gettext-tools/tests/lang-c++ @@ -6,7 +6,7 @@ # Assumes the following packages are installed: gcc g++. # Test whether a C++ compiler is found and libasprintf is built. -test "${CXX}" != ":" || { +test "${CXX}" != "no" || { echo "Skipping test: no C++ compiler found" exit 77 } -- 2.47.3