]> 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)
committerSage Weil <sage@redhat.com>
Thu, 21 Aug 2014 17:57:27 +0000 (10:57 -0700)
configure.ac

index 40fa0ef78664035e40bd19852481bedc7470f275..a777bf031e6c9e6dbbe969d67709b8e420893636 100644 (file)
@@ -799,6 +799,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