]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/configure.ac
configure: check for perf_event.h version
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 28 Jul 2015 13:47:40 +0000 (15:47 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Fri, 7 Aug 2015 08:19:01 +0000 (10:19 +0200)
commit5599c404621b2d8ac021c1427aee6e8974572042
treeaf85eaa5ab37a6be42ba78d1578c46bbf0a1d89f
parent016a3251631341bf4d8fe50966d2b70f8ea69e96
configure: check for perf_event.h version

Intel(R) Processor Trace support requires a recent linux/perf_event.h header.

When GDB is built on an older system, Intel(R) Processor Trace will not be
available and there is no indication in the configure and build log as to
what went wrong.

Check for a compatible linux/perf_event.h at configure-time.

gdb/
* configure.ac: Check for PERF_ATTR_SIZE_VER5 in linux/perf_event.h
* configure: Regenerate.
gdb/ChangeLog
gdb/configure
gdb/configure.ac