Port: Add macro for socket linking on solaris
[lttng-tools.git] / configure.ac
index 4cefd8c90e8944c399f2123cd528f20b16d8596c..e80ccc8b43a3bf8d040472f1e1f79134d486705d 100644 (file)
@@ -66,10 +66,10 @@ AC_CHECK_HEADERS([ \
 
 # Basic functions check
 AC_CHECK_FUNCS([ \
-       atexit bzero clock_gettime dup2 fdatasync ftruncate \
+       atexit bzero clock_gettime dup2 fdatasync fls ftruncate \
        gethostbyname gethostname getpagesize localtime_r memchr memset \
        mkdir munmap putenv realpath rmdir socket strchr strcspn strdup \
-       strncasecmp strndup strpbrk strrchr strstr strtol strtoul \
+       strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul \
        strtoull \
 ])
 
@@ -362,6 +362,8 @@ else
 
 fi
 
+AX_LIB_SOCKET_NSL
+
 # Epoll check. If not present, the build will fallback on poll() API
 AX_HAVE_EPOLL(
        [AX_CONFIG_FEATURE_ENABLE(epoll)],
This page took 0.024147 seconds and 5 git commands to generate.