2 # Process this file with autoconf to produce a configure script.
5 AC_INIT([owTools], [0.5], [tm@tm3d.de])
7 AC_CONFIG_SRCDIR([config.h.in])
8 AC_CONFIG_HEADERS([config.h])
10 # Checks for programs.
14 # Checks for libraries.
15 # FIXME: Replace `main' with a function in `-lpthread':
16 AC_CHECK_LIB([pthread], [main])
17 # FIXME: Replace `main' with a function in `-lrt':
18 AC_CHECK_LIB([rt], [main])
19 # FIXME: Replace `main' with a function in `-lusb':
20 AC_CHECK_LIB([usb], [main])
22 # Checks for header files.
23 AC_CHECK_HEADERS([fcntl.h memory.h stdint.h stdlib.h string.h sys/ioctl.h sys/time.h termios.h unistd.h])
25 # Checks for typedefs, structures, and compiler characteristics.
36 # Checks for library functions.
38 AC_CHECK_FUNCS([gettimeofday memset select strncasecmp strstr strtol])
40 AC_CONFIG_FILES([Makefile