[libdvbpsi-devel] [PATCH] configure.ac: fix automake 1.14 "option 'subdir-objects' is disabled" warning

Jean-Paul Saman jpsaman at videolan.org
Tue Feb 10 11:15:06 CET 2015


On Sun, Jan 25, 2015 at 3:17 AM, Michael Ira Krufky <mkrufky at linuxtv.org>
wrote:

> Fix the following warning when using automake-1.14:
>
> automake-1.14: warning: possible forward-incompatibility.
> automake-1.14: At least a source file is in a subdirectory, but the
> 'subdir-objects'
> automake-1.14: automake option hasn't been enabled.  For now, the
> corresponding output
> automake-1.14: object file(s) will be placed in the top-level
> directory.  However,
> automake-1.14: this behaviour will change in future Automake versions:
> they will
> automake-1.14: unconditionally cause object files to be placed in the
> same subdirectory
> automake-1.14: of the corresponding sources.
> automake-1.14: You are advised to start using 'subdir-objects' option
> throughout your
> automake-1.14: project, to avoid future incompatibilities.
> src/Makefile.am:130: warning: source file 'tables/???.c' is in a
> subdirectory,
> src/Makefile.am:130: but option 'subdir-objects' is disabled
> src/Makefile.am:130: warning: source file 'tables/atsc_???.c' is in a
> subdirectory,
> src/Makefile.am:130: but option 'subdir-objects' is disabled
> src/Makefile.am:77: warning: source file 'descriptors/dr_??.c' is in a
> subdirectory,
> src/Makefile.am:77: but option 'subdir-objects' is disabled
>
> Signed-off-by: Michael Ira Krufky <mkrufky at linuxtv.org>
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 7973bf6..9778c2a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -4,7 +4,7 @@ AC_PREREQ(2.50)
>  AC_CONFIG_AUX_DIR(.auto)
>  AC_CANONICAL_SYSTEM
>
> -AM_INIT_AUTOMAKE
> +AM_INIT_AUTOMAKE([subdir-objects])
>  AC_CONFIG_HEADERS(config.h)
>  AC_CONFIG_MACRO_DIR([m4])
>

Merged, thanks.

Kind regards,

Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20150210/9ca4bab8/attachment.html>


More information about the libdvbpsi-devel mailing list