X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4bb08f3e8cb761d7ae0b0b187bb028d97c7e9c7f..7c5b4b893f4994a61c26e794c8b8c9fc6576aea2:/configure.ac diff --git a/configure.ac b/configure.ac index 6808431b53..81b6ef1f9a 100644 --- a/configure.ac +++ b/configure.ac @@ -148,8 +148,8 @@ AC_PROG_FLEX(2.5.30) # 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) +AC_CHECK_PROG(FLEXML,flexml,`which flexml`,NOTFOUND) +AM_CONDITIONAL(HAVE_FLEXML,test x$FLEXML != xNOTFOUND) ################### ## Makes the output