From: Jonathan Rajotte Date: Mon, 2 Feb 2015 21:33:54 +0000 (-0500) Subject: configure: missing check of functions X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b89ff5960b7cf9a92d97fa29dd9427501bb7371b;p=lttng-tools.git configure: missing check of functions Based on autoscan diagnostic Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- 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],