summaryrefslogtreecommitdiffstats
path: root/aclocal/check-cxx.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--aclocal/check-cxx.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/check-cxx.m4 b/aclocal/check-cxx.m4
index 997f0fbf6a..aa51596de5 100644
--- a/aclocal/check-cxx.m4
+++ b/aclocal/check-cxx.m4
@@ -8,7 +8,7 @@ AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
AC_CACHE_CHECK([whether to build rtems++],
rtems_cv_HAS_CPLUSPLUS,
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
- if test -n "$CXX_FOR_TARGET"; then
+ if test -n "$CXX"; then
rtems_cv_HAS_CPLUSPLUS="yes"
else
rtems_cv_HAS_CPLUSPLUS="no"