[lttng-dev] [PATCH lttng-tools 1/4] configure: missing check of functions

Jonathan Rajotte jonathan.rajotte-julien at efficios.com
Mon Feb 2 16:33:54 EST 2015


Based on autoscan diagnostic

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
 configure.ac | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8d1ff86..192b6a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,14 @@ AC_CHECK_HEADERS([ \
 	getopt.h sys/ipc.h sys/shm.h popt.h grp.h \
 ])
 
+# Basic functions check
+AC_CHECK_FUNCS([ \
+	atexit bzero clock_gettime dup2 fdatasync ftruncate \
+	gethostbyname gethostname getpagesize localtime_r memchr memset \
+	mkdir munmap putenv realpath rmdir socket strchr strcspn strdup \
+	strncasecmp strndup strpbrk strrchr strstr strtol strtoul \
+	strtoull \
+])
 # Babeltrace viewer check
 AC_ARG_WITH([babeltrace-bin],
 	AS_HELP_STRING([--with-babeltrace-bin],
-- 
1.9.1




More information about the lttng-dev mailing list