Configure: add missing check for used funcs
[babeltrace.git] / configure.ac
index 413ba7454aa681bb885b8a733836a497c154248d..ac6ee14affb76e4a0e2809eac480c4292d368da1 100644 (file)
@@ -47,6 +47,10 @@ if test ! -f "$srcdir/formats/ctf/metadata/ctf-lexer.c"; then
                 AC_MSG_ERROR([[flex not found and is required when building from git.
                 Please install flex]])
         fi
+        AC_PATH_PROG([FLEX],[flex])
+        AX_PROG_FLEX_VERSION([2.5.35], [],[
+                AC_MSG_ERROR([[Flex >= 2.5.35 is required when building from git]])
+        ])
 fi
 
 
@@ -60,7 +64,11 @@ AC_TYPE_SIZE_T
 # Checks for library functions.
 AC_FUNC_MALLOC
 AC_FUNC_MMAP
-AC_CHECK_FUNCS([bzero gettimeofday munmap strtoul])
+AC_CHECK_FUNCS([ \
+       bzero gettimeofday munmap strtoul ftruncate gethostbyname \
+       localtime_r memset mkdir rmdir setenv socket \
+       strchr strdup strerror strndup strrchr strtoull tzset \
+])
 
 # Check for MinGW32.
 MINGW32=no
This page took 0.02354 seconds and 4 git commands to generate.