浏览代码

fix -r19041 : if C++ compiler is not found, is not set

Corentin Salingue 8 年之前
父节点
当前提交
004a354dd5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -82,7 +82,7 @@ AC_CHECK_PROGS(PROG_STAT,gstat stat)
 AC_CHECK_PROGS(PROG_DATE,gdate date)
 AC_OPENMP
 
-if test x$ac_cv_env_CXX_set = x; then
+if test x$CXX = x; then
    AC_MSG_ERROR([No compiler C++ found])
 fi