Commit f1fcb6245e87b47c41f5f1ab9c535eaf9ab45273
1 parent
2fc58929
Updated configure.ac with silent rules
- run autoupdate - remove some warnings - enable silent rules - bump the version to 2.1.0
Showing
1 changed file
with
8 additions
and
8 deletions
configure.ac
| 1 | 1 | # -*- Autoconf -*- |
| 2 | 2 | # Process this file with autoconf to produce a configure script. |
| 3 | 3 | |
| 4 | -AC_PREREQ(2.59) | |
| 5 | -AC_INIT(libmodbus, 2.0.3, stephane.raimbault@gmail.com) | |
| 4 | +AC_PREREQ(2.63) | |
| 5 | +AC_INIT([libmodbus],[2.1.0],[stephane.raimbault@gmail.com]) | |
| 6 | 6 | AC_CONFIG_SRCDIR([src/modbus.c]) |
| 7 | 7 | AC_CONFIG_HEADERS([config.h]) |
| 8 | -AM_INIT_AUTOMAKE | |
| 9 | -AM_DISABLE_STATIC | |
| 8 | +AM_INIT_AUTOMAKE([1.11]) | |
| 9 | +# enable nice build output on automake1.11 | |
| 10 | +m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) | |
| 10 | 11 | |
| 11 | 12 | # Checks for programs. |
| 12 | 13 | AC_PROG_CC |
| 13 | 14 | AC_PROG_CXX |
| 14 | 15 | AC_PROG_MAKE_SET |
| 15 | -AC_PROG_LIBTOOL | |
| 16 | +LT_INIT([disable-static]) | |
| 16 | 17 | |
| 17 | 18 | # Checks for header files. |
| 18 | 19 | AC_HEADER_STDC |
| ... | ... | @@ -33,13 +34,12 @@ AC_CHECK_DECLS([__CYGWIN__]) |
| 33 | 34 | |
| 34 | 35 | # Checks for library functions. |
| 35 | 36 | AC_FUNC_FORK |
| 36 | -AC_FUNC_SELECT_ARGTYPES | |
| 37 | -AC_TYPE_SIGNAL | |
| 38 | 37 | AC_CHECK_FUNCS([gettimeofday inet_ntoa memset select socket strerror]) |
| 39 | 38 | |
| 40 | -AC_OUTPUT([ | |
| 39 | +AC_CONFIG_FILES([ | |
| 41 | 40 | Makefile |
| 42 | 41 | src/Makefile |
| 43 | 42 | tests/Makefile |
| 44 | 43 | modbus.pc |
| 45 | 44 | ]) |
| 45 | +AC_OUTPUT | ... | ... |