Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let make dist work; bump to version 0.0.1
[simgrid.git] / configure.ac
index add5810..eaa0613 100644 (file)
@@ -1,9 +1,9 @@
-AC_PREREQ(2.57)
+ AC_PREREQ(2.57)
 
 #We need a recent ACI
 ACI_PREREQ(2003.01.16)
 
-AC_INIT([GRAS],[0.0.040304],[martin.quinson@ens-lyon.fr])
+AC_INIT([GRAS],[0.0.1],[martin.quinson@ens-lyon.fr])
 AC_CONFIG_SRCDIR([src/include/gras.h])
 AC_REVISION($Revision$)
 dnl A C_CONFIG_SUBDIRS(src/nws_portability)
@@ -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)
        
@@ -82,16 +83,18 @@ AC_CONFIG_FILES([
       src/base/Tests/run_tests
         src/base/Tests/trp_tcp_usage
         src/base/Tests/trp_file_usage
-    src/modules/Makefile
     src/examples/Makefile 
       src/examples/ping/Makefile 
-      src/examples/bandwidth/Makefile src/examples/saturate/Makefile
-      src/examples/alnem/Makefile 
   doc/Makefile
 ],[( 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])
+
+#    src/modules/Makefile
+#      src/examples/bandwidth/Makefile src/examples/saturate/Makefile
+#      src/examples/alnem/Makefile 
 
 AC_OUTPUT