diff options
author | John Klug <john.klug@multitech.com> | 2018-04-18 18:58:30 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-04-18 18:58:30 -0500 |
commit | 90d4811e95b58f5bb0124cd793e7045dc1ff6b3d (patch) | |
tree | ad35c622c298d5703647fa2faf5801cd4d00057a /util/configure.in | |
parent | fe977b4b2f96ca0de27441a0eed8198110817e88 (diff) | |
parent | 5239aa1a5133ff48fc3003bf9ffb119d1659f748 (diff) | |
download | mts-io-90d4811e95b58f5bb0124cd793e7045dc1ff6b3d.tar.gz mts-io-90d4811e95b58f5bb0124cd793e7045dc1ff6b3d.tar.bz2 mts-io-90d4811e95b58f5bb0124cd793e7045dc1ff6b3d.zip |
Merge branch 'mtcdt-2.1'
Diffstat (limited to 'util/configure.in')
-rw-r--r-- | util/configure.in | 20 |
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]) + |