search for: ac8b810

Displaying 1 result from an estimated 1 matches for "ac8b810".

Did you mean: ac7b812
2012 Apr 13
1
[PATCH] libxl/build: print a pretty message if flex/bison are needed but not found
...AC_PROG_MAKE_SET AC_PROG_INSTALL +AC_PATH_PROG([BISON], [bison]) +AC_PATH_PROG([FLEX], [flex]) AX_PATH_PROG_OR_FAIL([PERL], [perl]) AS_IF([test "x$xapi" = "xy"], [ AX_PATH_PROG_OR_FAIL([CURL], [curl-config]) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index ac8b810..e8ec8e9 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -48,6 +48,18 @@ please check libxl_linux.c and libxl_netbsd.c to see how to get it ported) endif endif +ifeq ($(FLEX),) +%.c %.h:: %.l + $(error Flex is needed to compile libxl, please install it and rerun \ + configure) +...