Commit 7a3539207c0b03296cbe69c3e84642386b30977a
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,9 +3,9 @@ | ||
| 3 | 3 | ||
| 4 | AC_PREREQ(2.63) | 4 | AC_PREREQ(2.63) |
| 5 | AC_INIT([libmodbus],[2.1.0],[stephane.raimbault@gmail.com]) | 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 | AC_CONFIG_HEADERS([config.h]) | 7 | AC_CONFIG_HEADERS([config.h]) |
| 8 | -AM_INIT_AUTOMAKE([1.11]) | 8 | +AM_INIT_AUTOMAKE([1.11 foreign]) |
| 9 | # enable nice build output on automake1.11 | 9 | # enable nice build output on automake1.11 |
| 10 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) | 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,7 +38,7 @@ AC_CHECK_FUNCS([gettimeofday inet_ntoa memset select socket strerror]) | ||
| 38 | 38 | ||
| 39 | AC_CONFIG_FILES([ | 39 | AC_CONFIG_FILES([ |
| 40 | Makefile | 40 | Makefile |
| 41 | - src/Makefile | 41 | + modbus/Makefile |
| 42 | tests/Makefile | 42 | tests/Makefile |
| 43 | modbus.pc | 43 | modbus.pc |
| 44 | ]) | 44 | ]) |