소스 검색

configure.ac: fail when no C++ compiler is found

Nathalie Furmento 9 년 전
부모
커밋
766592f653
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      configure.ac

+ 4 - 0
configure.ac

@@ -82,6 +82,10 @@ 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
+   AC_MSG_ERROR([No compiler C++ found])
+fi
+
 if test x$enable_perf_debug = xyes; then
     enable_shared=no
 fi