# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.67]) AC_INIT([librs232],[2.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/rs232config.h]) AC_PROG_CC AM_PROG_CC_STDC AC_PROG_INSTALL AC_C_CONST AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB #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 termio.h dirent.h windows.h]) AC_SUBST([RS232_SO_VERSION], [2:1:0]) AC_SUBST([RS232_API_VERSION], [2.1]) # 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