summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-04-09 18:21:43 -0500
committerJohn Klug <john.klug@multitech.com>2018-04-09 18:21:43 -0500
commit3c3a403e0e2c601f8610eff59ebc761fe3e4bab8 (patch)
treedd52be7616848770c8fc345f7784d74623b9fa88 /util
parent7d8928245a198ae6625e3c42f452b27b5380205c (diff)
downloadmts-io-3c3a403e0e2c601f8610eff59ebc761fe3e4bab8.tar.gz
mts-io-3c3a403e0e2c601f8610eff59ebc761fe3e4bab8.tar.bz2
mts-io-3c3a403e0e2c601f8610eff59ebc761fe3e4bab8.zip
Add autotools configure script.1.6.0
Diffstat (limited to 'util')
-rw-r--r--util/configure.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/util/configure.in b/util/configure.in
new file mode 100644
index 0000000..32a4e7f
--- /dev/null
+++ b/util/configure.in
@@ -0,0 +1,20 @@
+AC_INIT([mts_util_lora2_reset.c])
+AM_INIT_AUTOMAKE([mts-util-lora2-reset], [0.3.0])
+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])
+