From 760fada7269b083ce00a1f18a4fb1cbb9ab13dc7 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 4 Jan 2023 00:33:15 -0600 Subject: logging: add a close function Add a close function to close the file handle pointing at the log file. Signed-off-by: Danny Holman --- server/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/configure.ac') diff --git a/server/configure.ac b/server/configure.ac index 7f2e0d5..4309259 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 pthread.h arpa/inet.h sys/socket.h]) +AC_CHECK_HEADERS([stdio.h stdlib.h string.h pthread.h arpa/inet.h sys/socket.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