From: Philippe Proulx Date: Sat, 2 Apr 2016 20:14:17 +0000 (-0400) Subject: Fix: standardize parser/lexer building X-Git-Tag: v2.9.0-rc1~265 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=1113825053b8f8ff141ffdc375bab04f9e78932b;hp=1113825053b8f8ff141ffdc375bab04f9e78932b Fix: standardize parser/lexer building This patch makes the build system act as follows: if in Git repo: require bison/flex (configure) build parser/lexer (make, make clean) else: if bison exists: build parser (make, make clean) else: warn that bison is missing (configure) create "error" parser target in Makefile (make) do not clean parser (make clean not available) if flex exists: build lexer (make, make clean) else: warn that flex is missing (configure) create "error" lexer target in Makefile (make) do not clean lexer (make clean not available) Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau ---