From f8d0b344ae1b2dc3894c1a597c0565911b762742 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 19 Jan 2021 17:21:32 -0600 Subject: softdog-mon for monitoring a system using kernel module "softdog" --- configure.ac | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..5e6a888 --- /dev/null +++ b/configure.ac @@ -0,0 +1,31 @@ +AC_INIT([softdog-mon],0.1.0) +AC_CONFIG_SRCDIR([src/softdog-mon.c]) +AM_CONFIG_HEADER([config.h]) +AM_INIT_AUTOMAKE + + +AC_PROG_CC +AC_PROG_CXX +AC_PROG_INSTALL +AC_PROG_MAKE_SET + +AC_HEADER_STDC + +AC_CHECK_HEADERS([ \ +sys/types.h \ +sys/stat.h \ +sys/ioctl.h \ +linux/watchdog.h \ +fcntl.h \ +stdio.h \ +string.h \ +errno.h \ +stdlib.h \ +unistd.h \ +], [],AC_MSG_ERROR([ +required header missing])) + +AC_DEFINE([DEBUG], 0, [set to 1 to enable debug]) + +AC_OUTPUT([Makefile src/Makefile]) + -- cgit v1.2.3