blob: 5e6a88830780a63f87d2ec04354686e3ff9667a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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])
|