Преглед на файлове

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_CHECK_PROGS(PROG_DATE,gdate date)
 AC_OPENMP
 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
 if test x$enable_perf_debug = xyes; then
     enable_shared=no
     enable_shared=no
 fi
 fi