X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/64b9cc0dac7b2352a9ba4851c8e0881ab85b12e1..2e904d10c3d889816d9772d5d93ea91260e5157e:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 02f4d6f533..479ea05ea8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -217,6 +217,15 @@ config_unit.c: xbt/config.c @top_srcdir@/tools/sg_unit_extractor.pl $^ simgrid_units_main.c: $(TEST_UNITS) + +else + +$(TEST_UNITS) simgrid_units_main.c: + @echo "ERROR: Test units not generated." + @echo "ERROR: If you are using a CVS checkout, configure with the --enable-maintainer-mode flag" + @echo "ERROR: If not, please report the bug to the simgrid-devel mailing list." + @exit 1 + endif ###