Commit 7a3539207c0b03296cbe69c3e84642386b30977a

Authored by Stéphane Raimbault
1 parent 0cf64c6f

Add foreign option to AM_INIT_AUTOMAKE

Avoid to create generic INSTALL file
Showing 1 changed file with 3 additions and 3 deletions
configure.ac
... ... @@ -3,9 +3,9 @@
3 3  
4 4 AC_PREREQ(2.63)
5 5 AC_INIT([libmodbus],[2.1.0],[stephane.raimbault@gmail.com])
6   -AC_CONFIG_SRCDIR([src/modbus.c])
  6 +AC_CONFIG_SRCDIR([modbus/modbus.c])
7 7 AC_CONFIG_HEADERS([config.h])
8   -AM_INIT_AUTOMAKE([1.11])
  8 +AM_INIT_AUTOMAKE([1.11 foreign])
9 9 # enable nice build output on automake1.11
10 10 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
11 11  
... ... @@ -38,7 +38,7 @@ AC_CHECK_FUNCS([gettimeofday inet_ntoa memset select socket strerror])
38 38  
39 39 AC_CONFIG_FILES([
40 40 Makefile
41   - src/Makefile
  41 + modbus/Makefile
42 42 tests/Makefile
43 43 modbus.pc
44 44 ])
... ...