configure.ac
30 lines
| 884 B
| application/pkix-attr-cert
|
TextLexer
r3 | # -*- Autoconf -*- | |||
# Process this file with autoconf to produce a configure script. | ||||
|
r5 | AC_PREREQ([2.67]) | ||
|
r26 | AC_INIT([librs232],[2.0.0],[alexis.jeandet@lpp.polytechnique.fr],[rs232],[http://www.lpp.fr]) | ||
|
r5 | AM_INIT_AUTOMAKE([1.10 -Wall foreign]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||||
r3 | # Checks for programs. | |||
|
r7 | AC_CONFIG_HEADERS([src/rs232config.h]) | ||
r3 | ||||
|
r8 | AC_PROG_CC | ||
AM_PROG_CC_STDC | ||||
AC_C_CONST | ||||
AC_LIBTOOL_WIN32_DLL | ||||
AM_PROG_LIBTOOL | ||||
#LT_INIT | ||||
r3 | #AC_PROG_MAKE_SET | |||
# Checks for libraries. | ||||
# Checks for header files. | ||||
|
r26 | AC_CHECK_HEADERS([stdio.h string.h fcntl.h errno.h unistd.h termios.h termio.h windows.h]) | ||
r3 | ||||
|
r26 | AC_SUBST([RS232_SO_VERSION], [2:0:0]) | ||
AC_SUBST([RS232_API_VERSION], [2.0]) | ||||
r3 | # 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 | ||||