Commit f1fcb6245e87b47c41f5f1ab9c535eaf9ab45273

Authored by Stéphane Raimbault
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 # -*- Autoconf -*- 1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script. 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 AC_CONFIG_SRCDIR([src/modbus.c]) 6 AC_CONFIG_SRCDIR([src/modbus.c])
7 AC_CONFIG_HEADERS([config.h]) 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 # Checks for programs. 12 # Checks for programs.
12 AC_PROG_CC 13 AC_PROG_CC
13 AC_PROG_CXX 14 AC_PROG_CXX
14 AC_PROG_MAKE_SET 15 AC_PROG_MAKE_SET
15 -AC_PROG_LIBTOOL 16 +LT_INIT([disable-static])
16 17
17 # Checks for header files. 18 # Checks for header files.
18 AC_HEADER_STDC 19 AC_HEADER_STDC
@@ -33,13 +34,12 @@ AC_CHECK_DECLS([__CYGWIN__]) @@ -33,13 +34,12 @@ AC_CHECK_DECLS([__CYGWIN__])
33 34
34 # Checks for library functions. 35 # Checks for library functions.
35 AC_FUNC_FORK 36 AC_FUNC_FORK
36 -AC_FUNC_SELECT_ARGTYPES  
37 -AC_TYPE_SIGNAL  
38 AC_CHECK_FUNCS([gettimeofday inet_ntoa memset select socket strerror]) 37 AC_CHECK_FUNCS([gettimeofday inet_ntoa memset select socket strerror])
39 38
40 -AC_OUTPUT([ 39 +AC_CONFIG_FILES([
41 Makefile 40 Makefile
42 src/Makefile 41 src/Makefile
43 tests/Makefile 42 tests/Makefile
44 modbus.pc 43 modbus.pc
45 ]) 44 ])
  45 +AC_OUTPUT