From: mquinson Date: Thu, 27 Jan 2005 12:28:01 +0000 (+0000) Subject: First steps for support to flexml within 'simgrid' ;) X-Git-Tag: v3.3~4568 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a4d0a9d6299cc213c74aaa47478d5b71f61fb477 First steps for support to flexml within 'simgrid' ;) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@782 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/configure.ac b/configure.ac index 333990f035..9c6b3307fd 100644 --- a/configure.ac +++ b/configure.ac @@ -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