Browse Source

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

Corentin Salingue 8 years ago
parent
commit
004a354dd5
1 changed files with 1 additions and 1 deletions
  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_CHECK_PROGS(PROG_DATE,gdate date)
 AC_OPENMP
 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])
    AC_MSG_ERROR([No compiler C++ found])
 fi
 fi