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

configure.ac: a developer checkout may also be detected with git

Nathalie Furmento преди 12 години
родител
ревизия
b6caf4846b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1069,7 +1069,7 @@ AC_SUBST(CC_OR_MPICC, $cc_or_mpicc)
 # If the user specifically asks for it, or if we are in a developer checkout, we enable mpi check
 AC_ARG_ENABLE(mpi-check, AC_HELP_STRING([--enable-mpi-check], [Enable execution of MPI testcases]))
 running_mpi_check=no
-if test -d "$srcdir/.svn" ; then
+if test -d "$srcdir/.svn" -o -d "$srcdir/.git" ; then
     running_mpi_check=yes
 fi
 if test x$enable_mpi_check = xyes ; then