]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
lttng: Check for lttng/tracepoint.h when configuring
authorAdam Crume <adamcrume@gmail.com>
Thu, 12 Jun 2014 23:27:19 +0000 (16:27 -0700)
committerAdam Crume <adamcrume@gmail.com>
Wed, 13 Aug 2014 20:58:13 +0000 (13:58 -0700)
configure.ac

index dd4ac404cb47f55fb901218d3bdea512d8713e31..8a91382defbd0aff6a2e2cc38bbce549606fefda 100644 (file)
@@ -760,6 +760,9 @@ AC_CHECK_HEADERS([linux/types.h])
 AC_CHECK_TYPES([__u8, __s8, __u16, __s16, __u32, __s32, __u64, __s64, __le16,
   __be16, __le32, __be32, __le64, __be64], [], [], [[#include <linux/types.h>]])
 
+AC_CHECK_HEADER([lttng/tracepoint.h], [],
+  AC_MSG_ERROR([lttng/tracepoint.h not found (liblttng-ust-dev)]))
+
 # Checks for typedefs, structures, and compiler characteristics.
 #AC_HEADER_STDBOOL
 #AC_C_CONST