diff options
Diffstat (limited to 'libjava/aclocal.m4')
-rw-r--r-- | libjava/aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/aclocal.m4 b/libjava/aclocal.m4 index 6a2876c3b08..9004008dbd5 100644 --- a/libjava/aclocal.m4 +++ b/libjava/aclocal.m4 @@ -107,7 +107,7 @@ AC_PROVIDE([AC_PROG_CXX]) # the environment, respect that here. glibcpp_CXX=$CXX AC_CHECK_PROGS(glibcpp_CXX, $CCC c++ g++ gcc CC cxx cc++, gcc) -AC_SUBST(glibcpp_CXX) +AC_SUBST(CXX) CXX=$glibcpp_CXX test -z "$glibcpp_CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH]) |