diff options
author | Danny Holman <dholman@gymli.org> | 2023-06-13 23:54:10 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2023-06-13 23:54:10 -0500 |
commit | f934c195b3b89357de1052dfdcb5ce8ec6b834d0 (patch) | |
tree | 64a51436863e5bb44182f0ded524f1315803d06d /server | |
parent | 1f1176a2a86363b93fc8c28dd44bdaa8c44c0665 (diff) |
server: configure.ac: add header checks
Add several new header checks to the configure.ac file. These headers
are required for smooth operation of the C&C server.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'server')
-rw-r--r-- | server/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/configure.ac b/server/configure.ac index d975d97..4cf7128 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -9,7 +9,7 @@ AC_CONFIG_MACRO_DIR([../m4]) AM_INIT_AUTOMAKE([1.16 -Wall -Werror foreign subdir-objects]) AC_CONFIG_FILES([Makefile]) -AC_CHECK_HEADERS([stdio.h stdlib.h string.h stdarg.h pthread.h arpa/inet.h sys/socket.h time.h], [], AC_MSG_ERROR([missing required headers])) +AC_CHECK_HEADERS([signal.h stdio.h stdlib.h string.h stdarg.h pthread.h poll.h fcntl.h arpa/inet.h sys/socket.h time.h], [], AC_MSG_ERROR([missing required headers])) AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS+=" -Wall"]) AX_CHECK_COMPILE_FLAG([-Wextra], [CFLAGS+= "-Wextra"]) |