diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..0db1568 --- /dev/null +++ b/configure.in @@ -0,0 +1,21 @@ +AC_INIT([src/eeprom_main.c]) +AM_INIT_AUTOMAKE([mts-id-eeprom], [0.0.1]) +AM_CONFIG_HEADER([config.h]) + +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_MAKE_SET + +AC_HEADER_STDC + +AC_CHECK_HEADERS([ \ +stdio.h stdlib.h unistd.h getopt.h errno.h time.h \ +ctype.h sys/types.h sys/stat.h fcntl.h stdarg.h string.h printf.h \ +stdint.h sys/ioctl.h linux/limits.h \ +], [],AC_MSG_ERROR([ +required header missing])) + +AC_DEFINE([DEBUG], 1, [set to 1 to enable debug]) + +AC_OUTPUT([Makefile src/Makefile]) + |