Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
First steps for support to flexml within 'simgrid' ;)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 27 Jan 2005 12:28:01 +0000 (12:28 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 27 Jan 2005 12:28:01 +0000 (12:28 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@782 48e7efb5-ca39-0410-a469-dd3cf9ba447f

configure.ac

index 333990f..9c6b330 100644 (file)
@@ -70,7 +70,13 @@ AC_PROG_LEX
 if test "$LEX" != flex; then
   LEX="$SHELL $missing_dir/missing flex"
 fi
-                                                                 
+               
+# Can we rebuild the xml-lexers from the XML specification?
+# if not, simply touch the flex source files (which are distributed in
+#  tarballs even if generated by flexml) and hope for the best.
+AC_CHECK_PROG(FLEXML,flexml,,NOTFOUND)
+AM_CONDITIONAL(HAVE_FLEXML,test x$FLEXML != NOTFOUND)
+
 # Can we rebuild the documentation?
 GTK_DOC_CHECK()
 AC_SUBST([htmldir],         ['${datadir}/doc/gras/html'])dnl