aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/perftool/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/perftool/configure.ac')
-rw-r--r--src/tools/perftool/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/perftool/configure.ac b/src/tools/perftool/configure.ac
new file mode 100644
index 00000000..f4a98697
--- /dev/null
+++ b/src/tools/perftool/configure.ac
@@ -0,0 +1,12 @@
+AC_INIT(perftool, 2.0)
+AM_INIT_AUTOMAKE
+AM_SILENT_RULES([yes])
+
+AC_CHECK_LIB([vppinfra], [clib_mem_get_page_size],,
+ AC_MSG_ERROR([Please install the vpp-lib package]))
+AC_CHECK_HEADER([vppinfra/clib.h],,
+ AC_MSG_ERROR([Please install the vpp-dev package]))
+
+AM_PROG_LIBTOOL
+
+AC_OUTPUT([Makefile])