From f934c195b3b89357de1052dfdcb5ce8ec6b834d0 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Tue, 13 Jun 2023 23:54:10 -0500 Subject: 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 --- server/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]) -- cgit v1.2.3