Skip to content

Commit

Permalink
Enabled subdir-objects in AM_INIT_AUTOMAKE
Browse files Browse the repository at this point in the history
This way we don't get annoying warnings like:

```
warning: source file '$(srcdir)/../../libutils/statistics.c' is in a subdirectory,
but option 'subdir-objects' is disabled
```

Ticket: CFE-2780
Signed-off-by: Lars Erik Wik <[email protected]>
  • Loading branch information
larsewi committed Jan 9, 2025
1 parent 39e3f9c commit 7c8e3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ m4_define(SERIAL_TESTS, m4_bmatch(AUTOMAKE_VERSION, [^1\.\([0-9]\|1[0-1]\)\(\.\|
AC_MSG_RESULT(AUTOMAKE_VERSION)


AM_INIT_AUTOMAKE([tar-ustar] SERIAL_TESTS)
AM_INIT_AUTOMAKE([tar-ustar] SERIAL_TESTS [subdir-objects])
AM_MAINTAINER_MODE([enable])

m4_divert_text([DEFAULTS], [: "${AR_FLAGS=cr}"])
Expand Down

0 comments on commit 7c8e3db

Please sign in to comment.