configure.ac
27 lines
| 762 B
| application/pkix-attr-cert
|
TextLexer
r3 | # -*- Autoconf -*- | |||
# Process this file with autoconf to produce a configure script. | ||||
AC_PREREQ([2.63]) | ||||
AC_INIT([librs232], [0.1.0], [alexis.jeandet@lpp.polytechnique.fr],[rs232],[http://www.lpp.fr]) | ||||
AM_INIT_AUTOMAKE([1.10 -Wall no-define]) | ||||
# Checks for programs. | ||||
AC_CONFIG_HEADERS([config.h]) | ||||
AC_PROG_CC | ||||
AC_PROG_LIBTOOL | ||||
LT_INIT | ||||
#AC_PROG_MAKE_SET | ||||
# Checks for libraries. | ||||
# Checks for header files. | ||||
AC_CHECK_HEADERS([string.h termios.h unistd.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 | ||||