[rtems commit] sptests: Fix AM_CONDITIONAL

Sebastian Huber sebh at rtems.org
Tue Apr 10 10:39:06 UTC 2018


Module:    rtems
Branch:    master
Commit:    2eaea4223f9d60a2d83630b9c60fbf79323105fb
Changeset: http://git.rtems.org/rtems/commit/?id=2eaea4223f9d60a2d83630b9c60fbf79323105fb

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr 10 12:38:10 2018 +0200

sptests: Fix AM_CONDITIONAL

Update #3382.

---

 testsuites/sptests/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am
index 3fa0dd8..f3cf737 100644
--- a/testsuites/sptests/Makefile.am
+++ b/testsuites/sptests/Makefile.am
@@ -1961,7 +1961,6 @@ sptimespec01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptimespec01) \
 	$(support_includes)
 endif
 
-if HAS_CPLUSPLUS
 if TEST_sptls01
 sp_tests += sptls01
 sp_screens += sptls01/sptls01.scn
@@ -1970,8 +1969,8 @@ sptls01_SOURCES = sptls01/init.c
 sptls01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls01) \
 	$(support_includes)
 endif
-endif
 
+if HAS_CPLUSPLUS
 if TEST_sptls02
 sp_tests += sptls02
 sp_screens += sptls02/sptls02.scn
@@ -1980,6 +1979,7 @@ sptls02_SOURCES = sptls02/init.cc
 sptls02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_sptls02) \
 	$(support_includes)
 endif
+endif
 
 if TEST_sptls03
 sp_tests += sptls03




More information about the vc mailing list