blob: fbb79737a8e661f7463ce1f08e80be81cca884fe (
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
32
33
|
AC_INIT([mts-io], [4.3.1])
AC_CONFIG_SRCDIR([util/mts_util_lora2_reset.c])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h])
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_HEADER_STDC
AC_CHECK_HEADERS([ \
errno.h \
fcntl.h \
getopt.h \
stdint.h \
stdio.h \
stdlib.h \
string.h \
unistd.h \
sys/ioctl.h \
sys/types.h \
sys/ioctl.h \
linux/i2c.h \
linux/i2c-dev.h \
], [],AC_MSG_ERROR([
required header missing]))
AC_DEFINE([DEBUG], 0, [set to 1 to enable debug])
AC_OUTPUT([Makefile util/Makefile])
|