# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.67]) AC_INIT([librs232],[0.1.0],[alexis.jeandet@lpp.polytechnique.fr],[rs232],[http://www.lpp.fr]) AM_INIT_AUTOMAKE([1.10 -Wall foreign]) AC_CONFIG_MACRO_DIR([m4]) # Checks for programs. AC_CONFIG_HEADERS([src/config.h]) LT_INIT #AC_PROG_MAKE_SET # Checks for libraries. # Checks for header files. AC_CHECK_HEADERS([stdio.h string.h fcntl.h errno.h unistd.h termios.h windows.h]) AC_SUBST([RS232_SO_VERSION], [1:2:0]) AC_SUBST([RS232_API_VERSION], [1.0]) # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. AC_CONFIG_FILES([Makefile src/Makefile rs232-${RS232_API_VERSION}.pc:rs232.pc.in]) AC_OUTPUT