From b89ff5960b7cf9a92d97fa29dd9427501bb7371b Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 2 Feb 2015 16:33:54 -0500 Subject: [PATCH] configure: missing check of functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Based on autoscan diagnostic Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 8d1ff86ad..192b6a806 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], -- 2.34.1