X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d85808f8c975fe988b965ef882047be71735927..7c5b4b893f4994a61c26e794c8b8c9fc6576aea2:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index f45d083fc5..81b6ef1f9a 100644 --- a/configure.ac +++ b/configure.ac @@ -123,8 +123,10 @@ AC_SUBST([GRAS_DEP]) AM_MAINTAINER_MODE if test x$USE_MAINTAINER_MODE = xyes then - GNOME_COMPILE_WARNINGS(yes) + # Maintainers have no choice ! I'm a BOFH, and I plainly assume. [Mt] + enable_compile_warnings=yes fi +SG_COMPILE_FLAGS AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) @@ -146,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 @@ -205,7 +207,7 @@ AC_OUTPUT echo " -Configuration of package \`${PACKAGE}' on $gras_arch_name (=$gras_arch): +Configuration of package \`${PACKAGE}' (version ${VERSION}) on $gras_arch_name (=$gras_arch): Compiler: ${CC}