summaryrefslogtreecommitdiffstats
path: root/aclocal/prog-cxx.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/prog-cxx.m4')
-rw-r--r--aclocal/prog-cxx.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/prog-cxx.m4 b/aclocal/prog-cxx.m4
index d9159677b8..3755038898 100644
--- a/aclocal/prog-cxx.m4
+++ b/aclocal/prog-cxx.m4
@@ -12,7 +12,7 @@ AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
dnl Only accept g++
dnl NOTE: This might be too restrictive
-AC_CHECK_TOOL(CXX,g++)
+RTEMS_CHECK_TOOL(CXX,g++)
AC_PROG_CXX
test -z "$CXX" \
&& AC_MSG_ERROR([no acceptable c++ found in \$PATH])