summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2015-04-16 12:52:09 -0700
committerAndy Zhou <azhou@nicira.com>2015-04-16 14:21:05 -0700
commit9a6156bb8e8e4ae61d7a167f3a2337270e68f119 (patch)
tree72f79b1c8d4f494794d8a4458146c8dae535ca05 /configure.ac
parent212c4d5a0c6967581346076961ef9f25881b336d (diff)
downloadopenvswitch-9a6156bb8e8e4ae61d7a167f3a2337270e68f119.tar.gz
autoconf: check for linux/perf_event.h
Older Linux prior to version 2.6.32 do not support user mode performance events, They also don't have 'linux/perf_event.h' header file. Add check for those older Linux to conditionally compile perf-counter.c Reported-by: Alex Wang <alexw@nicira.com> Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Alex Wang <alexw@nicira.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8d47eb9c8..d1b48ca35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,7 @@ OVS_CHECK_PKIDIR
OVS_CHECK_RUNDIR
OVS_CHECK_DBDIR
OVS_CHECK_BACKTRACE
+OVS_CHECK_PERF_EVENT
OVS_CHECK_VALGRIND
OVS_CHECK_SOCKET_LIBS
OVS_CHECK_XENSERVER_VERSION