configure.ac (718B)
1 # -*- Autoconf -*- 2 # Process this file with autoconf to produce a configure script. 3 4 AC_PREREQ([2.68]) 5 AC_INIT(MySmartUSB MK3 Interface, 0.0.0, das1993@hotmail.com) 6 AM_INIT_AUTOMAKE 7 AM_MAINTAINER_MODE([disable]) 8 AC_CONFIG_SRCDIR([src/msif.c]) 9 AC_CONFIG_HEADERS([include/config.h]) 10 11 # Checks for programs. 12 AC_PROG_CC 13 14 # Checks for libraries. 15 16 # Checks for header files. 17 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h termios.h unistd.h]) 18 19 # Checks for typedefs, structures, and compiler characteristics. 20 21 # Checks for library functions. 22 AC_FUNC_MALLOC 23 AC_FUNC_REALLOC 24 AC_CHECK_FUNCS([strerror]) 25 26 AC_CONFIG_FILES([Makefile 27 src/Makefile]) 28 AC_OUTPUT