configure.ac
30 lines
| 875 B
| application/pkix-attr-cert
|
TextLexer
r3 | # -*- Autoconf -*- | |||
# Process this file with autoconf to produce a configure script. | ||||
jeandet@PC-DE-JEANDET.lpp.polytechnique.fr
|
r5 | 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]) | ||||
r3 | # Checks for programs. | |||
yannic
|
r7 | AC_CONFIG_HEADERS([src/rs232config.h]) | ||
r3 | ||||
jeandet@PC-DE-JEANDET.lpp.polytechnique.fr
|
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. | ||||
jeandet@PC-DE-JEANDET.lpp.polytechnique.fr
|
r5 | AC_CHECK_HEADERS([stdio.h string.h fcntl.h errno.h unistd.h termios.h windows.h]) | ||
r3 | ||||
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 | ||||