From: Jonathan Rajotte Date: Mon, 2 Feb 2015 21:33:55 +0000 (-0500) Subject: configure: missing check for needed header X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=d23e7e44f39c38535796721fac16aec7a507697f configure: missing check for needed header Based on autoscan diagnostic: autoscan: warning: missing AC_CHECK_HEADERS([arpa/inet.h]) wanted by: src/common/uri.c:21 src/common/sessiond-comm/sessiond-comm.h:38 src/bin/lttng/utils.c:28 autoscan: warning: missing AC_CHECK_HEADERS([netdb.h]) wanted by: src/common/uri.c:22 autoscan: warning: missing AC_CHECK_HEADERS([netinet/in.h]) wanted by: src/common/uri.h:21 src/common/sessiond-comm/sessiond-comm.h:39 src/bin/lttng/utils.c:27 autoscan: warning: missing AC_CHECK_HEADERS([paths.h]) wanted by: src/common/daemonize.c:22 src/bin/lttng-sessiond/main.c:25 autoscan: warning: missing AC_CHECK_HEADERS([stddef.h]) wanted by: src/common/defaults.c:20 src/common/hashtable/rculfhash-mm-chunk.c:25 src/bin/lttng-sessiond/ust-clock.h:26 autoscan: warning: missing AC_CHECK_HEADERS([sys/file.h]) wanted by: src/common/utils.c:34 autoscan: warning: missing AC_CHECK_HEADERS([sys/ioctl.h]) wanted by: src/common/kernel-ctl/kernel-ctl.c:22 autoscan: warning: missing AC_CHECK_HEADERS([sys/mount.h]) wanted by: src/bin/lttng-sessiond/main.c:33 src/bin/lttng-relayd/live.c:30 src/bin/lttng-relayd/main.c:31 autoscan: warning: missing AC_CHECK_HEADERS([sys/param.h]) wanted by: src/common/hashtable/utils.c:57 autoscan: warning: missing AC_CHECK_HEADERS([sys/time.h]) wanted by: src/common/compat/compat-poll.c:23 src/bin/lttng-sessiond/ust-clock.h:24 src/bin/lttng-sessiond/fd-limit.c:21 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index 192b6a806..5290addf2 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,9 @@ AM_CONDITIONAL([NO_SHARED], [test x$enable_shared = xno]) AC_CHECK_HEADERS([ \ sys/types.h unistd.h fcntl.h string.h pthread.h limits.h \ signal.h stdlib.h sys/un.h sys/socket.h stdlib.h stdio.h \ - getopt.h sys/ipc.h sys/shm.h popt.h grp.h \ + getopt.h sys/ipc.h sys/shm.h popt.h grp.h arpa/inet.h \ + netdb.h netinet/in.h paths.h stddef.h sys/file.h sys/ioctl.h \ + sys/mount.h sys/param.h sys/time.h ]) # Basic functions check