summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure30
1 files changed, 30 insertions, 0 deletions
diff --git a/configure b/configure
index 120d5bf..ec31bf2 100755
--- a/configure
+++ b/configure
@@ -65,6 +65,34 @@ check_ccache()
fi
}
+check_flex()
+{
+ echo -n "[*] Checking flex ... "
+
+ if [ "x$(which flex)" == "x" ] ; then
+ echo "[NO]"
+ MISSING_DEFS=1
+ tools_remove "trafgen"
+ tools_remove "bpfc"
+ else
+ echo "[YES]"
+ fi
+}
+
+check_bison()
+{
+ echo -n "[*] Checking bison ... "
+
+ if [ "x$(which bison)" == "x" ] ; then
+ echo "[NO]"
+ MISSING_DEFS=1
+ tools_remove "trafgen"
+ tools_remove "bpfc"
+ else
+ echo "[YES]"
+ fi
+}
+
check_nacl()
{
echo -n "[*] Checking nacl ... "
@@ -511,6 +539,8 @@ if [ "$MISSING_PKG_CONFIG" == "1" ] ; then
fi
check_ccache
+check_flex
+check_bison
check_nacl
check_libnl
check_tpacket_v2
f $ tail -f make_install_pdf ... PERF_VERSION = 3.11.rc1.g9b3c2d make[2]: *** No rule to make target `user-manual.xml', needed by `user-manual.pdf'. Stop. make[1]: *** [install-pdf] Error 2 Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1374497014-2817-6-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/make')