AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([ \
- bzero gettimeofday munmap strtoul ftruncate gethostbyname \
+ gettimeofday munmap strtoul ftruncate gethostbyname \
localtime_r memset mkdir rmdir setenv socket \
strchr strdup strerror strndup strrchr strtoull tzset \
])
AM_CONDITIONAL([BABELTRACE_BUILD_WITH_MINGW], [test "x$MINGW32" = "xyes"])
+# Check what libraries are required on this platform to link sockets programs.
+AX_LIB_SOCKET_NSL
+
# Check for libuuid
AC_CHECK_LIB([uuid], [uuid_generate],
[