Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make SG optional to the configuration and compilation process
[simgrid.git] / configure.ac
index 913d81e..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)