Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Speedup arch signature detection code; add sparc signature
[simgrid.git] / configure.ac
index add5810..b2e4de5 100644 (file)
@@ -51,7 +51,8 @@ GNOME_GTKDOC_CHECK
 
 dnl ####[ Search libs ]#######################################################
 ACI_PACKAGE_SAVED(XML,[XML library (version XML2)],xml2-config,,,:)
-ACI_PACKAGE([SimGrid],[the SimGrid simulator],[SG_init],[-lsimgrid],[simgrid.h])
+ACI_PACKAGE([SimGrid],[the SimGrid simulator],[SG_init],[-lsimgrid],[simgrid.h],,:)
+AM_CONDITIONAL(HAVE_SG,test x$HAVE_SimGrid = xyes)
 
 dnl A C_CHECK_LIB(pthread, pthread_mutex_lock)
        
@@ -91,7 +92,8 @@ AC_CONFIG_FILES([
 ],[( cd src/include ; test -e gras || ln -s . gras )
      test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
      test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
-     test -e src/base/Tests/run_tests     && chmod +x src/base/Tests/run_tests])
+     test -e src/base/Tests/run_tests     && chmod +x src/base/Tests/run_tests;
+     chmod +x src/examples/ping/test_rl; chmod +x src/examples/ping/test_sg])
 
 AC_OUTPUT