Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Commit for Cdash test.
[simgrid.git] / configure.ac
index 98b5b53..ea17670 100644 (file)
@@ -466,10 +466,13 @@ else
     #undef PACKAGE_STRING
     #undef PACKAGE_BUGREPORT
     #include <ruby.h>
-  ], use_ruby=yes,use_ruby=no)
+  ], use_ruby=yes,use_ruby="no (Package ruby1.8-dev missing)")
   AC_MSG_RESULT($use_ruby)
   if test "x$use_ruby" = "xyes" ; then
      AC_DEFINE(HAVE_RUBY,1, [defines whether Ruby bindings must be compiled or not])
+     SIMGRID_DEP="${SIMGRID_DEP} -lruby1.8"
+  else
+     AC_MSG_RESULT(Please install the ruby1.8-dev package (on debian and similar) to get ruby bindings)
   fi
 fi
 AC_MSG_RESULT(decide whether to compile ruby bindings... $use_ruby)