shell: Add subdir-objects to AM_INIT_AUTOMAKE

I've attached a patch which adds the subdir-objects option to AM_INIT_AUTOMAKE.

For a while now when I've compiled dash I received a warning from
automake that there are source files in a subdirectory but that the
subdir-objects automake option was not supplied. I've just been adding
it myself, but I finally got around to submitting a patch. The code
still compiles for now (i'm using automake 1.15.1), but warning text
is rarely nice to see and, if the warning text is to be believed, then
the warning will eventually become an error.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Jason Bowen 2018-03-26 13:53:39 -05:00 committed by Herbert Xu
parent 46d5a7fcea
commit e695774716

View File

@ -1,5 +1,5 @@
AC_INIT(dash, 0.5.9.1)
AM_INIT_AUTOMAKE([foreign])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS(config.h)